next-app-with-squiggle/components/Layout.tsx

22 lines
550 B
TypeScript
Raw Permalink Normal View History

2022-08-01 07:43:16 +00:00
import Header from "./Header"
import Footer from "./Footer"
import Head from "next/head"
interface Props {
children: React.ReactNode
}
export default function Layout({ children }: Props) {
return (
<>
<Head>
<title>squiggle-next-template</title>
2022-08-01 07:43:16 +00:00
<meta name="description" content="Generated by create next app" />
<link rel="icon" href="/favicon.ico" />
</Head>
<Header />
<main>{children}</main>
<Footer />
</>
)}