feat(nav): add theme switcher
This commit is contained in:
+3
-3
@@ -19,7 +19,7 @@ const geistMono = Geist_Mono({
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "byHaider.",
|
||||
title: "byHaider.dev",
|
||||
description: "Softwareentwickler deines Vertrauens.",
|
||||
};
|
||||
|
||||
@@ -33,7 +33,7 @@ export default function RootLayout({
|
||||
lang="en" suppressHydrationWarning
|
||||
className={cn("h-full", "antialiased", geistSans.variable, geistMono.variable, "font-sans", inter.variable)}
|
||||
>
|
||||
<body className="min-h-screen relative isolate">
|
||||
<body className="min-h-screen relative isolate flex flex-col">
|
||||
<ThemeProvider
|
||||
attribute="class"
|
||||
defaultTheme="system"
|
||||
@@ -41,7 +41,7 @@ export default function RootLayout({
|
||||
>
|
||||
<BackgroundEffects />
|
||||
<Navbar/>
|
||||
<div className="relative z-10">
|
||||
<div className="relative z-10 flex-1">
|
||||
{children}
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
|
||||
+1
-17
@@ -1,22 +1,6 @@
|
||||
export default function Home() {
|
||||
return (
|
||||
<div className="flex flex-col flex-1 h-[2000px]">
|
||||
<h1 className="text-center">Test</h1>
|
||||
<h1 className="text-center">Test</h1>
|
||||
<h1 className="text-center">Test</h1>
|
||||
<h1 className="text-center">Test</h1>
|
||||
<h1 className="text-center">Test</h1>
|
||||
<h1 className="text-center">Test</h1>
|
||||
<h1 className="text-center">Test</h1>
|
||||
<h1 className="text-center">Test</h1>
|
||||
<h1 className="text-center">Test</h1>
|
||||
<h1 className="text-center">Test</h1>
|
||||
<h1 className="text-center">Test</h1>
|
||||
<h1 className="text-center">Test</h1>
|
||||
<h1 className="text-center">Test</h1>
|
||||
<h1 className="text-center">Test</h1>
|
||||
<h1 className="text-center">Test</h1>
|
||||
<h1 className="text-center">Test</h1>
|
||||
<div className="flex flex-col flex-1">
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user