added Navbarwrapper
This commit is contained in:
parent
b1baf5ee4a
commit
7c1d8fa619
@ -2,7 +2,8 @@ import type { Metadata } from "next";
|
||||
import { Playfair_Display, DM_Sans } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import ScrollToTop from "@/components/ScrollToTop/ScrollToTop";
|
||||
import Navbar from '@/components/Navbar/Navbar';
|
||||
// import Navbar from '@/components/Navbar/Navbar';
|
||||
import NavbarWrapper from "@/components/NavbarWrapper";
|
||||
import Script from "next/script";
|
||||
|
||||
const playfairDisplay = Playfair_Display({
|
||||
@ -151,7 +152,7 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
|
||||
<Navbar />
|
||||
<NavbarWrapper />
|
||||
{children}
|
||||
<ScrollToTop />
|
||||
</body>
|
||||
|
||||
6
src/components/NavbarWrapper.tsx
Normal file
6
src/components/NavbarWrapper.tsx
Normal file
@ -0,0 +1,6 @@
|
||||
"use client";
|
||||
import Navbar from "./Navbar/Navbar";
|
||||
|
||||
export default function NavbarWrapper() {
|
||||
return <Navbar />;
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user