import { cn } from '@/utils/cn';
interface ContentHeaderProps {
title: string;
text: string;
children?: React.ReactNode;
}
export function ContentHeader({ title, text, children }: ContentHeaderProps) {
return (
);
}
interface ContentSectionProps {
title: string;
text?: string | React.ReactNode;
children: React.ReactNode;
asCol?: boolean;
}
export function ContentSection({
title,
text,
children,
asCol,
}: ContentSectionProps) {
return (
{title && (
)}
{children}
);
}