Skip to content

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

fix broken images, use shortand fragment and polish

Florian LEFEBVRE1dc499ecf909
diff --git a/www/components/Nav/index.tsx b/www/components/Nav/index.tsx
index bd83a53ceff..61512411929 100644
--- a/www/components/Nav/index.tsx
+++ b/www/components/Nav/index.tsx
@@ -1,4 +1,4 @@
-import React, { useState, Fragment } from 'react'
+import React, { useState } from 'react'
import Link from 'next/link'
import { useRouter } from 'next/router'
@@ -183,7 +183,7 @@ const Nav = (props: Props) => {
)
return (
- <Fragment>
+ <>
{/* Announcement Nav */}
<div className="sticky top-0 z-50">
<nav className="bg-white dark:bg-gray-800 border-b dark:border-gray-600">
@@ -196,7 +196,7 @@ const Nav = (props: Props) => {
<Link href="/" as="/">
<img
className="block h-6 w-auto"
- src={darkMode ? `/images/logo-dark.png` : `/images/logo-light.png`}
+ src={darkMode ? `${basePath}/images/logo-dark.png` : `${basePath}/images/logo-light.png`}
alt="Logo"
/>
</Link>
@@ -341,7 +341,7 @@ const Nav = (props: Props) => {
<Developers />
</FlyOut>
</div>
- </Fragment>
+ </>
)
}
diff --git a/www/pages/beta.tsx b/www/pages/beta.tsx
index 3b5f9aa28eb..d022a222311 100644
--- a/www/pages/beta.tsx
+++ b/www/pages/beta.tsx
@@ -189,7 +189,7 @@ const Introduction = () => {
className="col-span-6 sm:col-span-4 grid grid-cols-8 sm:grid-cols-12 gap-x-1 md:gap-x-0 xl:gap-x-6 items-center"
>
<div className="col-span-4 sm:col-span-4 md:col-span-3 xl:col-span-2">
- <div className="w-12 h-12 rounded-md bg-dark-700 flex items-center justify-center bg-gray-900 dark:bg-white">
+ <div className="w-12 h-12 rounded-md bg-dark-700 flex items-center justify-center dark:bg-white">
{stat.icon}
</div>
</div>
@@ -712,8 +712,11 @@ const BetaPricing = () => (
</li>
</ul>
<p>
- The Supabase Base Tier is now called the Supabase Pro tier as per the pricing page:
- https://supabase.io/pricing
+ The Supabase Base Tier is now called the Supabase Pro tier as per the{' '}
+ <a href="https://supabase.io/pricing" className="text-brand-700 hover:text-brand-800">
+ pricing page
+ </a>
+ .
</p>
</div>
</div>
@@ -990,7 +993,7 @@ const Beta = () => {
<div className="sticky inset-0 z-50">
<div className="shadow-lg py-5 px-5 xl:px-20 bg-dark-800 flex items-center justify-between">
<a href="/">
- <img className="h-5" src={`/images/logo-dark.png`} />
+ <img className="h-5" src={`${basePath}/images/logo-dark.png`} />
</a>
<HamburgerMenu openMenu={() => setMenuOpen(!menuOpen)} />
</div>