summaryrefslogtreecommitdiff
path: root/src/app/layout.tsx
diff options
context:
space:
mode:
authorl3wdfut4pwr <l3wdfut4pwr@gmail.com>2025-12-30 13:46:39 +0200
committerl3wdfut4pwr <l3wdfut4pwr@gmail.com>2025-12-30 13:46:39 +0200
commitc3dcb9c827df6d80ad1b0b1a7c6155561527b39d (patch)
tree76d8b9e706f9e8fcf7acc157a633905ff16c6b74 /src/app/layout.tsx
init
Diffstat (limited to 'src/app/layout.tsx')
-rw-r--r--src/app/layout.tsx36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/app/layout.tsx b/src/app/layout.tsx
new file mode 100644
index 0000000..194dca2
--- /dev/null
+++ b/src/app/layout.tsx
@@ -0,0 +1,36 @@
+import type { Metadata } from 'next';
+import { Nunito } from 'next/font/google';
+import './globals.css';
+import { Header } from '../components/header';
+import { GlobalContextProvider } from '../lib/contexts';
+import { Footer } from '../components/footer';
+
+const nunito = Nunito();
+
+export const metadata: Metadata = {
+ title: 'Artberry',
+ description: 'Happy gooning!',
+ icons: '/icons/logo.svg',
+};
+
+export default function RootLayout({
+ children,
+}: Readonly<{
+ children: React.ReactNode;
+}>) {
+ return (
+ <html lang="en">
+ <body className={`${nunito.className} antialiased px-37.5`}>
+ <div className="max-w-375 min-h-dvh flex flex-col mx-auto">
+ <GlobalContextProvider>
+ <Header />
+ <main className="mt-[50px] mb-[80px] grow">
+ {children}
+ </main>
+ <Footer />
+ </GlobalContextProvider>
+ </div>
+ </body>
+ </html>
+ );
+}