The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Set database page as landing page
Terry Sutton4df51164a22e
diff --git a/apps/docs/pages/guides/database.mdx b/apps/docs/pages/guides/database.mdxindex 90a72a9bacf..7efa2ad7513 100644--- a/apps/docs/pages/guides/database.mdx+++ b/apps/docs/pages/guides/database.mdx@@ -1,6 +1,4 @@import Layout from '~/layouts/DefaultGuideLayout'-import NewContent from '~/pages/new/database.mdx'-import { useRouter } from 'next/router'export const meta = {id: 'database',@@ -90,12 +88,6 @@ Read about resetting your database password [here](/docs/guides/database/managin- Read more about [Postgres](https://www.postgresql.org/about/)- Sign in: [app.supabase.com](https://app.supabase.com)-export const Page = ({ children }) => {- const router = useRouter()- if (process.env.NEXT_PUBLIC_NEW_DOCS === 'true' && !router.asPath.includes('overview')) {- return NewContent()- }- return <Layout meta={meta} children={children} />-}+export const Page = ({ children }) => <Layout meta={meta} children={children} />export default Pagediff --git a/apps/docs/pages/new/database.mdx b/apps/docs/pages/new/database.mdxdeleted file mode 100644index 56a04f8ad28..00000000000--- a/apps/docs/pages/new/database.mdx+++ /dev/null@@ -1,85 +0,0 @@-import Layout from '~/layouts/DefaultLayout'-import Link from 'next/link'-import { GlassPanel } from 'ui'--export const meta = {- title: 'Database',-}--## Learn how to use Supabase Auth to handle authentication and authorization of your users blah blah i am test text--### Popular Guides--<div className="grid grid-cols-12 gap-6 not-prose">- {topArticles.map((item) => {- return (- <Link- href={`/new/${item.href}`}- key={item.title}- passHref- >- <a className={item.span ?? 'col-span-4'}>- <GlassPanel- title="Social Login"- header="/docs/img/cards/sample-card-header-4.svg"- span="col-span-6"- background={false}- >- {item.description}- </GlassPanel>- </a>- </Link>- )})}--</div>--export const topArticles = [- {- title: 'Database',- header: '/docs/img/cards/sample-card-header-4.svg',- href: '/auth/auth-login',- description: 'Social Login allows the user to sign into a third party website instead of.',- span: 'col-span-6',- },- {- title: 'Auth',- header: '/docs/img/cards/sample-card-header-4.svg',- icon: 'auth',- href: '/auth/auth-login',- description: `-Social Login allows the user to sign into a third party website instead of creating a new account specifically for that website.- `,- span: 'col-span-6',- },- {- title: 'Storage',- header: '/docs/img/cards/sample-card-header-4.svg',- icon: 'storage',- href: '/auth/auth-login',- description: `-Social Login allows the user to sign into a third party website instead of creating a new account specifically for that website.- `,- },- {- title: 'Realtime',- header: '/docs/img/cards/sample-card-header-4.svg',- icon: 'realtime',- href: '/auth/auth-login',- description: `-Social Login allows the user to sign into a third party website instead of creating a new account specifically for that website.- `,- },- {- title: 'Edge Functions',- header: '/docs/img/cards/sample-card-header-4.svg',- icon: 'functions',- href: '/auth/auth-login',- description: `-Social Login allows the user to sign into a third party website instead of creating a new account specifically for that website.- `,- },-]--export const Page = ({ children }) => <Layout meta={meta} children={children} />--export default Page