mirror of
https://github.com/DerTyp7/explainegy-nextjs.git
synced 2025-10-29 21:02:13 +01:00
23 lines
369 B
TypeScript
23 lines
369 B
TypeScript
import "../styles/globals.scss";
|
|
import Nav from "./Nav";
|
|
import Footer from "./Footer";
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
return (
|
|
<html style={{ scrollBehavior: "smooth" }}>
|
|
<head></head>
|
|
<body>
|
|
<header>
|
|
<Nav />
|
|
</header>
|
|
<main>{children}</main>
|
|
<Footer />
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|