From 127c168d4462a52e8419c5213c2bdca8f871a412 Mon Sep 17 00:00:00 2001 From: Kemoia Date: Tue, 19 May 2026 05:54:16 -0500 Subject: [PATCH 1/2] Create reusable navbar component #25 --- src/app/(app)/layout.tsx | 8 +- src/app/layout.tsx | 8 +- src/app/page.tsx | 4 +- src/components/navbar/Navbar.tsx | 352 ++++++++++++++++++------------- 4 files changed, 210 insertions(+), 162 deletions(-) diff --git a/src/app/(app)/layout.tsx b/src/app/(app)/layout.tsx index 9e009a2..7a4f370 100644 --- a/src/app/(app)/layout.tsx +++ b/src/app/(app)/layout.tsx @@ -1,5 +1,4 @@ import type { Metadata } from "next"; -import Navbar from "@/components/navbar/Navbar"; export const metadata: Metadata = { title: "Create Next App", @@ -11,10 +10,5 @@ export default function RootLayout({ }: Readonly<{ children: React.ReactNode; }>) { - return ( - <> - - {children} - - ); + return <>{children}; } diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 1fb6e70..f268c0d 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,7 +1,8 @@ import type { Metadata } from "next"; import { Geist, Geist_Mono } from "next/font/google"; +import Navbar from "@/components/navbar/Navbar"; import Footer from "@/components/footer/Footer"; -import "./globals.css" +import "./globals.css"; const geistSans = Geist({ variable: "--font-geist-sans", @@ -28,9 +29,12 @@ export default function RootLayout({ + + {children} +