mirror of
https://git.aramjonghu.nl/AramJonghu/aramjonghu-site.git
synced 2026-06-07 01:28:24 +02:00
16 lines
372 B
React
16 lines
372 B
React
import Footer from "./Footer";
|
|
import Header from "./Header";
|
|
import { useTheme } from "../hooks/useTheme";
|
|
|
|
export default function Layout({ children }) {
|
|
const theme = useTheme();
|
|
|
|
return (
|
|
<div className="flex flex-col min-h-screen bg-ctp-base">
|
|
<Header theme={theme} />
|
|
<main className="flex-1">{children}</main>
|
|
<Footer />
|
|
</div>
|
|
);
|
|
}
|