import { Key, LucideAArrowDown, LucideIcon, 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: "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: "Hono", icon: Icons.hono, href: "/docs/integrations/hono", }, { title: "Solid Start", icon: Icons.solidStart, href: "/docs/integrations/solid-start", }, ], }, { title: "Plugins", Icon: () => ( ), list: [ { 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/bearer", }, ], } ];