Initial commit

This commit is contained in:
twotalesanimation
2026-06-11 10:46:09 +02:00
commit 81ad7e4ea9
223 changed files with 39530 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
// app/providers.tsx (client)
'use client';
import { SessionProvider } from 'next-auth/react';
import { ThemeProvider } from 'next-themes';
import type { PropsWithChildren } from 'react';
type Props = PropsWithChildren<{ session?: any }>;
export function Providers({ children, session }: Props) {
return (
<SessionProvider session={session}>
<ThemeProvider
attribute="class" // toggles `class="dark"` on <html>
defaultTheme="dark" // default to dark to match server if you want dark by default
enableSystem={false}
>
{children}
</ThemeProvider>
</SessionProvider>
);
}