import type React from 'react'; export interface PrimaryTemplateProps { children: React.ReactNode; title: string; tagline: string; button?: JSX.Element; footer?: JSX.Element; } export const PrimaryTemplate = ({ children, title, tagline, button, footer, }: PrimaryTemplateProps): JSX.Element => { return (
{button &&
{button}
}
{tagline}

{title}

{children}
{footer && (
{button &&
{button}
}
{footer}
)}
); };