anjam shod

This commit is contained in:
ahmadrezabd
2025-12-15 16:08:40 +03:30
parent b36f1cc22e
commit adc5122b0a
27 changed files with 450 additions and 389 deletions
+21
View File
@@ -0,0 +1,21 @@
'use client'
import { ThemeProvider as NextThemesProvider } from 'next-themes'
export function ThemeProvider({
children,
}: {
children: React.ReactNode
}) {
return (
<NextThemesProvider
attribute="class"
defaultTheme="light"
enableSystem
disableTransitionOnChange={false}
>
{children}
</NextThemesProvider>
)
}