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>
Bypass broken contracts client navigation filter (queries non-existent
'type' field) with direct fetch to /api/navigations. Transform CMS
mainMenu structure (page/custom/submenu types) into NavItem format.
Replace JS-state dropdown (AnimatePresence) with pure CSS group-hover
to fix SSR hydration issues where both dropdowns opened simultaneously.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Fix tenant ID (1→4) to match CMS content
- Change homepage slug from "home" to "startseite"
- Add ISR with 60s revalidation for automatic content updates
- Create Lexical JSON→HTML renderer for rich text blocks
- Wire up dynamic favicon from CMS site-settings
- Adjust hero block: responsive font sizes, left-aligned layout,
subline field support
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Tailwind v4 theme config with Definity colors (accent #2CAADF, dark #111)
- Montserrat + Open Sans font setup via next/font/google
- UI components: Button (6 variants), Container, SectionHeader
- Navigation with transparent-to-solid scroll behavior
- Footer with social links, widgets, copyright bar
- Block components: Hero, Text, CardGrid, Quote, ImageText, CTA,
ContactForm, Timeline, Divider
- Typography system with prose styles for rich text
- Animation library with framer-motion variants
- Page transitions via template.tsx
- cn() utility (clsx + tailwind-merge)
- Updated API layer with getSocialLinks
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>