update
This commit is contained in:
1 parent
8757431c79
commit
b2a409e6b7
14 files changed
+286
-175
No files matched your search
@@ -0,0 +1,18 @@
|
||||
export const companyData = {
|
||||
name: "Basiclean",
|
||||
legalName: "Basiclean",
|
||||
slogan: "Wo Sauberkeit Standard ist",
|
||||
contact: {
|
||||
email: {
|
||||
user: "info",
|
||||
domain: "basiclean.de",
|
||||
},
|
||||
phone: {
|
||||
display: "0172 621 0606",
|
||||
value: "+491726210606",
|
||||
},
|
||||
openingHours: {
|
||||
display: "Mo. - Fr. 08:00 - 17:00 Uhr",
|
||||
},
|
||||
},
|
||||
} as const;
|
||||
@@ -0,0 +1,17 @@
|
||||
import { companyData } from "./companyData";
|
||||
|
||||
export function getCompanyEmail() {
|
||||
return `${companyData.contact.email.user}@${companyData.contact.email.domain}`;
|
||||
}
|
||||
|
||||
export function getCompanyEmailHref() {
|
||||
return `mailto:${getCompanyEmail()}`;
|
||||
}
|
||||
|
||||
export function getCompanyPhoneDisplay() {
|
||||
return companyData.contact.phone.display;
|
||||
}
|
||||
|
||||
export function getCompanyPhoneHref() {
|
||||
return `tel:${companyData.contact.phone.value}`;
|
||||
}
|
||||
Reference in new issue
Block a user