web-portfolio/app/layout.tsx
Cayden Schwechten 04099b0f05 init
2026-07-16 16:41:56 -05:00

38 lines
1 KiB
TypeScript

import type {Metadata} from "next";
import {Cormorant_Garamond, Poppins} from "next/font/google";
import "./globals.css";
import Header from "@/components/layout/layout-header";
const cormorantGaramond = Cormorant_Garamond({
subsets: ['latin'],
variable: "--font-cormorantGaramond",
weight: ['400']
})
const poppins = Poppins({
subsets: ['latin'],
variable: "--font-poppins",
weight: ['400', '600']
})
export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html
lang="en"
className={`${cormorantGaramond.variable} ${poppins.variable} bg-neutral-100 h-full antialiased`}
>
<Header />
<body className="min-h-full flex flex-col bg-polar-night-lighter text-snow-storm text-shadow-snow-storm-dark">{children}</body>
</html>
);
}