portfolio/src/app/layout.tsx

31 lines
794 B
TypeScript
Raw Normal View History

2026-03-22 14:14:05 +00:00
import type { Metadata } from "next";
import { Bitcount } from "next/font/google";
2026-03-22 14:14:05 +00:00
import "./globals.css";
import Header from "@/components/header";
2026-03-22 14:14:05 +00:00
const bitCount = Bitcount({
variable: "--font-bitcount",
2026-03-22 14:14:05 +00:00
subsets: ["latin"],
});
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 (
<html lang="en" className={`${bitCount.variable} h-full antialiased`}>
<head></head>
2026-06-18 18:21:43 +00:00
<body className="min-h-full flex flex-col">
<Header />
2026-06-19 20:00:25 +00:00
<div className="flex-col grow min-h-full w-full flex justify-center items-center">{children}</div>
2026-06-18 18:21:43 +00:00
</body>
2026-03-22 14:14:05 +00:00
</html>
);
}