-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathlayout.tsx
More file actions
67 lines (61 loc) · 2.04 KB
/
layout.tsx
File metadata and controls
67 lines (61 loc) · 2.04 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
import Link from 'next/link';
import { FaDiscord, FaFacebook, FaGithub, FaInstagram } from 'react-icons/fa';
import '@/styles/globals.css';
import AuthProvider from '@/api/auth/provider';
import Breadcrumb from './breadcrumb';
export default function RootLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<html>
<head />
<body className="flex flex-col bg-palette-200 dark:bg-palette-900">
<noscript>You need to enable JavaScript to run this app</noscript>
<AuthProvider>
<Breadcrumb />
<section className="container flex flex-col grow max-w-screen-lg">
{children}
</section>
</AuthProvider>
<footer className="bg-palette-700 dark:bg-palette-800 py-4 mt-8">
<section className="align-middle container flex flex-row flex-wrap justify-between max-w-screen-lg">
<ul className="gap-4 inline-flex flex-wrap">
<li>
<Link href="/">© 2023 NKSS</Link>
</li>
<li>
<Link href="/about">About</Link>
</li>
</ul>
<address className="inline-flex">
<ul className="gap-4 inline-flex">
<li>
<a href="https://discord.gg/3P3wg3Yahp" target="_blank">
<FaDiscord size={20} />
</a>
</li>
<li>
<a href="https://github.com/nkss-dev" target="_blank">
<FaGithub size={20} />
</a>
</li>
<li>
<a href="https://instagram.com/nksss.live" target="_blank">
<FaInstagram size={20} />
</a>
</li>
<li>
<a href="https://facebook.com/nksss.live" target="_blank">
<FaFacebook size={20} />
</a>
</li>
</ul>
</address>
</section>
</footer>
</body>
</html>
);
}