26 lines
806 B
TypeScript
26 lines
806 B
TypeScript
import { PropsWithChildren } from 'react'
|
|
|
|
import Header from '@/components/client/Header'
|
|
import Footer from '@/components/server/Footer'
|
|
|
|
import './globals.css'
|
|
|
|
export default function BaseLayout({ children }: PropsWithChildren) {
|
|
return (
|
|
<html className="h-full antialiased" lang="pt-PT">
|
|
<body className="flex h-full flex-col bg-zinc-50 font-serif dark:bg-black">
|
|
<div className="fixed inset-0 flex justify-center sm:px-8">
|
|
<div className="flex w-full max-w-7xl lg:px-8">
|
|
<div className="w-full bg-white ring-1 ring-zinc-100 dark:bg-zinc-900 dark:ring-zinc-300/20" />
|
|
</div>
|
|
</div>
|
|
<div className="relative">
|
|
<Header />
|
|
<main>{children}</main>
|
|
<Footer />
|
|
</div>
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|