Description
Create a modern sign-in page for Boundless Bounties using the shadcn component login-04.
Requirements
- Use
npx shadcn@latest add login-04 to generate the component structure.
- Sign-up Redirect: The "Sign Up" link should redirect users to
https://www.boundlessfi.xyz/auth?mode=signup.
- Authentication Providers:
- GitHub: Existing implementation in
components/login/sign-in.tsx should be migrated/integrated.
- Google: Add support for Google sign-in.
- Better Auth Magic Link: Add support for email-based magic link sign-in using Better Auth.
Technical Context
- Component should be placed or updated in
components/login/sign-in.tsx.
- The main auth page is at
app/(auth)/auth/page.tsx.
- Use
authClient from lib/auth-client.ts for authentication logic.
References
- Shadcn UI: login-04
- Redirect URL:
https://www.boundlessfi.xyz/auth?mode=signup
Description
Create a modern sign-in page for Boundless Bounties using the
shadcncomponentlogin-04.Requirements
npx shadcn@latest add login-04to generate the component structure.https://www.boundlessfi.xyz/auth?mode=signup.components/login/sign-in.tsxshould be migrated/integrated.Technical Context
components/login/sign-in.tsx.app/(auth)/auth/page.tsx.authClientfromlib/auth-client.tsfor authentication logic.References
https://www.boundlessfi.xyz/auth?mode=signup