Skip to content

Commit

Permalink
Delete NavBar component in Admin dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanMejia77 committed May 16, 2024
1 parent 45ed25e commit 12ab3b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
'use client'
import { Inter } from 'next/font/google'
import './globals.css'
import { NavBar } from './(nav-bar)'
import { ThemeProvider } from 'next-themes'

const inter = Inter({ subsets: ['latin'] })
Expand All @@ -18,7 +17,6 @@ export default function RootLayout({
style={{ maxWidth: '1920px', margin: '0 auto' }}
>
<ThemeProvider attribute="class">
<NavBar />
{children}
</ThemeProvider>
</body>
Expand Down
2 changes: 2 additions & 0 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ import { PaymentMethods } from '@/components/PaymentMethods'
import { ReviewsSkeleton } from "@/components/Reviews/ReviewsSkeleton";
import { WhatsAppButton } from '@/components/WhatsAppButton'
import { Suspense } from "react";
import { NavBar } from './(nav-bar)'

export default function Home() {
return (
<main>
<NavBar />
<Banner />
<Categories />
<AboutUsBanner />
Expand Down

0 comments on commit 12ab3b9

Please sign in to comment.