blob: e81e45bc93b7d7e5f53c96722d447d839eee836e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
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 xl:px-10`}
>
<div className="min-h-dvh flex flex-col mx-auto xl:max-w-[1200px] 2xl:max-w-[1500px] ">
<GlobalContextProvider>
<Header />
<main className="mt-[50px] mb-[80px] grow">
{children}
</main>
<Footer />
</GlobalContextProvider>
</div>
</body>
</html>
);
}
|