diff --git a/public/logo-dark.png b/public/logo-dark.png index 38b1909..c06758d 100644 Binary files a/public/logo-dark.png and b/public/logo-dark.png differ diff --git a/src/components/shared/logo.tsx b/src/components/shared/logo.tsx index fbad0f2..8fc0056 100644 --- a/src/components/shared/logo.tsx +++ b/src/components/shared/logo.tsx @@ -1,3 +1,5 @@ +'use client'; + import { websiteConfig } from '@/config'; import { cn } from '@/lib/utils'; import { useTheme } from 'next-themes'; @@ -6,7 +8,7 @@ import Image from 'next/image'; export function Logo({ className }: { className?: string }) { const theme = useTheme(); const logoLight = websiteConfig.logo.light ?? '/logo.png'; - const logoDark = websiteConfig.logo.dark ?? '/logo-dark.png'; + const logoDark = websiteConfig.logo.dark ?? logoLight; const logo = theme.theme === 'dark' ? logoDark : logoLight; return (