The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
update tutorials page
Jonathan Summers-Muir99196254da20
diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.tsindex beb01e0a870..1d843dd537b 100644--- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts+++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts@@ -57,8 +57,13 @@ export const tutorials = {label: 'Quickstarts',items: [{- name: 'Javascript',+ name: 'Web apps',items: [+ {+ name: 'Next.js',+ url: '/guides/tutorials/with-nextjs',+ items: [],+ },{name: 'React',url: '/guides/tutorials/with-react',@@ -66,18 +71,18 @@ export const tutorials = {icon: '/img/icons/react-icon.svg',},{- name: 'Next.js',- url: '/guides/tutorials/with-nextjs',+ name: 'Vue 3',+ url: '/guides/tutorials/with-vue-3',items: [],},{- name: 'Angular',- url: '/guides/tutorials/with-angular',+ name: 'Nuxt 3',+ url: '/guides/tutorials/with-nuxt-3',items: [],},{- name: 'Nuxt 3',- url: '/guides/tutorials/with-nuxt-3',+ name: 'Angular',+ url: '/guides/tutorials/with-angular',items: [],},{@@ -100,15 +105,10 @@ export const tutorials = {url: '/guides/tutorials/with-sveltekit',items: [],},- {- name: 'Vue 3',- url: '/guides/tutorials/with-vue-3',- items: [],- },],},{- name: 'Mobile-Based',+ name: 'Mobile',items: [{name: 'Flutter',@@ -123,13 +123,8 @@ export const tutorials = {],},{- name: 'Low-Code',+ name: 'Low code',items: [- {- name: 'Ionic Angular',- url: '/guides/tutorials/with-ionic-angular',- items: [],- },{name: 'Ionic React',url: '/guides/tutorials/with-ionic-react',@@ -140,6 +135,11 @@ export const tutorials = {url: '/guides/tutorials/with-ionic-vue',items: [],},+ {+ name: 'Ionic Angular',+ url: '/guides/tutorials/with-ionic-angular',+ items: [],+ },],},],diff --git a/apps/docs/pages/guides/tutorials.mdx b/apps/docs/pages/guides/tutorials.mdxindex c3e5c5cf635..39f553feea8 100644--- a/apps/docs/pages/guides/tutorials.mdx+++ b/apps/docs/pages/guides/tutorials.mdx@@ -6,63 +6,151 @@ export const meta = {title: 'Tutorials',}-### Popular Guides+### Webapps<div className="grid grid-cols-12 gap-6 not-prose">- {topArticles.map((item) => {+ {webapps.map((item) => {return (- <Link- href={`/${item.href}`}- key={item.title}- passHref- >- <a className={item.span ?? 'col-span-4'}>- <GlassPanel- title={item.title}- header="/docs/img/cards/sample-card-header-4.svg"- span="col-span-6"- background={false}- >+ <Link href={`/${item.href}`} key={item.title} passHref>+ <a className={'col-span-4'}>+ <GlassPanel title={item.title} span="col-span-6" background={false} icon={item.icon}>{item.description}</GlassPanel></a></Link>- )})}+ )+ })}+</div>++### Mobile+<div className="grid grid-cols-12 gap-6 not-prose">+ {mobile.map((item) => {+ return (+ <Link href={`/${item.href}`} key={item.title} passHref>+ <a className={'col-span-4'}>+ <GlassPanel title={item.title} span="col-span-6" background={false} icon={item.icon}>+ {item.description}+ </GlassPanel>+ </a>+ </Link>+ )+ })}</div>-export const topArticles = [+### Low code++<div className="grid grid-cols-12 gap-6 not-prose">+ {lowCode.map((item) => {+ return (+ <Link href={`/${item.href}`} key={item.title} passHref>+ <a className={'col-span-4'}>+ <GlassPanel title={item.title} span="col-span-6" background={false} icon={item.icon}>+ {item.description}+ </GlassPanel>+ </a>+ </Link>+ )+ })}+</div>++export const webapps = [{title: 'NextJS',- header: '/docs/img/cards/sample-card-header-4.svg',href: '/guides/tutorials/with-nextjs',- description: 'Learn how to build a user management app with NextJS and Supabase Database, Auth, and Storage functionality.',- span: 'col-span-6',+ description:+ 'Learn how to build a user management app with NextJS and Supabase Database, Auth, and Storage functionality.',+ icon: '/docs/img/icons/nextjs-icon',},{title: 'React',- header: '/docs/img/cards/sample-card-header-4.svg',href: '/guides/tutorials/with-react',- description: 'Learn how to build a user management app with React and Supabase Database, Auth, and Storage functionality.',- span: 'col-span-6',- },- {- title: 'Flutter',- header: '/docs/img/cards/sample-card-header-4.svg',- href: '/guides/tutorials/with-flutter',- description: 'Learn how to build a user management app with Flutter and Supabase Database, Auth, and Storage functionality.',+ description:+ 'Learn how to build a user management app with React and Supabase Database, Auth, and Storage functionality.',+ icon: '/docs/img/icons/react-icon',},{title: 'Vue 3',- header: '/docs/img/cards/sample-card-header-4.svg',href: '/guides/tutorials/with-vue-3',- description: 'Learn how to build a user management app with Vue 3 and Supabase Database, Auth, and Storage functionality.',+ description:+ 'Learn how to build a user management app with Vue 3 and Supabase Database, Auth, and Storage functionality.',+ icon: '/docs/img/icons/vuejs-icon',},{title: 'Nuxt 3',- header: '/docs/img/cards/sample-card-header-4.svg',href: '/guides/tutorials/with-nuxt-3',- description: 'Learn how to build a user management app with Nuxt 3 and Supabase Database, Auth, and Storage functionality.',+ description:+ 'Learn how to build a user management app with Nuxt 3 and Supabase Database, Auth, and Storage functionality.',+ icon: '/docs/img/icons/nuxt-icon',+ },+ {+ title: 'Anglular',+ href: '/guides/tutorials/with-angular',+ description:+ 'Learn how to build a user management app with Nuxt 3 and Supabase Database, Auth, and Storage functionality.',+ icon: '/docs/img/icons/angular-icon',+ },+ {+ title: 'RedwoodJS',+ href: '/guides/tutorials/with-redwoodjs',+ description:+ 'Learn how to build a user management app with Nuxt 3 and Supabase Database, Auth, and Storage functionality.',+ icon: '/docs/img/icons/redwood-icon',+ },+ {+ title: 'Svelte',+ href: '/guides/tutorials/with-svelte',+ description:+ 'Learn how to build a user management app with Nuxt 3 and Supabase Database, Auth, and Storage functionality.',+ icon: '/docs/img/icons/svelte-icon',+ },+ {+ title: 'SvelteKit',+ href: '/guides/tutorials/with-sveltekit',+ description:+ 'Learn how to build a user management app with Nuxt 3 and Supabase Database, Auth, and Storage functionality.',+ icon: '/docs/img/icons/svelte-icon',+ },+]++export const mobile = [+ {+ title: 'Flutter',+ href: '/guides/tutorials/with-flutter',+ description:+ 'Learn how to build a user management app with Flutter and Supabase Database, Auth, and Storage functionality.',+ icon: '/docs/img/icons/flutter-icon',+ },+ {+ title: 'Expo',+ href: '/guides/tutorials/with-expo',+ description:+ 'Learn how to build a user management app with React and Supabase Database, Auth, and Storage functionality.',+ icon: '/docs/img/icons/expo-icon',+ },+]++export const lowCode = [+ {+ title: 'Ionic React',+ href: '/guides/tutorials/with-ionic-react',+ description:+ 'Learn how to build a user management app with React and Supabase Database, Auth, and Storage functionality.',+ icon: '/docs/img/icons/ionic-icon',+ },+ {+ title: 'Ionic Vue',+ href: '/guides/tutorials/with-ionic-vue',+ description:+ 'Learn how to build a user management app with Flutter and Supabase Database, Auth, and Storage functionality.',+ icon: '/docs/img/icons/ionic-icon',+ },+ {+ title: 'Ionic Angular',+ href: '/guides/tutorials/with-ionic-angular',+ description:+ 'Learn how to build a user management app with NextJS and Supabase Database, Auth, and Storage functionality.',+ icon: '/docs/img/icons/ionic-icon',},]diff --git a/apps/docs/public/img/icons/ionic-icon.svg b/apps/docs/public/img/icons/ionic-icon.svgnew file mode 100644index 00000000000..470ac11daf1--- /dev/null+++ b/apps/docs/public/img/icons/ionic-icon.svg@@ -0,0 +1 @@+<?xml version="1.0" encoding="utf-8"?><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 122.89 122.89" style="enable-background:new 0 0 122.89 122.89" xml:space="preserve"><style type="text/css">.st0{fill-rule:evenodd;clip-rule:evenodd;fill:#478AFF;}</style><g><path class="st0" d="M61.44,33.47c-15.45,0-28,12.54-28,28c0,15.47,12.54,28.01,28,28.01c15.47,0,28.01-12.54,28.01-28.01 C89.44,46.01,76.9,33.48,61.44,33.47L61.44,33.47L61.44,33.47z M117.37,36.01l-0.54-1.17l-0.84,0.98c-2.09,2.37-4.74,4.2-7.7,5.3 l-0.84,0.3l0.33,0.84c2.54,6.11,3.85,12.68,3.85,19.28c0,27.73-22.49,50.24-50.23,50.24S11.18,89.27,11.18,61.53 s22.49-50.23,50.23-50.23c7.46,0,14.81,1.66,21.55,4.86l0.78,0.37l0.33-0.84c1.25-2.89,3.21-5.45,5.68-7.42l0.99-0.84l-1.13-0.59 C80.97,2.35,71.34,0,61.58,0c-0.03,0-0.1,0-0.16,0C27.51,0,0,27.51,0,61.44s27.53,61.44,61.44,61.44 c33.94,0,61.44-27.51,61.44-61.44c0-8.8-1.88-17.51-5.54-25.5L117.37,36.01L117.37,36.01z M114.4,23.19 c0-7.04-5.7-12.75-12.75-12.75c-7.04,0-12.75,5.71-12.75,12.75c0,7.06,5.71,12.77,12.75,12.77 C108.71,35.96,114.4,30.24,114.4,23.19L114.4,23.19z"/></g></svg>\ No newline at end of file