fixed theme toggle
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import type { Metadata } from "next";
|
||||
import Navbar from "./_components/Navbar";
|
||||
import type { Metadata } from 'next';
|
||||
import Navbar from './_components/Navbar';
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "VAR Leitstelle v2",
|
||||
description: "Die neue VAR Leitstelle.",
|
||||
title: 'VAR Leitstelle v2',
|
||||
description: 'Die neue VAR Leitstelle.',
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
@@ -12,11 +12,9 @@ export default function RootLayout({
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
return (
|
||||
<html lang="de" data-theme="light">
|
||||
<body>
|
||||
<Navbar />
|
||||
{children}
|
||||
</body>
|
||||
</html>
|
||||
<>
|
||||
<Navbar />
|
||||
{children}
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user