mirror of
https://github.com/timmypidashev/web.git
synced 2026-04-14 19:13:51 +00:00
Move src dir
This commit is contained in:
34
src/app/layout.js
Normal file
34
src/app/layout.js
Normal file
@@ -0,0 +1,34 @@
|
||||
// Imports
|
||||
import "@/style/globals.css";
|
||||
import Theme from "@/app/theme";
|
||||
import Header from "@/components/header";
|
||||
import Footer from "@/components/footer";
|
||||
import Container from "@/components/ui/container";
|
||||
|
||||
// Metadata
|
||||
export const metadata = {
|
||||
title: "Timothy Pidashev",
|
||||
description: "Engineering the Future!"
|
||||
};
|
||||
|
||||
// Exports
|
||||
export default function Layout({children}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<body className="
|
||||
bg-light-background text-light-foreground
|
||||
dark:bg-dark-background dark:text-dark-foreground
|
||||
">
|
||||
<Theme>
|
||||
<Container>
|
||||
<Header />
|
||||
<main>
|
||||
{children}
|
||||
</main>
|
||||
<Footer />
|
||||
</Container >
|
||||
</Theme>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user