feat: add AuthModal component with login, register and social tabs
- Add AuthModal with login/register tabs and social buttons - Add forgot-password and reset-password routes - Add Sonner toaster to root layout - Add auth search schemas to @lila/shared - Add ESLint overrides for TanStack Router generics
This commit is contained in:
parent
6297dff399
commit
32ee1edf80
6 changed files with 261 additions and 18 deletions
|
|
@ -5,3 +5,10 @@ export const ResetPasswordSearchSchema = z.object({
|
|||
});
|
||||
|
||||
export type ResetPasswordSearch = z.infer<typeof ResetPasswordSearchSchema>;
|
||||
|
||||
export const AuthModalSearchSchema = z.object({
|
||||
modal: z.enum(["auth"]).optional().catch(undefined),
|
||||
redirect: z.string().optional().catch(undefined),
|
||||
});
|
||||
|
||||
export type AuthModalSearch = z.infer<typeof AuthModalSearchSchema>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue