fixed theme toggle
This commit is contained in:
@@ -1,19 +1,19 @@
|
||||
import type { Metadata } from "next";
|
||||
import localFont from "next/font/local";
|
||||
import "./globals.css";
|
||||
import type { Metadata } from 'next';
|
||||
import localFont from 'next/font/local';
|
||||
import './globals.css';
|
||||
|
||||
const geistSans = localFont({
|
||||
src: "./fonts/GeistVF.woff",
|
||||
variable: "--font-geist-sans",
|
||||
src: './fonts/GeistVF.woff',
|
||||
variable: '--font-geist-sans',
|
||||
});
|
||||
const geistMono = localFont({
|
||||
src: "./fonts/GeistMonoVF.woff",
|
||||
variable: "--font-geist-mono",
|
||||
src: './fonts/GeistMonoVF.woff',
|
||||
variable: '--font-geist-mono',
|
||||
});
|
||||
|
||||
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({
|
||||
@@ -23,7 +23,9 @@ export default function RootLayout({
|
||||
}>) {
|
||||
return (
|
||||
<html lang="de" data-theme="light">
|
||||
<body className={`${geistSans.variable} ${geistMono.variable}`}>
|
||||
<body
|
||||
className={`${geistSans.variable} ${geistMono.variable} h-screen flex flex-col`}
|
||||
>
|
||||
{children}
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user