Update package dependencies, implement theme provider in layout, and refine component styles for improved responsiveness
This commit is contained in:
parent
73112f6680
commit
ef3b0c9997
13 changed files with 168 additions and 22 deletions
11
components/theme-provider.tsx
Normal file
11
components/theme-provider.tsx
Normal file
|
@ -0,0 +1,11 @@
|
|||
"use client";
|
||||
|
||||
import * as React from "react";
|
||||
import { ThemeProvider as NextThemesProvider } from "next-themes";
|
||||
|
||||
export function ThemeProvider({
|
||||
children,
|
||||
...props
|
||||
}: React.ComponentProps<typeof NextThemesProvider>) {
|
||||
return <NextThemesProvider {...props}>{children}</NextThemesProvider>;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue