build
All checks were successful
Build & Deploy KLZ Cables / build-and-deploy (push) Successful in 4m45s
All checks were successful
Build & Deploy KLZ Cables / build-and-deploy (push) Successful in 4m45s
This commit is contained in:
@@ -3,8 +3,8 @@ export const SITE_URL = 'https://klz-cables.com';
|
|||||||
export const LOGO_URL = `${SITE_URL}/logo.png`;
|
export const LOGO_URL = `${SITE_URL}/logo.png`;
|
||||||
|
|
||||||
export const getOrganizationSchema = () => ({
|
export const getOrganizationSchema = () => ({
|
||||||
'@context': 'https://schema.org',
|
'@context': 'https://schema.org' as const,
|
||||||
'@type': 'Organization',
|
'@type': 'Organization' as const,
|
||||||
name: 'KLZ Cables',
|
name: 'KLZ Cables',
|
||||||
url: SITE_URL,
|
url: SITE_URL,
|
||||||
logo: LOGO_URL,
|
logo: LOGO_URL,
|
||||||
@@ -12,19 +12,19 @@ export const getOrganizationSchema = () => ({
|
|||||||
'https://www.linkedin.com/company/klz-cables',
|
'https://www.linkedin.com/company/klz-cables',
|
||||||
],
|
],
|
||||||
contactPoint: {
|
contactPoint: {
|
||||||
'@type': 'ContactPoint',
|
'@type': 'ContactPoint' as const,
|
||||||
telephone: '+49-881-92537298',
|
telephone: '+49-881-92537298',
|
||||||
contactType: 'customer service',
|
contactType: 'customer service' as const,
|
||||||
email: 'info@klz-cables.com',
|
email: 'info@klz-cables.com',
|
||||||
availableLanguage: ['German', 'English']
|
availableLanguage: ['German', 'English']
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
export const getBreadcrumbSchema = (items: { name: string; item: string }[]) => ({
|
export const getBreadcrumbSchema = (items: { name: string; item: string }[]) => ({
|
||||||
'@context': 'https://schema.org',
|
'@context': 'https://schema.org' as const,
|
||||||
'@type': 'BreadcrumbList',
|
'@type': 'BreadcrumbList' as const,
|
||||||
itemListElement: items.map((item, index) => ({
|
itemListElement: items.map((item, index) => ({
|
||||||
'@type': 'ListItem',
|
'@type': 'ListItem' as const,
|
||||||
position: index + 1,
|
position: index + 1,
|
||||||
name: item.name,
|
name: item.name,
|
||||||
item: item.item.startsWith('http') ? item.item : `${SITE_URL}${item.item}`,
|
item: item.item.startsWith('http') ? item.item : `${SITE_URL}${item.item}`,
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user