fix: update navigation fallback items to match current CMS structure

Updated hardcoded fallback navigation in layout.tsx and Footer.tsx to reflect
the current 5-item CMS navigation including Whistleblowing/Unternehmer submenus.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
CCS Admin 2026-02-17 11:07:48 +00:00
parent 055d427ce8
commit f288c512dd
2 changed files with 21 additions and 5 deletions

View file

@ -81,9 +81,24 @@ export default async function RootLayout({
} }
}) })
: [ : [
{ label: 'Home', href: '/' }, { label: 'Startseite', href: '/' },
{ label: 'Der Mensch', href: '/mensch' }, { label: 'Mensch', href: '/mensch' },
{ label: 'Whistleblowing', href: '/whistleblowing' }, {
label: 'Whistleblowing',
href: '#',
children: [
{ label: 'Zytoskandal', href: '/zytoskandal' },
{ label: 'Whistleblowing', href: '/whistleblowing' },
],
},
{
label: 'Unternehmer',
href: '#',
children: [
{ label: 'complex care solutions', href: '/complex-care-solutions' },
{ label: 'gunshin Holding', href: '/gunshin-holding' },
],
},
{ label: 'Kontakt', href: '/kontakt' }, { label: 'Kontakt', href: '/kontakt' },
] ]

View file

@ -99,9 +99,10 @@ export function Footer({ socialLinks = [], contact }: FooterProps) {
</h4> </h4>
<ul className="list-none p-0 m-0 space-y-2"> <ul className="list-none p-0 m-0 space-y-2">
{[ {[
{ label: 'Home', href: '/' }, { label: 'Startseite', href: '/' },
{ label: 'Der Mensch', href: '/mensch' }, { label: 'Mensch', href: '/mensch' },
{ label: 'Whistleblowing', href: '/whistleblowing' }, { label: 'Whistleblowing', href: '/whistleblowing' },
{ label: 'Unternehmer', href: '/complexcaresolutions' },
{ label: 'Kontakt', href: '/kontakt' }, { label: 'Kontakt', href: '/kontakt' },
].map((link) => ( ].map((link) => (
<li key={link.href}> <li key={link.href}>