mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-02 22:17:11 +01:00
20 lines
398 B
TypeScript
20 lines
398 B
TypeScript
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 />
|
|
</>
|
|
)
|
|
}
|