diff --git a/docs/docs-platform.yml b/docs/docs-platform.yml index c71310ea9..05cd9bb1c 100644 --- a/docs/docs-platform.yml +++ b/docs/docs-platform.yml @@ -23,40 +23,40 @@ pages: platforms: ["js"] # Only vanilla JS # Auth Providers - Available for all platforms since OAuth is universal - - path: getting-started/auth-providers/index.mdx + - path: concepts/auth-providers/index.mdx platforms: ["next", "react", "js", "python"] - - path: getting-started/auth-providers/github.mdx + - path: concepts/auth-providers/github.mdx platforms: ["next", "react", "js", "python"] - - path: getting-started/auth-providers/google.mdx + - path: concepts/auth-providers/google.mdx platforms: ["next", "react", "js", "python"] - - path: getting-started/auth-providers/facebook.mdx + - path: concepts/auth-providers/facebook.mdx platforms: ["next", "react", "js", "python"] - - path: getting-started/auth-providers/microsoft.mdx + - path: concepts/auth-providers/microsoft.mdx platforms: ["next", "react", "js", "python"] - - path: getting-started/auth-providers/spotify.mdx + - path: concepts/auth-providers/spotify.mdx platforms: ["next", "react", "js", "python"] - - path: getting-started/auth-providers/discord.mdx + - path: concepts/auth-providers/discord.mdx platforms: ["next", "react", "js", "python"] - - path: getting-started/auth-providers/gitlab.mdx + - path: concepts/auth-providers/gitlab.mdx platforms: ["next", "react", "js", "python"] - - path: getting-started/auth-providers/apple.mdx + - path: concepts/auth-providers/apple.mdx platforms: ["next", "react", "js", "python"] - - path: getting-started/auth-providers/bitbucket.mdx + - path: concepts/auth-providers/bitbucket.mdx platforms: ["next", "react", "js", "python"] - - path: getting-started/auth-providers/linkedin.mdx + - path: concepts/auth-providers/linkedin.mdx platforms: ["next", "react", "js", "python"] - - path: getting-started/auth-providers/x-twitter.mdx + - path: concepts/auth-providers/x-twitter.mdx platforms: ["next", "react", "js", "python"] # Advanced auth methods - More frontend-focused diff --git a/docs/src/components/layouts/page.tsx b/docs/src/components/layouts/page.tsx index e7515219b..3d218452a 100644 --- a/docs/src/components/layouts/page.tsx +++ b/docs/src/components/layouts/page.tsx @@ -153,7 +153,7 @@ export function DocsPage({ > {slot(props.breadcrumb, )}
diff --git a/docs/src/components/page-client.tsx b/docs/src/components/page-client.tsx index 6d7aec4c2..953c6363e 100644 --- a/docs/src/components/page-client.tsx +++ b/docs/src/components/page-client.tsx @@ -371,29 +371,33 @@ export function Breadcrumb(options: BreadcrumbProps) { if (items.length === 0) return null; return ( -
- {items.map((item, i) => { - const className = cn( - 'truncate', - i === items.length - 1 && 'text-fd-primary font-medium', - ); +
+
+
+ {items.map((item, i) => { + const className = cn( + 'truncate', + i === items.length - 1 && 'text-fd-primary font-medium', + ); - return ( - - {i !== 0 && /} - {item.url ? ( - - {item.name} - - ) : ( - {item.name} - )} - - ); - })} + return ( + + {i !== 0 && /} + {item.url ? ( + + {item.name} + + ) : ( + {item.name} + )} + + ); + })} +
+
); } diff --git a/docs/templates/getting-started/auth-providers/apple.mdx b/docs/templates/concepts/auth-providers/apple.mdx similarity index 100% rename from docs/templates/getting-started/auth-providers/apple.mdx rename to docs/templates/concepts/auth-providers/apple.mdx diff --git a/docs/templates/getting-started/auth-providers/bitbucket.mdx b/docs/templates/concepts/auth-providers/bitbucket.mdx similarity index 100% rename from docs/templates/getting-started/auth-providers/bitbucket.mdx rename to docs/templates/concepts/auth-providers/bitbucket.mdx diff --git a/docs/templates/getting-started/auth-providers/discord.mdx b/docs/templates/concepts/auth-providers/discord.mdx similarity index 100% rename from docs/templates/getting-started/auth-providers/discord.mdx rename to docs/templates/concepts/auth-providers/discord.mdx diff --git a/docs/templates/getting-started/auth-providers/facebook.mdx b/docs/templates/concepts/auth-providers/facebook.mdx similarity index 100% rename from docs/templates/getting-started/auth-providers/facebook.mdx rename to docs/templates/concepts/auth-providers/facebook.mdx diff --git a/docs/templates/getting-started/auth-providers/github.mdx b/docs/templates/concepts/auth-providers/github.mdx similarity index 100% rename from docs/templates/getting-started/auth-providers/github.mdx rename to docs/templates/concepts/auth-providers/github.mdx diff --git a/docs/templates/getting-started/auth-providers/gitlab.mdx b/docs/templates/concepts/auth-providers/gitlab.mdx similarity index 100% rename from docs/templates/getting-started/auth-providers/gitlab.mdx rename to docs/templates/concepts/auth-providers/gitlab.mdx diff --git a/docs/templates/getting-started/auth-providers/google.mdx b/docs/templates/concepts/auth-providers/google.mdx similarity index 100% rename from docs/templates/getting-started/auth-providers/google.mdx rename to docs/templates/concepts/auth-providers/google.mdx diff --git a/docs/templates/getting-started/auth-providers/index.mdx b/docs/templates/concepts/auth-providers/index.mdx similarity index 100% rename from docs/templates/getting-started/auth-providers/index.mdx rename to docs/templates/concepts/auth-providers/index.mdx diff --git a/docs/templates/getting-started/auth-providers/linkedin.mdx b/docs/templates/concepts/auth-providers/linkedin.mdx similarity index 100% rename from docs/templates/getting-started/auth-providers/linkedin.mdx rename to docs/templates/concepts/auth-providers/linkedin.mdx diff --git a/docs/templates/getting-started/auth-providers/meta.json b/docs/templates/concepts/auth-providers/meta.json similarity index 100% rename from docs/templates/getting-started/auth-providers/meta.json rename to docs/templates/concepts/auth-providers/meta.json diff --git a/docs/templates/getting-started/auth-providers/microsoft.mdx b/docs/templates/concepts/auth-providers/microsoft.mdx similarity index 100% rename from docs/templates/getting-started/auth-providers/microsoft.mdx rename to docs/templates/concepts/auth-providers/microsoft.mdx diff --git a/docs/templates/getting-started/auth-providers/passkey.mdx b/docs/templates/concepts/auth-providers/passkey.mdx similarity index 100% rename from docs/templates/getting-started/auth-providers/passkey.mdx rename to docs/templates/concepts/auth-providers/passkey.mdx diff --git a/docs/templates/getting-started/auth-providers/spotify.mdx b/docs/templates/concepts/auth-providers/spotify.mdx similarity index 100% rename from docs/templates/getting-started/auth-providers/spotify.mdx rename to docs/templates/concepts/auth-providers/spotify.mdx diff --git a/docs/templates/getting-started/auth-providers/two-factor-auth.mdx b/docs/templates/concepts/auth-providers/two-factor-auth.mdx similarity index 100% rename from docs/templates/getting-started/auth-providers/two-factor-auth.mdx rename to docs/templates/concepts/auth-providers/two-factor-auth.mdx diff --git a/docs/templates/getting-started/auth-providers/x-twitter.mdx b/docs/templates/concepts/auth-providers/x-twitter.mdx similarity index 100% rename from docs/templates/getting-started/auth-providers/x-twitter.mdx rename to docs/templates/concepts/auth-providers/x-twitter.mdx diff --git a/docs/templates/meta.json b/docs/templates/meta.json index 7067da295..81be57591 100644 --- a/docs/templates/meta.json +++ b/docs/templates/meta.json @@ -9,13 +9,13 @@ "getting-started/setup", "getting-started/components", "getting-started/users", - "getting-started/auth-providers", "getting-started/production", "---Concepts---", "concepts/api-keys", "concepts/backend-integration", "concepts/custom-user-data", "concepts/oauth", + "concepts/auth-providers", "concepts/orgs-and-teams", "concepts/permissions", "concepts/stack-app",