import Link from "next/link";
import { site } from "@/content/site";
import { cn } from "@/lib/utils";
/** One arrow before “Tickets” — avoids the old “→ Tickets →” double-arrow on one side */
export const TICKET_MARQUEE_SEGMENT = "→ Tickets ";
type MarqueeProps = {
className?: string;
onNavigate?: () => void;
/** Visually hidden label for icon-only / marquee control */
"aria-label"?: string;
};
/**
* Gold pill with continuous horizontal marquee — used in header (sm+) and mobile nav sheet.
*/
export function TicketsMarqueeCta({
className,
onNavigate,
"aria-label": ariaLabel = "Get tickets",
}: MarqueeProps) {
const repeated = Array.from({ length: 8 }, (_, i) => (
{TICKET_MARQUEE_SEGMENT}
));
return (
{repeated}
{repeated}
);
}
type Props = {
className?: string;
/** Full-width pill (e.g. stacked in a narrow column) */
fullWidth?: boolean;
};
/** Header / tablet — same marquee as mobile sheet, sized for the navbar */
export function NavTicketsCta({ className, fullWidth }: Props) {
return (
);
}