The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix some guides
Jonathan Summers-Muird9d96e122852
diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsx b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsxindex b50c83d7b71..ad75f242e1a 100644--- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsx+++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsx@@ -193,7 +193,7 @@ const SideNav = () => {{label: 'Auth',icon: '/img/icons/menu/auth',- href: '/guides/auth',+ href: '/guides/auth/overview',level: 'auth',},{diff --git a/apps/docs/layouts/guides/current.tsx b/apps/docs/layouts/guides/current.tsxindex 00a1a45a09f..6b3e9038518 100644--- a/apps/docs/layouts/guides/current.tsx+++ b/apps/docs/layouts/guides/current.tsx@@ -19,6 +19,7 @@ interface Props {children: anytoc?: anycurrentPage?: string+ hideToc?: boolean}const Layout: FC<Props> = (props) => {@@ -92,7 +93,7 @@ const Layout: FC<Props> = (props) => {<divclassName={['relative',- 'col-span-9',+ !props.hideToc ? 'col-span-9' : 'col-span-12','transition-all ease-out','duration-100',active ? 'opacity-100 left-0' : 'opacity-0 left-6',@@ -115,7 +116,7 @@ const Layout: FC<Props> = (props) => {<MDXProvider components={components}>{props.children}</MDXProvider></article></div>- {hasTableOfContents && !props.meta?.hide_table_of_contents && (+ {!props.hideToc && hasTableOfContents && !props.meta?.hide_table_of_contents && (<divclassName={['col-span-3',diff --git a/apps/docs/pages/getting-started/quickstarts/nextjs.mdx b/apps/docs/pages/getting-started/quickstarts/nextjs.mdxindex 376ef6bde79..e2a4d43c9b3 100644--- a/apps/docs/pages/getting-started/quickstarts/nextjs.mdx+++ b/apps/docs/pages/getting-started/quickstarts/nextjs.mdx@@ -148,5 +148,5 @@ The fastest way to get started with supabase and NextJS is to use the supabase-j</StepHikeCompact>-export const Page = ({ children }) => <Layout meta={meta} children={children} />+export const Page = ({ children }) => <Layout meta={meta} children={children} hideToc={true} />export default Pagediff --git a/apps/docs/pages/getting-started/quickstarts/nuxtjs.mdx b/apps/docs/pages/getting-started/quickstarts/nuxtjs.mdxindex cf699ea7cf8..366120f35e9 100644--- a/apps/docs/pages/getting-started/quickstarts/nuxtjs.mdx+++ b/apps/docs/pages/getting-started/quickstarts/nuxtjs.mdx@@ -144,5 +144,5 @@ The fastest way to get started with supabase and Nuxt.js is to use the supabase-</StepHikeCompact>-export const Page = ({ children }) => <Layout meta={meta} children={children} />+export const Page = ({ children }) => <Layout meta={meta} children={children} hideToc={true} />export default Pagediff --git a/apps/docs/pages/getting-started/quickstarts/reactjs.mdx b/apps/docs/pages/getting-started/quickstarts/reactjs.mdxindex 34f48421c7f..2549715e3da 100644--- a/apps/docs/pages/getting-started/quickstarts/reactjs.mdx+++ b/apps/docs/pages/getting-started/quickstarts/reactjs.mdx@@ -88,22 +88,6 @@ The fastest way to get started with supabase and create-react-app is to use the</StepHikeCompact.Details>- <StepHikeCompact.Code>-- ```sql SQL_EDITOR- -- this creates the table- CREATE TABLE countries (- id SERIAL PRIMARY KEY,- name VARCHAR(255) NOT NULL- );- -- insert some sample data into new table- INSERT INTO countries (name) VALUES ('United States');- INSERT INTO countries (name) VALUES ('Canada');- INSERT INTO countries (name) VALUES ('Mexico');- ````-- </StepHikeCompact.Code>-</StepHikeCompact.Step><StepHikeCompact.Step step={6}>@@ -112,9 +96,9 @@ The fastest way to get started with supabase and create-react-app is to use theYou can select from the countries table in your Supabase server by doing the following:</StepHikeCompact.Details>-<StepHikeCompact.Code>+```js src/index.jsimport { createClient } from '@supabase-js'@@ -129,9 +113,8 @@ The fastest way to get started with supabase and create-react-app is to use the</StepHikeCompact.Code></StepHikeCompact.Step>-</StepHikeCompact>-export const Page = ({ children }) => <Layout meta={meta} children={children} />+export const Page = ({ children }) => <Layout meta={meta} children={children} hideToc={true} />export default Page