44 lines
1.1 KiB
TypeScript
44 lines
1.1 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Inter, Instrument_Serif } from "next/font/google";
|
|
import "./globals.css";
|
|
import Header from "@/components/layout/Header";
|
|
import Footer from "@/components/layout/Footer";
|
|
import Container from "@/components/layout/Container";
|
|
import Cursor from "@/components/ui/Cursor";
|
|
|
|
const inter = Inter({
|
|
variable: "--font-inter",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
const instrumentSerif = Instrument_Serif({
|
|
variable: "--font-instrument-serif",
|
|
subsets: ["latin"],
|
|
weight: "400",
|
|
style: ["normal", "italic"],
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Angel Mankel — Software Engineer",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html
|
|
lang="en"
|
|
className={`${inter.variable} ${instrumentSerif.variable} h-full antialiased scrollbar-track-transparent scrollbar-thumb-neutral-700`}
|
|
>
|
|
<body className="min-h-full flex flex-col font-sans">
|
|
{/* <Cursor /> */}
|
|
<Header />
|
|
<Container>{children}</Container>
|
|
<Footer />
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|