Migrate Layout

This commit is contained in:
aronmal 2023-11-09 13:52:24 +01:00
parent 7f03a846d7
commit 6a55d9d9e0
Signed by: aronmal
GPG key ID: 816B7707426FC612
3 changed files with 61 additions and 107 deletions

View file

@ -1,33 +0,0 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@font-face {
font-family: 'Splatoon';
font-style: normal;
font-weight: 400;
src: url('/assets/fonts/Splatoon2-common.woff2') format('woff2'),
url('/assets/fonts/Splatoon2-common.woff') format('woff');
}
:root {
--foreground-rgb: 255, 255, 255;
font-family: "Splatoon", sans-serif;
}
body {
color: rgb(var(--foreground-rgb));
background-color: black;
background-image: url("https://static.moonleay.net/img/lilJuddWeb/bgs/bg.jpg");
background-repeat: repeat;
background-size: 300px;
background-position: center;
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: space-between;
}
body a,p,h1,h2,h3,h4,h5,h6,span,li,ul {
font-family: "Splatoon", sans-serif;
}

View file

@ -1,31 +0,0 @@
import './globals.css'
import type {Metadata} from 'next'
import {Inter} from 'next/font/google'
import React from "react";
import {Footer, NavBar} from "@/app/util/wrapping_objects";
import styles from "./util/wrapping_objects.module.css";
const inter = Inter({ subsets: ['latin'] })
export const metadata: Metadata = {
title: 'Lil Judd',
description: 'The Splatoon Discord bot with unique features.',
}
export default function RootLayout({
children,
}: {
children: React.ReactNode
}) {
return (
<html lang="en">
<body className={inter.className}>
<NavBar/>
<div className={styles.contentDiv}>
{children}
</div>
<Footer/>
</body>
</html>
)
}