import type { ReactNode } from "react"; import { cn } from "@/lib/utils"; import { chrome as chromeDe, type Chrome } from "@/content/chrome"; import { TransitionLink } from "@/components/motion/TransitionLink"; export interface WordmarkProps { size?: "nav" | "footer"; href?: string; className?: string; /** Optional monogram rendered before the name (header 28 px, footer 40 px). */ mark?: ReactNode; /** Texte der Hülle. Ohne Angabe die deutsche Fassung. */ chrome?: Chrome; } /** * HTML wordmark: ANELIA WOLF (Jost 300, ls .32em) over a gold hairline and the * sub-line. One `` with aria-label „Anelia Wolf – Startseite“. * Nav: 1.0625rem, name only – rule and sub-line are the footer's job (the * header row has no width to spare between 1024 and 1440). Footer: fluid * 20–44 px name, sub-line gold at 0.45em / 0.18em tracking (spec §3.2: the * sub never out-tracks the name). */ export function Wordmark({ size = "nav", href = "/", className, mark, chrome = chromeDe }: WordmarkProps) { const footer = size === "footer"; return ( {mark && ( )} {chrome.wordmark.name} ); } export default Wordmark;