The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix:#17512 and formatted
Yashca2b7b85fef4
diff --git a/apps/www/components/Nav/index.tsx b/apps/www/components/Nav/index.tsxindex 5b321c0318a..ac2f75dfdc2 100644--- a/apps/www/components/Nav/index.tsx+++ b/apps/www/components/Nav/index.tsx@@ -27,8 +27,7 @@ const Nav = () => {const [openDevelopers, setOpenDevelopers] = useState(false)const isLoggedIn = useIsLoggedIn()const isUserLoading = useIsUserLoading()--+const isHomePage = router.pathname === '/'const isLaunchWeekPage = router.pathname.includes('launch-week')const showLaunchWeekNavMode =@@ -292,17 +291,17 @@ const Nav = () => {</div></div><div className="flex items-center gap-2">- {- (!isUserLoading) && <>- <a href="https://github.com/supabase/supabase" target="_blank">- <Button- className="hidden group lg:flex"- type="text"- icon={- <div className="flex items-center justify-center w-4 h-4 text-brand-300">- <div- className={[- `text-scale-900 flex h-3 w-3 items-center justify-center+ {!isUserLoading && (+ <>+ <a href="https://github.com/supabase/supabase" target="_blank">+ <Button+ className="hidden group lg:flex"+ type="text"+ icon={+ <div className="flex items-center justify-center w-4 h-4 text-brand-300">+ <div+ className={[+ `text-scale-900 flex h-3 w-3 items-center justify-centertransition-allgroup-hover:h-4@@ -312,46 +311,48 @@ const Nav = () => {group-focus:w-4group-focus:text-yellow-900`,- showLaunchWeekNavMode && '!text-white',- ].join(' ')}- >- <IconStar strokeWidth={2} />+ showLaunchWeekNavMode && '!text-white',+ ].join(' ')}+ >+ <IconStar strokeWidth={2} />+ </div></div>- </div>- }- >- <span- // className={isLaunchWeekPage ? '!text-white' : ''}+ }>- Star us on GitHub- </span>- </Button>- </a>+ <span+ // className={isLaunchWeekPage ? '!text-white' : ''}+ >+ Star us on GitHub+ </span>+ </Button>+ </a>- {isLoggedIn ? (- <Link href="/dashboard/projects">- <a>- <Button className="hidden text-white lg:block">Dashboard</Button>- </a>- </Link>- ) : (- <>- <Link href="https://supabase.com/dashboard">+ {isLoggedIn ? (+ <Link href="/dashboard/projects"><a>- <Button type="default" className="hidden lg:block">- Sign in- </Button>+ <Button className="hidden text-white lg:block">Dashboard</Button></a></Link>- <Link href="https://supabase.com/dashboard">- <a>- <Button className="hidden text-white lg:block">Start your project</Button>- </a>- </Link>- </>- )}+ ) : (+ <>+ <Link href="https://supabase.com/dashboard">+ <a>+ <Button type="default" className="hidden lg:block">+ Sign in+ </Button>+ </a>+ </Link>+ <Link href="https://supabase.com/dashboard">+ <a>+ <Button className="hidden text-white lg:block">+ Start your project+ </Button>+ </a>+ </Link>+ </>+ )}</>- }+ )}</div></div></div>