mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 01:15:03 +03:00
chore(design-system): rewrite to design-system site (#42187)
* rewrites * handle /design-system * ivan suggestions * rabbit * use design-system instead
This commit is contained in:
1 parent
228edde39c
commit
adc5cd8226
4 files changed
+15
No files matched your search
@@ -9,3 +9,4 @@ NEXT_PUBLIC_DOCS_URL="http://localhost:3001"
|
||||
NEXT_PUBLIC_STUDIO_URL="http://localhost:8082"
|
||||
NEXT_PUBLIC_REFERENCE_DOCS_URL="http://localhost:3010"
|
||||
NEXT_PUBLIC_UI_LIBRARY_URL="http://localhost:3004"
|
||||
NEXT_PUBLIC_DESIGN_SYSTEM_URL="http://localhost:3003"
|
||||
@@ -1,5 +1,6 @@
|
||||
# Copy this file in the same folder, rename it to .env.local and fill out the env vars to get www working
|
||||
NEXT_PUBLIC_API_URL="http://localhost:8080/platform"
|
||||
NEXT_PUBLIC_DESIGN_SYSTEM_URL="http://localhost:3003"
|
||||
NEXT_PUBLIC_DOCS_URL="http://localhost:3005"
|
||||
NEXT_PUBLIC_MISC_USE_ANON_KEY="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Im9idWxkYW5ycHRsb2t0eGNmZnZuIiwicm9sZSI6ImFub24iLCJpYXQiOjE3MTg2MTQ2ODUsImV4cCI6MjAzNDE5MDY4NX0.NFt49g6DFkc1X5khCzN5p01iAVo2TMxlx88cY1V0E2M"
|
||||
NEXT_PUBLIC_MISC_USE_URL="https://obuldanrptloktxcffvn.supabase.co"
|
||||
|
||||
@@ -3038,6 +3038,11 @@ module.exports = [
|
||||
source: '/mcp',
|
||||
destination: '/docs/guides/getting-started/mcp',
|
||||
},
|
||||
{
|
||||
permanent: true,
|
||||
source: '/design',
|
||||
destination: '/design-system',
|
||||
},
|
||||
|
||||
// marketing
|
||||
|
||||
|
||||
@@ -29,6 +29,14 @@ const rewrites = [
|
||||
source: '/ui/:path*',
|
||||
destination: `${process.env.NEXT_PUBLIC_UI_LIBRARY_URL}/:path*`,
|
||||
},
|
||||
{
|
||||
source: '/design-system',
|
||||
destination: `${process.env.NEXT_PUBLIC_DESIGN_SYSTEM_URL}`,
|
||||
},
|
||||
{
|
||||
source: '/design-system/:path*',
|
||||
destination: `${process.env.NEXT_PUBLIC_DESIGN_SYSTEM_URL}/:path*`,
|
||||
},
|
||||
|
||||
{
|
||||
source: '/new-docs',
|
||||
|
||||
Reference in new issue
Block a user