mirror of
				https://github.com/walkxcode/dashboard-icons.git
				synced 2025-10-31 16:57:58 +01:00 
			
		
		
		
	refactor(website): rename Header component to HeaderWrapper
This commit is contained in:
		
				
					committed by
					
						 Thomas Camlong
						Thomas Camlong
					
				
			
			
				
	
			
			
			
						parent
						
							86b89f5518
						
					
				
				
					commit
					bf78bc6a24
				
			| @@ -1,6 +1,6 @@ | ||||
| import { PostHogProvider } from "@/components/PostHogProvider" | ||||
| import { Footer } from "@/components/footer" | ||||
| import { Header } from "@/components/header-wrapper" | ||||
| import { HeaderWrapper } from "@/components/header-wrapper" | ||||
| import { LicenseNotice } from "@/components/license-notice" | ||||
| import type { Metadata, Viewport } from "next" | ||||
| import { Inter } from "next/font/google" | ||||
| @@ -101,7 +101,7 @@ export default function RootLayout({ children }: Readonly<{ children: React.Reac | ||||
| 			<body className={`${inter.variable} antialiased bg-background flex flex-col min-h-screen`}> | ||||
| 				<PostHogProvider> | ||||
| 					<ThemeProvider attribute="class" defaultTheme="system" enableSystem disableTransitionOnChange> | ||||
| 						<Header /> | ||||
| 						<HeaderWrapper /> | ||||
| 						<main className="flex-grow">{children}</main> | ||||
| 						<Footer /> | ||||
| 						<Toaster /> | ||||
|   | ||||
| @@ -1,5 +1,5 @@ | ||||
| import { ClientHeader } from "./client-header" | ||||
|  | ||||
| export function Header() { | ||||
| export function HeaderWrapper() { | ||||
| 	return <ClientHeader /> | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user