"use client"; import { memo } from "react"; import Button from "../../buttons/Button"; import { useMessages } from "../../../contexts/MessagesContext"; import { WORKSHOP_SIGNUP_ANCHOR_ID } from "../../../../lib/workshopSignup"; const CARD_CLASS: Record = { yellow: "bg-[var(--color-surface-invert-brand-secondary)] text-[var(--color-content-invert-brand-secondary)]", teal: "bg-[var(--color-surface-invert-brand-teal)] text-[var(--color-content-invert-brand-teal)]", lavender: "bg-[var(--color-surface-invert-brand-lavender)] text-[var(--color-content-invert-brand-lavender)]", red: "bg-[var(--color-surface-invert-brand-red)] text-[var(--color-content-invert-brand-red)]", }; const DESKTOP_CARD_CLASS = [ "left-[8%] top-[18%] w-[46%] -rotate-3", "left-[28%] top-[8%] w-[42%] rotate-[9deg]", "left-0 top-[34%] w-[48%] -rotate-[15deg]", "left-[36%] top-[42%] w-[52%] rotate-[16deg]", ]; function WorkshopHeroView({ className = "" }: { className?: string }) { const copy = useMessages().pages.workshops.hero; const href = `#${WORKSHOP_SIGNUP_ANCHOR_ID}`; return (

{copy.eyebrow}

{copy.title}

{copy.body}

{copy.credit}

{copy.cards.map((card, index) => (
0 ? "-mt-3" : ""}`} >

{card.label}

))}
{copy.cards.map((card, index) => (

{card.label}

))}
); } export default memo(WorkshopHeroView);