# Fix Menu Navigation on Impressum Page **Task ID:** 006 **Date Created:** 2025-07-03 **Author:** Gemini --- ## Task Description When navigating from the impressum page, the menu links for "Programm", "Infos", and "Kontakt" were incorrectly trying to find the anchor on the impressum page itself, leading to a broken navigation experience. This task fixes the navigation to correctly direct to the main page and then scroll to the respective sections. --- ## Instructions - Modify `src/components/layout/Header.tsx`. - Prepend a `/` to the `href` attributes for the "Programm", "Infos", and "Kontakt" links to ensure they always navigate to the root path before attempting to scroll to the anchor. - Run the linter to check for any new issues. --- ## Input Data - `src/components/layout/Header.tsx`: The header component containing the navigation links. --- ## Expected Output - Clicking on "Programm", "Infos", or "Kontakt" from the impressum page should navigate to the main page and then scroll to the corresponding section. - No linting errors should be introduced. --- ## Constraints & Requirements - The changes must ensure correct navigation behavior from all pages. - The `Link` component from `next/link` should be used appropriately. --- ## System Instructions (Optional) > You are an expert assistant. Follow the instructions precisely and provide clear, concise answers. --- ## References (Optional) - `src/components/layout/Header.tsx` - `ai_docs/images/failure_navigation.png` --- ## Metadata | Key | Value | |-----------------|------------------| | Priority | High | | Status | Completed | | Tags | navigation, bugfix, impressum | ---