added: italianno font, footer
This commit is contained in:
parent
5a8d49714f
commit
52b1f0a76d
|
|
@ -1,13 +1,20 @@
|
||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import { Bitcount } from "next/font/google";
|
import { Bitcount, Italianno } from "next/font/google";
|
||||||
import "./globals.css";
|
import "./globals.css";
|
||||||
import Header from "@/components/header";
|
import Header from "@/components/header";
|
||||||
|
import Footer from "@/components/footer";
|
||||||
|
|
||||||
const bitCount = Bitcount({
|
const bitCount = Bitcount({
|
||||||
variable: "--font-bitcount",
|
variable: "--font-bitcount",
|
||||||
subsets: ["latin"],
|
subsets: ["latin"],
|
||||||
});
|
});
|
||||||
|
|
||||||
|
const italianno = Italianno({
|
||||||
|
weight: "400",
|
||||||
|
variable: "--font-italianno",
|
||||||
|
subsets: ["latin"],
|
||||||
|
});
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: "unemployment heaven",
|
title: "unemployment heaven",
|
||||||
description: "AI sucks. but who cares, i'll never let it take my job",
|
description: "AI sucks. but who cares, i'll never let it take my job",
|
||||||
|
|
@ -19,12 +26,21 @@ export default function RootLayout({
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
}>) {
|
}>) {
|
||||||
return (
|
return (
|
||||||
<html lang="en" className={`${bitCount.variable} h-full antialiased`}>
|
<html
|
||||||
|
lang="en"
|
||||||
|
className={`${bitCount.variable} ${italianno.variable}
|
||||||
|
h-full antialiased`}
|
||||||
|
>
|
||||||
<head></head>
|
<head></head>
|
||||||
<body className="min-h-full flex flex-col">
|
<body className="min-h-screen grid grid-rows-[auto_1fr_auto]">
|
||||||
<Header />
|
<Header />
|
||||||
<div className="flex-col grow min-h-full w-full flex justify-center items-center">{children}</div>
|
|
||||||
|
<main className="flex flex-col justify-center items-center py-10">
|
||||||
|
{children}
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<Footer />
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
Loading…
Reference in a new issue