import Head from "next/head" import Header from "./Header" import Navigation from "./Navigation" interface LayoutProps { title?: string secondaryNav?: React.ReactNode children: React.ReactNode } export default function Layout({ title, secondaryNav, children }: LayoutProps) { if (!title) title = "Nate Butler" return ( <>
{title}
{secondaryNav}
{children}
) }