diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2023-07-17 20:42:50 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2023-07-17 20:42:50 -0400 |
| commit | c4c55a93bc6af8b15f45225169758e08ff1b13cd (patch) | |
| tree | bf7e7c4070e462e99bcea327588c323025b6a0bb /app/layout.js | |
| download | sei-website-c4c55a93bc6af8b15f45225169758e08ff1b13cd.tar.gz sei-website-c4c55a93bc6af8b15f45225169758e08ff1b13cd.tar.bz2 sei-website-c4c55a93bc6af8b15f45225169758e08ff1b13cd.zip | |
Initial rewrite
Diffstat (limited to 'app/layout.js')
| -rw-r--r-- | app/layout.js | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/app/layout.js b/app/layout.js new file mode 100644 index 0000000..d357551 --- /dev/null +++ b/app/layout.js @@ -0,0 +1,33 @@ +import './globals.css' +import { Exo } from 'next/font/google' +import Navbar from "@/components/Navbar"; +import PSA from "@/components/PSA"; + +const exo = Exo({ subsets: ['latin'] }) + +export const metadata = { + title: { + template: '%s - Government of Southeastern Islands', + default: 'Government of Southeastern Islands' + }, + description: 'The official website of the Government of Southeastern Islands', +} + +export default function RootLayout({ children }) { + return ( + <html lang="en"> + <body className={exo.className}> + <div className="sm:px-10 px-5 py-0.5 font-medium space-x-3 text-right"> + <a href="https://aircs.racing" className="transition duration-150 ease-out hover:ease-in md:hover:text-red-500">aircs.racing ↗</a> + </div> + <PSA/> + <Navbar/> + {children} + <footer className="flex flex-col text-center py-3 space-y-2 bg-blue-950 text-light text-sm sm:text-base px-5 sm:px-0"> + <p>Southeastern Islands is a fictional country made for the bits & Bytes Minecraft Server</p> + <p>This website is proudly written using Next.JS and Tailwind CSS</p> + </footer> + </body> + </html> + ) +} |
