feat(auth): enhance sign-in page layout and theme toggle functionality
- Updated the SignIn component to improve layout and styling, ensuring better visual alignment. - Added responsive visibility for the ThemeToggleSwitch in the SigninWithPassword component. - Refactored the Signin component to include the ThemeToggleSwitch for better user experience. - Improved code organization by separating theme toggle logic and ensuring consistent styling across components.
This commit is contained in:
@@ -10,7 +10,7 @@ export default function SignIn() {
|
||||
<div className="relative flex min-h-svh w-full flex-col items-center justify-center overflow-hidden bg-gray-1/40 px-4 py-8 dark:bg-dark sm:px-6 sm:py-10">
|
||||
<div className="pointer-events-none absolute -top-24 left-1/2 h-64 w-64 -translate-x-1/2 rounded-full bg-primary/10 blur-3xl dark:bg-primary/20" />
|
||||
<div className="pointer-events-none absolute -bottom-24 right-10 h-64 w-64 rounded-full bg-purple-500/10 blur-3xl dark:bg-purple-500/20" />
|
||||
<div className="m-auto flex w-full max-w-[26rem] flex-col items-center justify-center rounded-2xl border border-stroke/70 bg-white/95 px-4 shadow-theme-xs backdrop-blur-sm dark:border-dark-3 dark:bg-gray-dark/95 sm:max-w-md sm:px-8 md:max-w-lg lg:max-w-xl xl:w-4/12 xl:max-w-none">
|
||||
<div className="shadow-theme-xs m-auto flex w-full max-w-[26rem] flex-col items-center justify-center rounded-2xl border border-stroke/70 bg-white/95 px-4 backdrop-blur-sm dark:border-dark-3 dark:bg-gray-dark/95 sm:max-w-md sm:px-8 md:max-w-lg lg:max-w-xl xl:w-4/12 xl:max-w-none">
|
||||
<div className="relative flex w-full flex-wrap items-center justify-center">
|
||||
<div className="w-full">
|
||||
<div className="w-full p-4 sm:p-12.5 xl:p-15">
|
||||
|
||||
Reference in New Issue
Block a user