web-portfolio/app/layout.tsx

43 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-07-23 20:13:59 -05:00
import React from "react";
2026-07-16 16:41:56 -05:00
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({
2026-07-23 20:13:59 -05:00
subsets: ['latin'],
variable: "--font-poppins",
weight: ['400', '600']
2026-07-16 16:41:56 -05:00
})
export const metadata: Metadata = {
2026-07-23 20:13:59 -05:00
title: "sh ~./caydencodes.sh",
description: "Come and see what I'm all about.",
2026-07-16 16:41:56 -05:00
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html
lang="en"
className={`${cormorantGaramond.variable} ${poppins.variable} bg-neutral-100 h-full antialiased`}
>
2026-07-23 20:13:59 -05:00
<body
className="min-h-full flex flex-col bg-polar-night-lighter text-snow-storm text-shadow-snow-storm-dark">
<Header/>
{children}
</body>
2026-07-16 16:41:56 -05:00
</html>
);
}