Skip to content

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

Merge pull request #15072 from supabase/docs/fix/navbar-github-link

Isaiah Hamiltonb59c86836ee3
diff --cc apps/docs/components/Navigation/NavigationMenu/TopNavBarRef.tsx
index 0e6bc103f80,ccb59354c84..bd080d8e7c9
--- a/apps/docs/components/Navigation/NavigationMenu/TopNavBarRef.tsx
+++ b/apps/docs/components/Navigation/NavigationMenu/TopNavBarRef.tsx
@@@ -105,46 -105,50 +105,40 @@@ const TopNavBarRef: FC = () =>
</SearchButton>
</div>
<div className="hidden lg:flex grow items-center justify-end gap-3">
- <Button
- type="text"
- as="a"
- // @ts-ignore
- href="https://supabase.com"
- target="_blank"
- rel="noreferrer noopener"
- >
- Supabase.com
+ <Button type="text" asChild>
+ <a href="https://supabase.com" target="_blank" rel="noreferrer noopener">
+ Supabase.com
+ </a>
</Button>
- <Button
- type="text"
- as="a"
- // @ts-ignore
- href="https://supabase.com/dashboard"
- target="_blank"
- rel="noreferrer noopener"
- >
- Dashboard
+ <Button type="text" asChild>
+ <a href="https://supabase.com/dashboard" target="_blank" rel="noreferrer noopener">
+ Dashboard
+ </a>
</Button>
- <ul className="flex items-center">
- <Link
- href="https://github.com/supabase/supabase"
- target="_blank"
- rel="noreferrer noopener"
- >
- <a className="px-2.5 py-1" target="_blank">
- <IconGitHub size={16} />
- </a>
- </Link>
- </ul>
- <ul className="flex items-center">
- <li className="px-4">
- <div className="cursor-pointer" onClick={() => toggleTheme()}>
- {isDarkMode ? (
- <IconMoon
- size={16}
- strokeWidth={1}
- className="text-scale-1100 hover:text-scale-1200 transition"
- />
- ) : (
- <IconSun
- size={16}
- strokeWidth={1}
- className="text-scale-1100 hover:text-scale-1200 transition"
- />
- )}
- </div>
- </li>
- </ul>
+ <Link
+ href="https://github.com/supabase/supabase"
+ target="_blank"
+ rel="noreferrer noopener"
+ >
+ <a className="px-2.5 py-1" target="_blank">
+ <IconGitHub size={16} className="text-scale-1100 hover:text-scale-1200 transition" />
+ </a>
+ </Link>
+ <div className="cursor-pointer px-2.5 py-1" onClick={() => toggleTheme()}>
+ {isDarkMode ? (
+ <IconMoon
+ size={16}
+ strokeWidth={1}
+ className="text-scale-1100 hover:text-scale-1200 transition"
+ />
+ ) : (
+ <IconSun
+ size={16}
+ strokeWidth={1}
+ className="text-scale-1100 hover:text-scale-1200 transition"
+ />
+ )}
+ </div>
</div>
</div>
</nav>