B2D-Ventures/src/app/layout.tsx

40 lines
1.0 KiB
TypeScript

import type { Metadata } from "next";
import { Montserrat } from "next/font/google";
import { ThemeProvider } from "@/components/theme-provider";
import "@/app/globals.css";
import { UnsignedNav } from "@/components/navigationBar/Unsigned";
const montserrat = Montserrat({
subsets: ["latin"],
display: "swap",
});
export const metadata: Metadata = {
title: {
template: "%s | B2DVentures",
default: "B2DVentures",
},
description: "B2DVentures is a financial services company.",
};
interface RootLayoutProps {
children: Readonly<React.ReactNode>;
}
export default function RootLayout({ children }: RootLayoutProps) {
return (
<html lang="en">
<head />
<body className={`${montserrat.className}`}>
<ThemeProvider attribute="class" defaultTheme="system" enableSystem>
<div className="relative flex min-h-screen flex-col">
<UnsignedNav />
<div className="flex-1 bg-background">{children}</div>
</div>
</ThemeProvider>
</body>
</html>
);
}