import type { ReactNode } from 'react'; import { MinimalLayout } from '../layouts/MinimalLayout'; export interface LandingTemplateProps { hero: ReactNode; highlights: ReactNode[]; background?: 'light' | 'dark'; } export function LandingTemplate({ hero, highlights, background }: LandingTemplateProps) { return (
{hero}
{highlights.map((highlight, index) => ( // eslint-disable-next-line react/no-array-index-key
{highlight}
))}
); }