import type { ReactNode } from 'react';
import { cn } from '@/lib/utils';
/** Page-width wrapper used by every section. */
export function Container({
className,
children,
}: {
className?: string;
children: ReactNode;
}) {
return (
{children}
);
}
export function SfButton({
href,
variant = 'primary',
className,
children,
}: {
href: string;
variant?: 'primary' | 'outline';
className?: string;
children: ReactNode;
}) {
return (
{children}
);
}
export function Eyebrow({ children }: { children: ReactNode }) {
return (
{children}
);
}
export function SectionHeading({
heading,
subheading,
align = 'left',
}: {
heading: string;
subheading?: string | null;
align?: 'left' | 'center';
}) {
return (
{heading}
{subheading && (
{subheading}
)}
);
}
const tilts = ['135deg', '200deg', '45deg', '310deg'];
/**
* Stands in for a photo until real product images exist (Step 4).
* It is drawn from the theme colours so it always matches the store.
*/
export function ImagePlaceholder({
seed = 0,
label,
className,
}: {
seed?: number;
label?: string;
className?: string;
}) {
const tilt = tilts[seed % tilts.length];
return (
);
}