update
This commit is contained in:
1 parent
8757431c79
commit
b2a409e6b7
14 files changed
+286
-175
No files matched your search
@@ -5,17 +5,23 @@ import {
|
||||
ClockIcon,
|
||||
} from "@phosphor-icons/react/dist/ssr";
|
||||
|
||||
export type ContactInfo = {
|
||||
export type CompanyContactKey = "phone" | "email" | "openingHours";
|
||||
|
||||
export type CompanyContactItem = {
|
||||
type: "company";
|
||||
contactKey: CompanyContactKey;
|
||||
icon: ElementType;
|
||||
};
|
||||
|
||||
export type StaticContactItem = {
|
||||
type: "static";
|
||||
icon: ElementType;
|
||||
label: string;
|
||||
href?: string;
|
||||
obfuscated?: {
|
||||
user?: string;
|
||||
domain?: string;
|
||||
tel?: string;
|
||||
};
|
||||
};
|
||||
|
||||
export type ContactInfo = CompanyContactItem | StaticContactItem;
|
||||
|
||||
export type ContactCtaData = {
|
||||
heading: string;
|
||||
lead: string;
|
||||
@@ -31,18 +37,19 @@ export const contactCtaData: ContactCtaData = {
|
||||
buttonHref: "/kontakt",
|
||||
contacts: [
|
||||
{
|
||||
type: "company",
|
||||
contactKey: "phone",
|
||||
icon: PhoneIcon,
|
||||
label: "0172 621 0606",
|
||||
obfuscated: { tel: "01726210606" },
|
||||
},
|
||||
{
|
||||
type: "company",
|
||||
contactKey: "email",
|
||||
icon: EnvelopeSimpleIcon,
|
||||
label: "info@basiclean.de",
|
||||
obfuscated: { user: "info", domain: "basiclean.de" },
|
||||
},
|
||||
{
|
||||
type: "company",
|
||||
contactKey: "openingHours",
|
||||
icon: ClockIcon,
|
||||
label: "Mo. - Fr. 08:00 - 17:00 Uhr",
|
||||
},
|
||||
],
|
||||
};
|
||||
Reference in new issue
Block a user