- Fix 1: FamilyGuardPromo.tsx - change anchor to Link with /#contact for proper routing from /privatkunden
- Fix 2: Header.tsx - change nav breakpoints from md: to lg: to prevent cramping with 7 nav links
- Fix 3: Already correct - no extra blank lines in PaperlessSection.tsx or DataSovereignty.tsx
- Fix 4: geschaeftskunden/page.tsx - use Link instead of anchor for consistency
- Fix 5: CLAUDE.md - add privatkunden/ and geschaeftskunden/ routes, update page structure documentation
Tests: npx tsc --noEmit (no errors), npm run build (success)
The "Jetzt beraten lassen" CTA in the VPN box used a bare #contact
hash fragment, which does nothing on the standalone /geschaeftskunden
route (no id="contact" element there). Changed to /#contact per the
global CTA-link constraint from the restructuring plan.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
9 Tasks: neue Landingpages /privatkunden und /geschaeftskunden, /pakete
als Weiche, Header-Navigation aufgeteilt, Startseite entschlackt.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Plant klare Trennung Privat-/Geschaeftskunden ueber neue Landingpages
sowie eine gestraffte Startseite ohne wiederholte Sektionen.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
9 Tasks: neue Landingpages /privatkunden und /geschaeftskunden, /pakete
als Weiche, Header-Navigation aufgeteilt, Startseite entschlackt.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Plant klare Trennung Privat-/Geschaeftskunden ueber neue Landingpages
sowie eine gestraffte Startseite ohne wiederholte Sektionen.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Zeigt beispielhaft, wie die monatliche FamilyGuard-Report-E-Mail aussieht
(Stat-Kacheln + Balkendiagramm der letzten 6 Monate), direkt nach dem
Report-Angebot platziert.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LhY1QhDXGWfyhrxaJvfpNt
Fixes an XFF-spoofing bypass of the flyer rate limiter (leftmost entry is
attacker-controlled, not proxy-verified) and adds a second rate-limit
dimension keyed on the submitted email so spamming one address still gets
blocked even if IP-based limiting is ever defeated. Also bounds the
in-memory rate-limit Map via a call-count-triggered sweep.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LhY1QhDXGWfyhrxaJvfpNt
Adds an in-memory, IP-based fixed-window rate limit (max 3 req/hour)
to app/api/familyguard-flyer/route.ts to mitigate an email-spam/abuse
vector where any client could trigger outbound emails and DB inserts
with no limit. Also guards against a non-string `email` field in the
request body, which previously threw an uncaught TypeError (HTTP 500)
instead of the intended 400 validation response.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LhY1QhDXGWfyhrxaJvfpNt
Creates POST /api/familyguard-flyer endpoint that validates email format
and DSGVO consent, records download intent in Supabase flyer_downloads table,
and sends notification and download link emails (fire-and-forget) before
returning the flyer download URL.
Implements Task 4 of 7-task email-gated flyer download feature.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LhY1QhDXGWfyhrxaJvfpNt
Add /pakete/familyguard detail page mirroring the VPN page pattern,
list it as the first tile on /pakete (before Nextcloud + Paperless-ngx),
and promote it with a new section directly below the hero on the homepage.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>