* feat: integrate payload cms to landing page * feat: add payload configuration and update TypeScript target * fix: update TypeScript paths for payload configuration * refactor: update config import paths to use local payload.config * fix: update quotation marks for testimonials to use HTML entities * fix: include withPayload in Next.js plugins for proper configuration
9 lines
289 B
TypeScript
9 lines
289 B
TypeScript
'use client';
|
|
|
|
import type { ThemeProviderProps } from 'next-themes';
|
|
import { ThemeProvider as NextThemesProvider } from 'next-themes';
|
|
|
|
export function ThemeProvider({ children, ...props }: ThemeProviderProps) {
|
|
return <NextThemesProvider {...props}>{children}</NextThemesProvider>;
|
|
}
|