blob: 80c8afd4ee26799574212a34dec37ea834ca47a4 (
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!',
manifest: '/site.webmanifest',
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en">
<meta name="apple-mobile-web-app-title" content="Artberry" />
<body className={`${nunito.className} antialiased`}>
<div className="min-h-dvh flex flex-col">
<GlobalContextProvider>
<Header />
<main className="mt-[50px] mb-[80px] grow flex justify-center">
<div className="w-full xl:max-w-[1200px] 2xl:max-w-[1500px]">
{children}
</div>
</main>
<Footer />
</GlobalContextProvider>
</div>
</body>
</html>
);
}
|