import { cn } from '@/lib/utils';
export function Section({
children,
className,
id,
...props
}: {
children: React.ReactNode;
className?: string;
id?: string;
}) {
return (
);
}
const variants = {
default: 'text-3xl md:text-5xl font-semibold',
sm: 'text-3xl md:text-4xl font-semibold',
};
export function SectionHeader({
label,
title,
description,
className,
align,
as = 'h2',
variant = 'default',
}: {
label?: string;
title: string | React.ReactNode;
description?: string | React.ReactNode;
className?: string;
align?: 'center' | 'left';
as?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
variant?: keyof typeof variants;
}) {
const Heading = as;
return (
{label &&
{label}}
{title}
{description && (
{description}
)}
);
}
export function SectionLabel({
children,
className,
}: {
children: React.ReactNode;
className?: string;
}) {
return (
{children}
);
}