Skip to content

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

fix links in new docs

Inian503f3da118f1
diff --git a/apps/reference/docs/about.mdx b/apps/reference/docs/about.mdx
index 13ed94d8911..38ba6b3b8df 100755
--- a/apps/reference/docs/about.mdx
+++ b/apps/reference/docs/about.mdx
@@ -27,14 +27,14 @@ const frameworks = [
{
name: 'Angular',
logo: AngularLogo,
- href: '/docs/guides/with-angular',
+ href: '/guides/with-angular',
},
{
name: 'Expo',
logo: ExpoLogo,
href: 'https://github.com/supabase/supabase/tree/master/examples/todo-list/expo-todo-list',
},
- { name: 'Flutter', logo: DartLogo, href: '/docs/guides/with-flutter' },
+ { name: 'Flutter', logo: DartLogo, href: '/guides/with-flutter' },
{
name: 'JavaScript',
logo: JavascriptLogo,
@@ -47,13 +47,17 @@ const frameworks = [
dark: '/img/libraries/nextjs-dark-icon.svg',
light: '/img/libraries/nextjs-light-icon.svg',
},
- href: '/docs/guides/with-nextjs',
+ href: '/guides/with-nextjs',
},
- { name: 'React', logo: ReactLogo, href: '/docs/guides/with-react' },
- { name: 'RedwoodJS', logo: RedwoodJsLogo, href: '/docs/guides/with-redwoodjs' },
- { name: 'SolidJS', logo: SolidJSLogo, href: '/docs/guides/with-solidjs' },
- { name: 'Svelte', logo: SvelteLogo, href: '/docs/guides/with-svelte' },
- { name: 'Vue', logo: VuejsLogo, href: '/docs/guides/with-vue-3' },
+ { name: 'React', logo: ReactLogo, href: '/guides/with-react' },
+ {
+ name: 'RedwoodJS',
+ logo: RedwoodJsLogo,
+ href: '/guides/with-redwoodjs',
+ },
+ { name: 'SolidJS', logo: SolidJSLogo, href: '/guides/with-solidjs' },
+ { name: 'Svelte', logo: SvelteLogo, href: '/guides/with-svelte' },
+ { name: 'Vue', logo: VuejsLogo, href: '/guides/with-vue-3' },
]
Supabase is an open source Firebase alternative providing all the backend features you need to build a product.
@@ -67,7 +71,11 @@ You can use it completely, or just the features you need.
<div class="row is-multiline">
{/* Database */}
<div class="col col--4">
- <Link class="card" to="/docs/guides/database" style={{ height: '100%' }}>
+ <Link
+ class="card"
+ to={useBaseUrl('/guides/database')}
+ style={{ height: '100%' }}
+ >
<div class="card__body">
<h4>Database</h4>
<p>A dedicated, scalable Postgres database.</p>
@@ -76,7 +84,11 @@ You can use it completely, or just the features you need.
</div>
{/* API */}
<div class="col col--4">
- <Link class="card" to="/docs/guides/api" style={{ height: '100%' }}>
+ <Link
+ class="card"
+ to={useBaseUrl('/guides/api')}
+ style={{ height: '100%' }}
+ >
<div class="card__body">
<h4>Auto-generated APIs</h4>
<p>Instantly generate APIs for your database.</p>
@@ -85,7 +97,11 @@ You can use it completely, or just the features you need.
</div>
{/* Functions */}
<div class="col col--4">
- <Link class="card" to="/docs/guides/functions" style={{ height: '100%' }}>
+ <Link
+ class="card"
+ to={useBaseUrl('/guides/functions')}
+ style={{ height: '100%' }}
+ >
<div class="card__body">
<h4>Edge Functions</h4>
<p>Server-side functions, distributed globally.</p>
@@ -94,7 +110,11 @@ You can use it completely, or just the features you need.
</div>
{/* Auth */}
<div class="col col--4">
- <Link class="card" to="/docs/guides/auth" style={{ height: '100%' }}>
+ <Link
+ class="card"
+ to={useBaseUrl('/guides/auth')}
+ style={{ height: '100%' }}
+ >
<div class="card__body">
<h4>Auth</h4>
<p>User management with Row Level Security.</p>
@@ -103,7 +123,11 @@ You can use it completely, or just the features you need.
</div>
{/* Storage */}
<div class="col col--4">
- <Link class="card" to="/docs/guides/storage" style={{ height: '100%' }}>
+ <Link
+ class="card"
+ to={useBaseUrl('/guides/storage')}
+ style={{ height: '100%' }}
+ >
<div class="card__body">
<h4>File Storage</h4>
<p>Store, organize, and serve large files.</p>
@@ -112,7 +136,11 @@ You can use it completely, or just the features you need.
</div>
{/* Observability */}
<div class="col col--4">
- <Link class="card" to="/docs/guides/platform/logs" style={{ height: '100%' }}>
+ <Link
+ class="card"
+ to={useBaseUrl('/guides/platform/logs')}
+ style={{ height: '100%' }}
+ >
<div class="card__body">
<h4>Observability</h4>
<p>Monitor and debug your infrastucture.</p>
@@ -131,10 +159,17 @@ Supabase is just Postgres, which makes it compatible with a large number of tool
<div class="row is-multiline">
{frameworks.map((x) => (
<div key={x.name} class="col col--3">
- <Link class="card" to={x.href}>
- <div class="card__body" style={{ display: 'flex', gap: 20, alignItems: 'center' }}>
+ <Link class="card" to={useBaseUrl(x.href)}>
+ <div
+ class="card__body"
+ style={{ display: 'flex', gap: 20, alignItems: 'center' }}
+ >
{x.logo && !x.themed ? (
- <x.logo width="20" alt={x.name} style={{ display: 'block', maxHeight: 20 }} />
+ <x.logo
+ width="20"
+ alt={x.name}
+ style={{ display: 'block', maxHeight: 20 }}
+ />
) : (
<ThemedImage
style={{ display: 'block', maxHeight: 20 }}