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 Parameshwaran68dc9368eb17
diff --git a/www/components/Footer/index.tsx b/www/components/Footer/index.tsx
index 3abffa2eb9a..d2aa1ac150c 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 ? `${basePath}/images/logo-dark.png` : `${basePath}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/components/Nav/FlyOut.tsx b/www/components/Nav/FlyOut.tsx
index 55bd3a5485e..05053ca105b 100644
--- a/www/components/Nav/FlyOut.tsx
+++ b/www/components/Nav/FlyOut.tsx
@@ -3,8 +3,10 @@ import Badge from 'components/Badge'
import Transition from 'lib/Transition'
import Solutions from 'data/Solutions.json'
import CaseStudiesData from 'data/CaseStudies.json'
+import { useRouter } from 'next/router'
const FlyOut = () => {
+ const { basePath } = useRouter()
const [show, setShow] = useState(false)
function handleToggle() {
@@ -144,7 +146,7 @@ const FlyOut = () => {
<div className="hidden sm:block flex-shrink-0">
<img
className="w-32 h-20 object-cover rounded-md"
- src={caseStudy.imgUrl}
+ src={`${basePath}/${caseStudy.imgUrl}`}
alt="caseStudyThumb"
/>
</div>