Skip to content

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

Fixed navbar active link color issue

amintai14e5a2f71202
diff --git a/apps/www/components/Nav/index.tsx b/apps/www/components/Nav/index.tsx
index 4149d2eb1e6..758fca78a08 100644
--- a/apps/www/components/Nav/index.tsx
+++ b/apps/www/components/Nav/index.tsx
@@ -166,7 +166,6 @@ const Nav = () => {
<div
className={[
`
- text-scale-1200 hover:text-brand
inline-flex cursor-pointer items-center
border-b-2
border-transparent
@@ -174,6 +173,7 @@ const Nav = () => {
text-sm font-medium
transition-colors`,
showLaunchWeekNavMode && '!text-white',
+ props.active ? 'text-brand' : 'hover:text-brand',
props.active,
].join(' ')}
onClick={props.onClick}