diff --git a/app/[locale]/layout.tsx b/app/[locale]/layout.tsx index 55283ab4a..550b495ec 100644 --- a/app/[locale]/layout.tsx +++ b/app/[locale]/layout.tsx @@ -92,12 +92,13 @@ export default async function Layout(props: { url: `/${safeLocale}/${await mapFileSlugToTranslated('ueber-uns', safeLocale)}`, children: [ { label: safeLocale === 'de' ? 'Firma' : 'Company', url: `/${safeLocale}/${await mapFileSlugToTranslated('ueber-uns', safeLocale)}` }, - { label: safeLocale === 'de' ? 'Standorte Übersicht' : 'Locations Overview', url: `/${safeLocale}/standorte` }, - { label: 'Standort Guben', url: `/${safeLocale}/standorte/guben` }, - { label: 'Standort Kirchheilingen', url: `/${safeLocale}/standorte/kirchheilingen` }, - { label: 'Standort Bülstedt', url: `/${safeLocale}/standorte/buelstedt` }, { label: safeLocale === 'de' ? 'Unser Team' : 'Our Team', url: `/${safeLocale}/team` }, - { label: safeLocale === 'de' ? 'Zertifikate' : 'Certificates', url: `/${safeLocale}/zertifikate` } + { label: safeLocale === 'de' ? 'Zertifikate' : 'Certificates', url: `/${safeLocale}/zertifikate` }, + { label: safeLocale === 'de' ? 'Standorte' : 'Locations', url: '#', isGroupLabel: true }, + { label: safeLocale === 'de' ? 'Alle Standorte' : 'Locations Overview', url: `/${safeLocale}/standorte` }, + { label: 'Guben (HQ)', url: `/${safeLocale}/standorte/guben` }, + { label: 'Kirchheilingen', url: `/${safeLocale}/standorte/kirchheilingen` }, + { label: 'Bülstedt', url: `/${safeLocale}/standorte/buelstedt` } ] }, { diff --git a/app/[locale]/standorte/[slug]/page.tsx b/app/[locale]/standorte/[slug]/page.tsx index f1f2dff72..ab7f6df22 100644 --- a/app/[locale]/standorte/[slug]/page.tsx +++ b/app/[locale]/standorte/[slug]/page.tsx @@ -1,4 +1,4 @@ -import { Container } from '@/components/ui'; +import { Container, Badge, Heading } from '@/components/ui'; import { getTranslations, setRequestLocale } from 'next-intl/server'; import { Metadata } from 'next'; import { notFound } from 'next/navigation'; @@ -63,21 +63,29 @@ export default async function StandortDetail(props: { params: Promise<{ locale: } return ( -
- {standort.description[safeLocale]} -
++ {standort.description[safeLocale]} +
+