"use client" import { AnimatePresence, motion } from "motion/react" import { useState } from "react" import { ArrowUpRightIcon, CheckIcon, MoveHorizontalIcon } from "lucide-react" import { cn } from "@/lib/utils" import type { TemplateProps } from "../../lib/types" import { DemoForm } from "../shared/demo-form" import { TField, TSelect } from "../shared/fields" import { splitList } from "../shared/hooks" import { TImage } from "../shared/media" import { Counter, Marquee, Reveal, RevealWords, ease, useScrollNav, wordmarkSize } from "../shared/motion" import { TemplateShell } from "../shared/shell" import { fitness, type FitnessData } from "./definition" import { fonts } from "./fonts" const em = "text-t-accent" const container = "mx-auto w-full max-w-[1440px] px-5 md:px-10" const display = "font-t-display uppercase tracking-[-0.02em]" const DAYS = ["Mo", "Di", "Mi", "Do", "Fr", "Sa", "So"] function Eyebrow({ children }: { children: string }) { return

— {children}

} function SkewButton({ href, children, ghost }: { href: string; children: string; ghost?: boolean }) { return ( {children} ) } export function FitnessTemplate({ content }: TemplateProps) { const { brand, hero, stats, marquee, programs, classes, transformation, pricing, coaches, trial } = content.data const show = (key: string) => !content.hidden.includes(key) const links = [ { href: "#training", label: "Training", visible: show("programs") }, { href: "#kurse", label: "Kursplan", visible: show("classes") }, { href: "#preise", label: "Preise", visible: show("pricing") }, { href: "#team", label: "Coaches", visible: show("coaches") }, ].filter((link) => link.visible) return (