From c52777afa2308564896faf8eecff30c3287487ea Mon Sep 17 00:00:00 2001 From: kbe Date: Wed, 13 Aug 2025 15:17:31 +0200 Subject: [PATCH] Moving Header to layout.tsx --- app/layout.tsx | 4 ++++ app/page.tsx | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/layout.tsx b/app/layout.tsx index f7fa87e..cc2eb30 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -2,6 +2,8 @@ import type { Metadata } from "next"; import { Geist, Geist_Mono } from "next/font/google"; import "./globals.css"; +import { Header } from "@/components/ui/header"; + const geistSans = Geist({ variable: "--font-geist-sans", subsets: ["latin"], @@ -27,6 +29,8 @@ export default function RootLayout({ +
+ {children} diff --git a/app/page.tsx b/app/page.tsx index 32b7d5d..34e84fd 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -5,8 +5,6 @@ import { Header } from "@/components/ui/header"; export default function Home() { return (
-
-

Welcome to the Test Page

This is a test page to display the new header component.