Skip to content

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

fix more links

Inian Parameshwaran675d5d26a2c2
diff --git a/www/components/Footer/index.tsx b/www/components/Footer/index.tsx
index d90ab25c227..2ceb71f406b 100644
--- a/www/components/Footer/index.tsx
+++ b/www/components/Footer/index.tsx
@@ -66,7 +66,7 @@ const Footer = (props: Props) => {
<div className="space-y-8 xl:col-span-1">
<img
className="h-10 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="Supabase"
/>
<div className="flex space-x-6">
diff --git a/www/pages/beta.tsx b/www/pages/beta.tsx
index c5ffb0323fb..aeab0c04d8e 100644
--- a/www/pages/beta.tsx
+++ b/www/pages/beta.tsx
@@ -7,6 +7,7 @@ import FlyOut from 'components/UI/FlyOut'
import { APP_NAME, DESCRIPTION } from 'lib/constants'
import { AlphaNumbers, IntroductionSegments, PerformanceComparisonData } from 'data/BetaPage'
import { render } from 'react-dom'
+import { useRouter } from 'next/router'
const site_title = `${APP_NAME} | We are now in Beta`
@@ -771,6 +772,7 @@ const WhatsNext = () => (
const Beta = () => {
const [ menuOpen, setMenuOpen ] = useState<boolean>(false)
+ const { basePath } = useRouter()
const references: any = {
performance: useRef<HTMLDivElement>(null),
@@ -811,7 +813,7 @@ const Beta = () => {
</Head>
<Container>
<div className="relative shadow-lg py-5 px-5 xl:px-20 sticky inset-0 bg-dark-800 z-50 flex items-center justify-between">
- <img className="h-5" src="images/logo-dark.png" />
+ <img className="h-5" src={`${basePath}/images/logo-dark.png`} />
<HamburgerMenu openMenu={() => setMenuOpen(!menuOpen)}/>
<FlyOut
open={menuOpen}