"use client"; import type { ReactNode } from "react"; import { usePathname } from "next/navigation"; import { ThemeProvider as NextThemesProvider } from "next-themes"; // Light and dark themes, remembered per browser. The home page stays dark: its particle field is light drawn on a dark void. export function ThemeProvider({ children }: { children: ReactNode }) { const pathname = usePathname(); return ( {children} ); }