formated project with prettier

This commit is contained in:
PxlLoewe
2025-02-25 00:45:36 +01:00
parent c5b8a7c4cb
commit 22606b2137
95 changed files with 17771 additions and 17068 deletions

View File

@@ -1,38 +1,38 @@
import type { Metadata } from 'next';
import localFont from 'next/font/local';
import './globals.css';
import { NextAuthSessionProvider } from './_components/AuthSessionProvider';
import { getServerSession } from './api/auth/[...nextauth]/auth';
import type { Metadata } from "next";
import localFont from "next/font/local";
import "./globals.css";
import { NextAuthSessionProvider } from "./_components/AuthSessionProvider";
import { getServerSession } from "./api/auth/[...nextauth]/auth";
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 async function RootLayout({
children,
children,
}: Readonly<{
children: React.ReactNode;
children: React.ReactNode;
}>) {
const session = await getServerSession();
return (
<html lang="de" data-theme="dark">
<body
className={`${geistSans.variable} ${geistMono.variable} h-screen flex flex-col`}
>
<NextAuthSessionProvider session={session}>
{children}
</NextAuthSessionProvider>
</body>
</html>
);
const session = await getServerSession();
return (
<html lang="de" data-theme="dark">
<body
className={`${geistSans.variable} ${geistMono.variable} h-screen flex flex-col`}
>
<NextAuthSessionProvider session={session}>
{children}
</NextAuthSessionProvider>
</body>
</html>
);
}