portfolio/src/app/layout.tsx

46 lines
1 KiB
TypeScript
Raw Normal View History

2026-03-22 14:14:05 +00:00
import type { Metadata } from "next";
2026-06-19 22:11:02 +00:00
import { Bitcount, Italianno } from "next/font/google";
2026-03-22 14:14:05 +00:00
import "./globals.css";
import Header from "@/components/header";
2026-06-19 22:11:02 +00:00
import Footer from "@/components/footer";
2026-03-22 14:14:05 +00:00
const bitCount = Bitcount({
variable: "--font-bitcount",
2026-03-22 14:14:05 +00:00
subsets: ["latin"],
});
2026-06-19 22:11:02 +00:00
const italianno = Italianno({
weight: "400",
variable: "--font-italianno",
subsets: ["latin"],
});
2026-03-22 14:14:05 +00:00
export const metadata: Metadata = {
title: "unemployment heaven",
description: "AI sucks. but who cares, i'll never let it take my job",
2026-03-22 14:14:05 +00:00
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
2026-06-19 22:11:02 +00:00
<html
lang="en"
className={`${bitCount.variable} ${italianno.variable}
h-full antialiased`}
>
<head></head>
2026-06-19 22:11:02 +00:00
<body className="min-h-screen grid grid-rows-[auto_1fr_auto]">
2026-06-18 18:21:43 +00:00
<Header />
2026-06-19 22:11:02 +00:00
<main className="flex flex-col justify-center items-center py-10">
{children}
</main>
<Footer />
2026-06-18 18:21:43 +00:00
</body>
2026-03-22 14:14:05 +00:00
</html>
);
2026-06-19 22:11:02 +00:00
}