Files
portfolio/app/layout.tsx
T

42 lines
996 B
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";
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`}
>
<body className="min-h-full flex flex-col font-sans">
<Header />
<Container>{children}</Container>
<Footer />
</body>
</html>
);
}