From c64902c381f6bedf6c1780f692eb7ca74e92815f Mon Sep 17 00:00:00 2001 From: Marco Date: Wed, 26 Aug 2026 15:04:03 +0000 Subject: [PATCH] Rename /lebensuhr to /7-tage-klarheits-check, update CTA/content copy Renames the route, its canonical/OG metadata, Navbar's active-route list, and the testimonials page filter to match. Also updates CTA copy ("Klarheits-Check starten"), the "So funktioniert" heading, the "3. Umsetzen" step text, and the breadcrumb label. --- .../components/EmailCapture.tsx | 2 +- app/{lebensuhr => 7-tage-klarheits-check}/page.tsx | 14 +++++++------- app/components/Hero.tsx | 2 +- app/components/Navbar.tsx | 2 +- app/lib/payload.ts | 4 ++-- 5 files changed, 12 insertions(+), 12 deletions(-) rename app/{lebensuhr => 7-tage-klarheits-check}/components/EmailCapture.tsx (97%) rename app/{lebensuhr => 7-tage-klarheits-check}/page.tsx (97%) diff --git a/app/lebensuhr/components/EmailCapture.tsx b/app/7-tage-klarheits-check/components/EmailCapture.tsx similarity index 97% rename from app/lebensuhr/components/EmailCapture.tsx rename to app/7-tage-klarheits-check/components/EmailCapture.tsx index 1fe5718..bafbbae 100644 --- a/app/lebensuhr/components/EmailCapture.tsx +++ b/app/7-tage-klarheits-check/components/EmailCapture.tsx @@ -12,7 +12,7 @@ function LockIcon() { ); } -export function EmailCapture({ buttonLabel = "Challenge starten" }: { buttonLabel?: string }) { +export function EmailCapture({ buttonLabel = "Klarheits-Check starten" }: { buttonLabel?: string }) { const { email, emailError, consent, handleConsentChange, status, error, successMessage, emailRef, handleEmailChange, handleEmailBlur, handleSubmit } = useNewsletterSignup("challenge"); diff --git a/app/lebensuhr/page.tsx b/app/7-tage-klarheits-check/page.tsx similarity index 97% rename from app/lebensuhr/page.tsx rename to app/7-tage-klarheits-check/page.tsx index bd95507..5f966fc 100644 --- a/app/lebensuhr/page.tsx +++ b/app/7-tage-klarheits-check/page.tsx @@ -18,12 +18,12 @@ export const metadata: Metadata = { title, description, alternates: { - canonical: "/lebensuhr", + canonical: "/7-tage-klarheits-check", }, openGraph: { title, description, - url: "/lebensuhr", + url: "/7-tage-klarheits-check", images: ["/blog-featured.jpg"], }, twitter: { @@ -98,7 +98,7 @@ const steps = [ { icon: , title: "3. Umsetzen", - desc: "Setze die einfache Aufgabe in wenigen Minuten um – für mehr Klarheit und Fokus.", + desc: "Gehe die einfachen Gedankenanstöße in wenigen Minuten durch – für mehr Klarheit und Fokus", }, { icon: , @@ -117,7 +117,7 @@ const benefits = [ export default async function ChallengePage() { const { isEnabled: isPreview } = await draftMode(); - const testimonials = await getTestimonials("challenge", { draft: isPreview }); + const testimonials = await getTestimonials("klarheits-check", { draft: isPreview }); return ( <> @@ -152,7 +152,7 @@ export default async function ChallengePage() { Werkzeuge - Lebensuhr + 7-Tage-Klarheits-Check

{/* Everything else — centered in the remaining vertical space, @@ -227,7 +227,7 @@ export default async function ChallengePage() { className="font-semibold text-[#222221]" style={{ fontFamily: "var(--font-lora)", fontSize: "clamp(1.5rem, 3vw, 2rem)" }} > - So funktioniert die Challenge + So funktioniert der Check

Jeden Tag ein Impuls. In nur wenigen Minuten.

@@ -345,7 +345,7 @@ export default async function ChallengePage() { className="font-semibold text-[#222221] leading-normal" style={{ fontFamily: "var(--font-lora)", fontSize: "clamp(1.125rem, 2vw, 1.375rem)" }} > - Starte jetzt deine 7-Tage-Challenge + Starte jetzt deine 7 Tage Klarheit

Trage dich ein und erhalte ab sofort täglich einen Impuls für mehr Klarheit und Fokus. diff --git a/app/components/Hero.tsx b/app/components/Hero.tsx index 2e01962..630317b 100644 --- a/app/components/Hero.tsx +++ b/app/components/Hero.tsx @@ -103,7 +103,7 @@ export function Hero() { image/banner above it on true Mobile), left-aligned with the rest of the text column again from sm: up. */} {/* Letting this wrap to two lines below lg: (tried 2026-07-24) diff --git a/app/components/Navbar.tsx b/app/components/Navbar.tsx index 9016f9f..768c799 100644 --- a/app/components/Navbar.tsx +++ b/app/components/Navbar.tsx @@ -63,7 +63,7 @@ function getNavLinks(singleActiveProduct: boolean) { // /der-eine and /tasse-die-pause (both bespoke product detail pages, same // "own route, not nested" shape as /todo-cards) added here for the same // reason (2026-08-25). -const WERKZEUGE_ROUTES = ["/todo-cards", "/lebensuhr", "/newsletter", "/der-eine", "/tasse-die-pause"]; +const WERKZEUGE_ROUTES = ["/todo-cards", "/7-tage-klarheits-check", "/newsletter", "/der-eine", "/tasse-die-pause"]; function isNavLinkActive(href: string, pathname: string, activeSection: string): boolean { if (href === "#werkzeuge") { diff --git a/app/lib/payload.ts b/app/lib/payload.ts index f60867e..48526da 100644 --- a/app/lib/payload.ts +++ b/app/lib/payload.ts @@ -817,7 +817,7 @@ export async function getWerkzeugeCards(): Promise { })); } -export type TestimonialsPage = "todo-cards" | "newsletter" | "challenge" | "der-eine"; +export type TestimonialsPage = "todo-cards" | "newsletter" | "klarheits-check" | "der-eine"; export type Testimonial = { id: number; quote: string; name: string; role: string; avatar: string }; @@ -842,7 +842,7 @@ export function mapPayloadTestimonial(doc: PayloadTestimonial): Testimonial { } // Powers the identically-styled customer testimonial grids on /todo-cards, -// /newsletter, /challenge, and /der-eine (see TestimonialsGrid.tsx) — +// /newsletter, /7-tage-klarheits-check, and /der-eine (see TestimonialsGrid.tsx) — // previously hardcoded arrays kept manually in sync. The single-quote // "photo band" testimonials on /not-found and /bestellbestaetigung are a // different shape (no avatar/role) and are not part of this collection.