import React from 'react'
import Footer from '../components/footer'
import Header from '../components/header'

export default function Home({
  children,
  restricted = false,
}: {
  children: React.ReactNode
  restricted?: boolean
}) {
  return (
    <>
      <Header restricted={restricted} />
      <main className="max-w-7xl mx-auto p-4 sm:p-6">{children}</main>
      <Footer />
    </>
  )
}
