diff --git a/apps/ui-library/__registry__/index.tsx b/apps/ui-library/__registry__/index.tsx index f20ed0206cd..377a96a39d3 100644 --- a/apps/ui-library/__registry__/index.tsx +++ b/apps/ui-library/__registry__/index.tsx @@ -19,6 +19,18 @@ export const Index = { component: React.lazy(() => import("@/registry/default/examples/password-based-auth.tsx")), } , + "passwordless-auth-demo": { + component: React.lazy(() => import("@/registry/default/examples/passwordless-auth.tsx")), + } + , + "magic-link-auth-demo": { + component: React.lazy(() => import("@/registry/default/examples/magic-link-auth.tsx")), + } + , + "otp-auth-demo": { + component: React.lazy(() => import("@/registry/default/examples/otp-auth.tsx")), + } + , "current-user-avatar-demo": { component: React.lazy(() => import("@/registry/default/examples/current-user-avatar-demo.tsx")), } diff --git a/apps/ui-library/app/example/passwordless-auth-demo/layout.tsx b/apps/ui-library/app/example/passwordless-auth-demo/layout.tsx new file mode 100644 index 00000000000..3a6efd5bfd4 --- /dev/null +++ b/apps/ui-library/app/example/passwordless-auth-demo/layout.tsx @@ -0,0 +1,45 @@ +import { Metadata } from 'next' +import { BaseInjector } from './../base-injector' +import { ThemeProvider } from '@/app/Providers' + +export const metadata: Metadata = { + title: 'Passwordless Auth Example', +} + +export default function RootLayout({ children }: { children: React.ReactNode }) { + return ( + + +