This commit is contained in:
Elijah McMorris 2024-02-15 21:00:44 +00:00
commit 2dd77e743f
Signed by: NexVeridian
SSH key fingerprint: SHA256:bsA1SKZxuEcEVHAy3gY1HUeM5ykRJl0U0kQHQn0hMg8
31 changed files with 12778 additions and 0 deletions

37
src/app/layout.tsx Normal file
View file

@ -0,0 +1,37 @@
import Nav from "@/components/Nav";
import { ThemeProvider } from "@/components/theme-provider";
import type { Metadata } from "next";
import { Roboto_Mono } from "next/font/google";
import "./globals.css";
export const roboto_mono = Roboto_Mono({
subsets: ["latin"],
display: "swap",
variable: "--font-roboto-mono",
});
export const metadata: Metadata = {
title: "Next Url Shortener",
description: "Next Url Shortener",
};
export default function RootLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<html lang="en">
<body className={roboto_mono.className}>
<ThemeProvider
attribute="class"
defaultTheme="dark"
disableTransitionOnChange
>
<Nav />
{children}
</ThemeProvider>
</body>
</html>
);
}