Skip to content

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

Update basePath

Joshen Lim19384072d528
diff --git a/apps/temp-docs/components/nav/NavBar.tsx b/apps/temp-docs/components/nav/NavBar.tsx
index e5e1a515e2e..7435520a6c0 100644
--- a/apps/temp-docs/components/nav/NavBar.tsx
+++ b/apps/temp-docs/components/nav/NavBar.tsx
@@ -13,7 +13,7 @@ const NavBar = ({ currentPage }: { currentPage: string }) => {
}, [isDarkMode])
const pageLinks = [
- { text: 'Guides', link: '/' },
+ { text: 'Guides', link: '/docs' },
{ text: 'Reference', link: '/reference' },
]
@@ -42,7 +42,7 @@ const NavBar = ({ currentPage }: { currentPage: string }) => {
<a className="flex items-center">
<Image
className="cursor-pointer"
- src={isDarkMode ? `/supabase-dark.svg` : `/supabase-light.svg`}
+ src={isDarkMode ? '/docs/supabase-dark.svg' : '/docs/supabase-light.svg'}
width={124}
height={24}
alt="Supabase Logo"
diff --git a/apps/temp-docs/next.config.mjs b/apps/temp-docs/next.config.mjs
index bb89bccd703..2faf39081a5 100644
--- a/apps/temp-docs/next.config.mjs
+++ b/apps/temp-docs/next.config.mjs
@@ -46,6 +46,7 @@ const nextConfig = {
pageExtensions: ['ts', 'tsx', 'js', 'jsx', 'md', 'mdx'],
reactStrictMode: true,
swcMinify: true,
+ basePath: '/docs',
}
// next.config.js