42 lines
1.1 KiB
TypeScript
42 lines
1.1 KiB
TypeScript
import React from "react";
|
|
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: "sh ~./caydencodes.sh",
|
|
description: "Come and see what I'm all about.",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html
|
|
lang="en"
|
|
className={`${cormorantGaramond.variable} ${poppins.variable} bg-neutral-100 h-full antialiased`}
|
|
>
|
|
<body
|
|
className="min-h-full flex flex-col bg-polar-night-lighter text-snow-storm text-shadow-snow-storm-dark">
|
|
<Header/>
|
|
{children}
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|