38 lines
837 B
TypeScript
38 lines
837 B
TypeScript
import type { Metadata } from "next";
|
|
import { Inter as FontSans } from "next/font/google"
|
|
import "./globals.css";
|
|
|
|
import { cn } from "@/lib/utils"
|
|
import Navbar from "@/components/ui/navbar";
|
|
import Footer from "@/components/ui/footer";
|
|
|
|
|
|
const fontSans = FontSans({
|
|
subsets: ["latin"],
|
|
variable: "--font-sans",
|
|
})
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Wretched Machines",
|
|
description: "Website by MagicMuffin",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en">
|
|
<body className={cn(
|
|
"min-h-screen bg-background font-sans antialiased",
|
|
fontSans.variable
|
|
)}>
|
|
<Navbar></Navbar>
|
|
{children}
|
|
<Footer>Created by MagicMuffin | Copyright 2024</Footer>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|