Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix logo on page refresh (#21685)

Francesco Sansalvadoree4cd8f389238
diff --git a/apps/www/components/Nav/index.tsx b/apps/www/components/Nav/index.tsx
index 22d3baf20a2..d8d1ca6f1bf 100644
--- a/apps/www/components/Nav/index.tsx
+++ b/apps/www/components/Nav/index.tsx
@@ -91,10 +91,19 @@ const Nav = (props: Props) => {
className="block w-auto h-6 focus-visible:ring-2 focus-visible:outline-none focus-visible:ring-foreground-lighter focus-visible:ring-offset-4 focus-visible:ring-offset-background-alternative focus-visible:rounded-sm"
>
<Image
- src={showDarkLogo ? supabaseLogoWordmarkDark : supabaseLogoWordmarkLight}
+ src={supabaseLogoWordmarkLight}
width={124}
height={24}
alt="Supabase Logo"
+ className="dark:hidden"
+ priority
+ />
+ <Image
+ src={supabaseLogoWordmarkDark}
+ width={124}
+ height={24}
+ alt="Supabase Logo"
+ className="hidden dark:block"
priority
/>
</Link>