navbar, homepage init, first nivo chart

This commit is contained in:
2024-02-25 01:15:49 -05:00
parent 5aac68b937
commit 8960e3a247
20 changed files with 1104 additions and 273 deletions
+24 -11
View File
@@ -1,22 +1,35 @@
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import { Red_Hat_Display } from "next/font/google";
import "./globals.css";
import Navbar from "@/components/nav/Navbar";
import { cn } from "@/lib/utils";
import { ThemeProvider } from "@/components/theme/theme-providers";
const inter = Inter({ subsets: ["latin"] });
const red_hat = Red_Hat_Display({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
title: "Create Next App",
description: "Generated by create next app",
};
export default function RootLayout({
children,
children,
}: Readonly<{
children: React.ReactNode;
children: React.ReactNode;
}>) {
return (
<html lang="en">
<body className={inter.className}>{children}</body>
</html>
);
return (
<html lang="en">
<body className={cn("min-h-screen antialiased", red_hat.className)}>
<ThemeProvider
attribute="class"
defaultTheme="system"
enableSystem
disableTransitionOnChange
>
<Navbar />
{children}
</ThemeProvider>
</body>
</html>
);
}