{
setOpenSearch(true)
}}>
@@ -83,445 +79,5 @@ export default function ArticleLayout() {
);
}
-interface Content {
- title: string;
- href?: string;
- Icon: ((props?: SVGProps
) => ReactNode) | LucideIcon;
- list: {
- title: string;
- href: string;
- icon: ((props?: SVGProps) => ReactNode) | LucideIcon;
- group?: boolean;
- }[];
-}
-const contents: Content[] = [
- {
- title: "Get Started",
- Icon: () => (
-
- ),
- list: [
- {
- title: "Introduction",
- href: "/docs/introduction",
- icon: () => (
-
- ),
- },
- {
- title: "Installation",
- href: "/docs/installation",
- icon: () => (
-
- ),
- },
- {
- title: "Basic Usage",
- href: "/docs/basic-usage",
- icon: () => (
-
- ),
- },
- ],
- },
- {
- title: "Authentication",
- Icon: () => (
-
- ),
- list: [
- {
- title: "Email & Password",
- group: true,
- href: "/docs/email-password",
- icon: () => (
-
- )
- },
-
- {
- title: "Sign-In & Sign-Up",
- href: "/docs/email-password/sign-in-and-sign-up",
- icon: () => (
-
- )
- },
- {
- title: "Password Reset",
- href: "/docs/email-password/password-reset",
- icon: () => (
-
- )
- },
- {
- title: "Configuration",
- href: "/docs/email-password/configuration",
- icon: () => (
-
-
- )
- },
- {
- title: "Social Sign-On",
- group: true,
- href: "/docs/providers/social-providers",
- icon: () => (
-
- )
- },
- {
- title: "Apple",
- href: "/docs/providers/apple",
- icon: () => (
-
- ),
- },
-
- {
- title: "Discord",
- href: "/docs/providers/discord",
- icon: () => (
-
- ),
- },
- {
- title: "Facebook",
- href: "/docs/providers/facebook",
- icon: () => (
-
- ),
- },
- {
- title: "Github",
- href: "/docs/providers/github",
- icon: () => (
-
- ),
- },
- {
- title: "Google",
- href: "/docs/providers/google",
- icon: () => (
-
- ),
- },
- {
- title: "Twitch",
- href: "/docs/providers/twitch",
- icon: () => (
-
- )
- },
- {
- title: "X (Twitter)",
- href: "/docs/providers/twitter",
- icon: () => (
-
- )
- }
- ],
- },
- {
- title: "Integrations",
- Icon: () => (
-
- ),
- list: [
- {
- group: true,
- title: "Frameworks",
- href: "/docs/integrations",
- icon: LucideAArrowDown
- },
- {
- title: "Hono",
- icon: () => (
-
- ),
- href: "/docs/integrations/hono",
- },
- {
- title: "Next",
- icon: () => (
-
- ),
- href: "/docs/integrations/next",
- },
- {
- title: "Nuxt",
- icon: () => (
-
- ),
- href: "/docs/integrations/nuxt",
- },
- {
- title: "Svelte Kit",
- icon: () => (
-
- ),
- href: "/docs/integrations/svelte-kit",
- },
- {
- title: "Solid Start",
- icon: () => (
-
- ),
- href: "/docs/integrations/solid-start",
- },
- {
- title: "React",
- icon: () => (
-
- ),
- href: "/docs/integrations/react",
- },
- ]
- },
- {
- title: "Plugins",
- Icon: () => (
-
- ),
- list: [
- {
- title: "Introduction",
- icon: () => (
-
- ),
- href: "/docs/plugins/introduction",
- },
- {
- title: "Authentication",
- group: true,
- href: "/docs/plugins/1st-party-plugins",
- icon: LucideAArrowDown
- },
- {
- title: "Passkey",
- href: "/docs/plugins/passkey",
- icon: () => (
-
- ),
- },
- {
- title: "Two Factor",
- icon: ScanFace,
- href: "/docs/plugins/2fa",
- },
- {
- title: "Username",
- icon: UserSquare2,
- href: "/docs/plugins/username",
- },
- {
- title: "Authorization",
- group: true,
- href: "/docs/plugins/1st-party-plugins",
- icon: LucideAArrowDown
- },
- {
- title: "Organization",
- icon: Users2,
- href: "/docs/plugins/organization",
- },
- {
- title: "Utility",
- group: true,
- href: "/docs/plugins/1st-party-plugins",
- icon: LucideAArrowDown
- },
- {
- title: "Bearer",
- icon: Key,
- href: "/docs/plugins/email-verifier",
- },
- {
- title: "Email Checker",
- icon: MailCheck,
- href: "/docs/plugins/email-verifier",
- },
-
- ],
- },
-
- // {
- // title: "Database",
- // Icon: () => (
- //
- // ),
- // list: [
- // {
- // title: "Drizzle",
- // href: "/docs/adapters/drizzle",
- // icon: () => (
- //
- // ),
- // },
- // {
- // title: "Prisma",
- // href: "/docs/adapters/prisma",
- // icon: () => (
- //
- // ),
- // },
- // ],
- // },
-];
diff --git a/docs/components/sidebar-content.tsx b/docs/components/sidebar-content.tsx
new file mode 100644
index 00000000..955ad58d
--- /dev/null
+++ b/docs/components/sidebar-content.tsx
@@ -0,0 +1,374 @@
+import { Key, LucideAArrowDown, LucideIcon, MailCheck, ScanFace, Users2, UserSquare2 } from "lucide-react";
+import { ReactNode, SVGProps } from "react";
+import { Icons } from "./icons";
+
+interface Content {
+ title: string;
+ href?: string;
+ Icon: ((props?: SVGProps) => ReactNode) | LucideIcon;
+ list: {
+ title: string;
+ href: string;
+ icon: ((props?: SVGProps) => ReactNode) | LucideIcon;
+ group?: boolean;
+ }[];
+}
+
+
+export const contents: Content[] = [
+ {
+ title: "Get Started",
+ Icon: () => (
+
+ ),
+ list: [
+ {
+ title: "Introduction",
+ href: "/docs/introduction",
+ icon: () => (
+
+ ),
+ },
+ {
+ title: "Installation",
+ href: "/docs/installation",
+ icon: () => (
+
+ ),
+ },
+ {
+ title: "Basic Usage",
+ href: "/docs/basic-usage",
+ icon: () => (
+
+ ),
+ },
+
+ ],
+ },
+ {
+ title: "Authentication",
+ Icon: () => (
+
+ ),
+ list: [
+ {
+ title: "Email & Password",
+ group: true,
+ href: "/docs/email-password",
+ icon: () => (
+
+ )
+ },
+
+ {
+ title: "Sign-In & Sign-Up",
+ href: "/docs/email-password/sign-in-and-sign-up",
+ icon: () => (
+
+ )
+ },
+ {
+ title: "Password Reset",
+ href: "/docs/email-password/password-reset",
+ icon: () => (
+
+ )
+ },
+ {
+ title: "Configuration",
+ href: "/docs/email-password/configuration",
+ icon: () => (
+
+
+ )
+ },
+ {
+ title: "Social Sign-On",
+ group: true,
+ href: "/docs/providers/social-providers",
+ icon: () => (
+
+ )
+ },
+ {
+ title: "Apple",
+ href: "/docs/providers/apple",
+ icon: () => (
+
+ ),
+ },
+
+ {
+ title: "Discord",
+ href: "/docs/providers/discord",
+ icon: () => (
+
+ ),
+ },
+ {
+ title: "Facebook",
+ href: "/docs/providers/facebook",
+ icon: () => (
+
+ ),
+ },
+ {
+ title: "Github",
+ href: "/docs/providers/github",
+ icon: () => (
+
+ ),
+ },
+ {
+ title: "Google",
+ href: "/docs/providers/google",
+ icon: () => (
+
+ ),
+ },
+ {
+ title: "Twitch",
+ href: "/docs/providers/twitch",
+ icon: () => (
+
+ )
+ },
+ {
+ title: "X (Twitter)",
+ href: "/docs/providers/twitter",
+ icon: () => (
+
+ )
+ }
+ ],
+ },
+ {
+ title: "Integrations",
+ Icon: () => (
+
+ ),
+ list: [
+ {
+ group: true,
+ title: "Frameworks",
+ href: "/docs/integrations",
+ icon: LucideAArrowDown
+ },
+ {
+ title: "Hono",
+ icon: Icons.hono,
+ href: "/docs/integrations/hono",
+ },
+ {
+ title: "Next",
+ icon: Icons.nextJS,
+ href: "/docs/integrations/next",
+ },
+ {
+ title: "Nuxt",
+ icon: Icons.nuxt,
+ href: "/docs/integrations/nuxt",
+ },
+ {
+ title: "Svelte Kit",
+ icon: Icons.svelteKit,
+ href: "/docs/integrations/svelte-kit",
+ },
+ {
+ title: "Solid Start",
+ icon: Icons.solidStart,
+ href: "/docs/integrations/solid-start",
+ },
+ {
+ title: "React",
+ icon: Icons.react,
+ href: "/docs/integrations/react",
+ },
+ ]
+ },
+ {
+ title: "Plugins",
+ Icon: () => (
+
+ ),
+ list: [
+ {
+ title: "Introduction",
+ icon: () => (
+
+ ),
+ href: "/docs/plugins/introduction",
+ },
+ {
+ title: "Authentication",
+ group: true,
+ href: "/docs/plugins/1st-party-plugins",
+ icon: LucideAArrowDown
+ },
+ {
+ title: "Passkey",
+ href: "/docs/plugins/passkey",
+ icon: () => (
+
+ ),
+ },
+ {
+ title: "Two Factor",
+ icon: ScanFace,
+ href: "/docs/plugins/2fa",
+ },
+ {
+ title: "Username",
+ icon: UserSquare2,
+ href: "/docs/plugins/username",
+ },
+ {
+ title: "Authorization",
+ group: true,
+ href: "/docs/plugins/1st-party-plugins",
+ icon: LucideAArrowDown
+ },
+ {
+ title: "Organization",
+ icon: Users2,
+ href: "/docs/plugins/organization",
+ },
+ {
+ title: "Utility",
+ group: true,
+ href: "/docs/plugins/1st-party-plugins",
+ icon: LucideAArrowDown
+ },
+ {
+ title: "Bearer",
+ icon: Key,
+ href: "/docs/plugins/email-verifier",
+ },
+ {
+ title: "Email Checker",
+ icon: MailCheck,
+ href: "/docs/plugins/email-verifier",
+ },
+
+ ],
+ },
+];
\ No newline at end of file
diff --git a/docs/components/theme-toggler.tsx b/docs/components/theme-toggler.tsx
index 687ea666..2c7c779d 100644
--- a/docs/components/theme-toggler.tsx
+++ b/docs/components/theme-toggler.tsx
@@ -20,8 +20,7 @@ export function ThemeToggle() {