import cn from "classnames"; import gradients from "./gradients.module.css"; export function HeroText({ children, className, h1, }: { children: React.ReactNode; className?: string; h1?: boolean; }) { const combinedClassname = cn( gradients.heroHeading, "font-extrabold tracking-[-0.04em] leading-none text-[40px] md:text-5xl lg:text-[80px] max-w-lg md:max-w-xl lg:max-w-4xl text-center text-transparent", className ); if (h1) { return

{children}

; } return

{children}

; } export function SectionHeader({ children }: { children: React.ReactNode }) { return (

{children}

); } export function SectionSubtext({ hero, children, }: { hero?: boolean; children: React.ReactNode; }) { const textClasses = hero ? "text-[20px] lg:text-xl" : "text-[16px] lg:text-[20px]"; return (

{children}

); }