Files
Dev-Landing/backlog/tasks/task-4 - Add-legal-footer-and-pages.md
Matthias Meister 3440508bac Refactor footer component and integrate into landing page
- Remove unnecessary elements and simplify the footer layout
- Update copyright notice and styling for consistency
- Add Footer27 component to the landing page
- Enhance tests to verify footer rendering and legal links
2026-05-06 22:06:43 +02:00

2.1 KiB

id, title, status, assignee, created_date, updated_date, labels, dependencies, modified_files, priority
id title status assignee created_date updated_date labels dependencies modified_files priority
TASK-4 Add legal footer and pages In Progress
2026-05-06 19:43 2026-05-06 19:51
src/pages/index.astro
src/components/footer27.tsx
src/pages/impressum.astro
src/pages/datenschutz.astro
tests/landing-content.test.mjs
high

Description

Bind the existing footer into the landing page and add real Impressum and Datenschutz routes so the legal links resolve correctly.

Acceptance Criteria

  • #1 Landing page renders the footer component below the main landing content
  • #2 Footer links point to /impressum and /datenschutz
  • #3 /impressum contains the provided business and VAT ID information
  • #4 /datenschutz states that no cookies are used and documents the current Rybbit analytics usage
  • #5 Automated content tests and Astro build pass

Implementation Plan

  1. Add failing content tests for footer rendering and legal pages
  2. Implement footer wiring and legal Astro pages
  3. Run automated tests and build
  4. Check off verified acceptance criteria and leave task In Progress for user confirmation

Implementation Notes

Implemented footer rendering on the landing page and added /impressum plus /datenschutz Astro routes.

Verified with node --test tests/*.mjs and env CI=true pnpm build. The first sandboxed build attempt failed because pnpm needed network access to recreate node_modules; the escalated build completed successfully.

Task remains In Progress pending explicit user confirmation before moving to Done.

Adjusted footer per visual feedback: removed the CTA/contact block and kept only the compact copyright, analytics note, Impressum, and Datenschutz row. Footer now uses the same horizontal page padding as the landing sections instead of max-w-6xl centering.

Re-verified after the footer adjustment with node --test tests/*.mjs and env CI=true pnpm build.