import type { ReactNode } from "react";
type ContainerProps = {
children: ReactNode;
className?: string;
};
export function Container({ children, className = "" }: ContainerProps) {
return
{children}
;
}
type SectionProps = {
children: ReactNode;
className?: string;
id?: string;
tone?: "cream" | "warm" | "plain" | "mauve";
};
const tones: Record, string> = {
cream: "bg-anouma-cream-light",
warm: "bg-anouma-cream-beige",
plain: "bg-background",
mauve: "bg-anouma-plum text-anouma-cream-light",
};
export function Section({ children, className = "", id, tone = "plain" }: SectionProps) {
return (
);
}
type SectionHeadingProps = {
eyebrow?: string;
title: string;
lead?: string;
align?: "left" | "center";
className?: string;
};
export function SectionHeading({
eyebrow,
title,
lead,
align = "left",
className = "",
}: SectionHeadingProps) {
return (
{eyebrow && (
{eyebrow}
)}
{title}
{lead && (
{lead}
)}
);
}