Files
explainegy-nextjs/app/layout.tsx
Janis 348ba019c1 asd
2022-12-21 02:02:29 +01:00

23 lines
392 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 className="theme-dark">
<header>
<Nav />
</header>
<main>{children}</main>
<Footer />
</body>
</html>
);
}