Skip to content

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

Update Auth nav menu

dannykng543b2a85a2c2
diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts
index 68808f4b8b3..5526e9c872c 100644
--- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts
+++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts
@@ -154,39 +154,33 @@ export const cli = {
export const SocialLoginItems = [
{
- name: 'Google',
- icon: '/docs/img/icons/google-icon',
- url: '/guides/auth/social-login/auth-google',
- items: [],
- },
- {
- name: 'Facebook',
- icon: '/docs/img/icons/facebook-icon',
- url: '/guides/auth/social-login/auth-facebook',
+ name: 'Apple',
+ icon: '/docs/img/icons/apple-icon',
+ url: '/guides/auth/social-login/auth-apple',
items: [],
},
{
- name: 'Twitter',
- icon: '/docs/img/icons/twitter-icon',
- url: '/guides/auth/social-login/auth-twitter',
+ name: 'Azure',
+ icon: '/docs/img/icons/microsoft-icon',
+ url: '/guides/auth/social-login/auth-azure',
items: [],
},
{
- name: 'LinkedIn',
- icon: '/docs/img/icons/linkedin-icon',
- url: '/guides/auth/social-login/auth-linkedin',
+ name: 'Bitbucket',
+ icon: '/docs/img/icons/bitbucket-icon',
+ url: '/guides/auth/social-login/auth-bitbucket',
items: [],
},
{
- name: 'Apple',
- icon: '/docs/img/icons/apple-icon',
- url: '/guides/auth/social-login/auth-apple',
+ name: 'Discord',
+ icon: '/docs/img/icons/discord-icon',
+ url: '/guides/auth/social-login/auth-discord',
items: [],
- },
+ },
{
- name: 'Azure',
- icon: '/docs/img/icons/microsoft-icon',
- url: '/guides/auth/social-login/auth-azure',
+ name: 'Facebook',
+ icon: '/docs/img/icons/facebook-icon',
+ url: '/guides/auth/social-login/auth-facebook',
items: [],
},
{
@@ -203,15 +197,9 @@ export const SocialLoginItems = [
items: [],
},
{
- name: 'Bitbucket',
- icon: '/docs/img/icons/bitbucket-icon',
- url: '/guides/auth/social-login/auth-bitbucket',
- items: [],
- },
- {
- name: 'Discord',
- icon: '/docs/img/icons/discord-icon',
- url: '/guides/auth/social-login/auth-discord',
+ name: 'Google',
+ icon: '/docs/img/icons/google-icon',
+ url: '/guides/auth/social-login/auth-google',
items: [],
},
{
@@ -220,6 +208,12 @@ export const SocialLoginItems = [
url: '/guides/auth/social-login/auth-keycloak',
items: [],
},
+ {
+ name: 'LinkedIn',
+ icon: '/docs/img/icons/linkedin-icon',
+ url: '/guides/auth/social-login/auth-linkedin',
+ items: [],
+ },
{
name: 'Notion',
icon: '/docs/img/icons/notion-icon',
@@ -244,6 +238,12 @@ export const SocialLoginItems = [
url: '/guides/auth/social-login/auth-twitch',
items: [],
},
+ {
+ name: 'Twitter',
+ icon: '/docs/img/icons/twitter-icon',
+ url: '/guides/auth/social-login/auth-twitter',
+ items: [],
+ },
{
name: 'WorkOS',
icon: '/docs/img/icons/workos-icon',
@@ -253,6 +253,13 @@ export const SocialLoginItems = [
]
export const PhoneLoginsItems = [
+ {
+ name: 'MessageBird SMS login',
+ icon: '/docs/img/icons/messagebird-icon',
+ linkDescription: 'communication between businesses and their customers — across any channel.',
+ url: '/guides/auth/passwordless-login/phone-sms-otp-messagebird',
+ items: [],
+ },
{
name: 'Twilio SMS login',
icon: '/docs/img/icons/twilio-icon',
@@ -269,13 +276,6 @@ export const PhoneLoginsItems = [
items: [],
isDarkMode: true,
},
- {
- name: 'MessageBird SMS login',
- icon: '/docs/img/icons/messagebird-icon',
- linkDescription: 'communication between businesses and their customers — across any channel.',
- url: '/guides/auth/passwordless-login/phone-sms-otp-messagebird',
- items: [],
- },
]
export const auth = {
@@ -291,11 +291,6 @@ export const auth = {
url: undefined,
items: [
{ name: 'Email login', url: '/guides/auth/auth-email', items: [] },
- {
- name: 'Social Login',
- url: '/guides/auth/social-login',
- items: [...SocialLoginItems],
- },
{
name: 'Passwordless login',
url: '/guides/auth/passwordless-login',
@@ -309,17 +304,22 @@ export const auth = {
...PhoneLoginsItems,
],
},
+ {
+ name: 'Social Login',
+ url: '/guides/auth/social-login',
+ items: [...SocialLoginItems],
+ },
],
},
{
name: 'Authorization',
url: undefined,
items: [
- { name: 'Row Level Security', url: '/guides/auth/row-level-security', items: [] },
- { name: 'Managing User Data', url: '/guides/auth/managing-user-data', items: [] },
{ name: 'Enable Captcha Protection', url: '/guides/auth/auth-captcha', items: [] },
- { name: 'Server-side Rendering', url: '/guides/auth/server-side-rendering', items: [] },
+ { name: 'Managing User Data', url: '/guides/auth/managing-user-data', items: [] },
{ name: 'Multi-Factor Authentication', url: '/guides/auth/auth-mfa', items: [] },
+ { name: 'Row Level Security', url: '/guides/auth/row-level-security', items: [] },
+ { name: 'Server-side Rendering', url: '/guides/auth/server-side-rendering', items: [] },
],
},
{
@@ -329,8 +329,8 @@ export const auth = {
{ name: 'Overview', url: '/guides/auth/auth-helpers', items: [] },
{ name: 'Auth UI', url: '/guides/auth/auth-helpers/auth-ui', items: [] },
{ name: 'Next.js', url: '/guides/auth/auth-helpers/nextjs', items: [] },
- { name: 'SvelteKit', url: '/guides/auth/auth-helpers/sveltekit', items: [] },
{ name: 'Remix', url: '/guides/auth/auth-helpers/remix', items: [] },
+ { name: 'SvelteKit', url: '/guides/auth/auth-helpers/sveltekit', items: [] },
],
},
{
@@ -357,20 +357,6 @@ export const auth = {
],
},
],
- extras: [
- {
- name: 'API Reference',
- level: 'integrations',
- items: [],
- icon: 'reference',
- },
- {
- name: 'Integrations',
- level: 'reference',
- items: [],
- icon: 'integrations',
- },
- ],
}
export const database = {