mirror of
https://github.com/Sosokker/B2D-Ventures.git
synced 2025-12-19 05:54:06 +01:00
move navbar to global layout
This commit is contained in:
parent
25c5c08df8
commit
6cec1f36bc
@ -1,11 +1,7 @@
|
||||
"use client";
|
||||
|
||||
import React from "react";
|
||||
import { UnsignedNav } from "@/components/navigationBar/unSigned";
|
||||
|
||||
export default function Page() {
|
||||
return (
|
||||
<div>
|
||||
<UnsignedNav />
|
||||
</div>
|
||||
);
|
||||
return <div>hello</div>;
|
||||
}
|
||||
|
||||
@ -3,6 +3,8 @@ 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",
|
||||
@ -23,10 +25,12 @@ interface RootLayoutProps {
|
||||
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">
|
||||
<div className="flex-1">{children}</div>
|
||||
<UnsignedNav />
|
||||
<div className="flex-1 bg-background">{children}</div>
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
</body>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user