export default function({ title, description, children, comp, metas, links, author }) { return ( {title} {Array.isArray(metas) && metas.length > 0 && metas.map(m => ) } {Array.isArray(links) && links.length > 0 && links.map(l => ) } { comp.navbar() } { comp.header({title, description, author}) }
{children}
{ comp.footer() } ); }