feat: add NavItem component
feat: add Header component with blur effect feat: first steps into dark- and light-mode support
This commit is contained in:
1 parent
c2f97547e5
commit
be9bd26c88
6 files changed
+58
-65
No files matched your search
+9
-5
@@ -2,6 +2,8 @@ import type { Metadata } from "next";
|
||||
import { Geist, Geist_Mono } from "next/font/google";
|
||||
import "./globals.css";
|
||||
|
||||
import Header from "@/components/Header"
|
||||
|
||||
const geistSans = Geist({
|
||||
variable: "--font-geist-sans",
|
||||
subsets: ["latin"],
|
||||
@@ -23,11 +25,13 @@ export default function RootLayout({
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
return (
|
||||
<html
|
||||
lang="en"
|
||||
className={`${geistSans.variable} ${geistMono.variable} h-full antialiased`}
|
||||
>
|
||||
<body className="min-h-full flex flex-col">{children}</body>
|
||||
<html lang="de">
|
||||
<body className="min-h-screen flex flex-col">
|
||||
<Header />
|
||||
|
||||
<main className="flex-1 p-6 mt-20">{children}</main>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user