12 lines
402 B
TypeScript
12 lines
402 B
TypeScript
export default function Hero({ label, subtitle, children }: { label: string; subtitle?: string; children?: React.ReactNode }) {
|
|
return (
|
|
<section className="space-y-8">
|
|
<h1 className="font-serif text-[88px] leading-none tracking-tight">
|
|
{label}
|
|
</h1>
|
|
{subtitle && <p className="text-xl text-neutral-400 text-muted">{subtitle}</p>}
|
|
{children}
|
|
</section>
|
|
);
|
|
}
|