1+ < div class ="min-h-screen bg-gray-50 dark:bg-gray-950 flex flex-col justify-center py-12 sm:px-6 lg:px-8 ">
2+ < div class ="sm:mx-auto sm:w-full sm:max-w-md ">
3+ <!-- Icon / Logo -->
4+ < div class ="flex justify-center ">
5+ < div class ="h-12 w-12 rounded-xl bg-indigo-600 flex items-center justify-center shadow-lg shadow-indigo-500/20 ">
6+ < svg xmlns ="http://www.w3.org/2000/svg " fill ="none " viewBox ="0 0 24 24 " stroke-width ="1.5 " stroke ="currentColor " class ="size-7 text-white ">
7+ < path stroke-linecap ="round " stroke-linejoin ="round " d ="M18 7.5v3m0 0v3m0-3h3m-3 0h-3m-2.25-4.125a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0ZM3 19.235v-.11a6.375 6.375 0 0 1 12.75 0v.109A12.318 12.318 0 0 1 9.374 21c-2.331 0-4.512-.645-6.374-1.766Z " />
8+ </ svg >
9+ </ div >
10+ </ div >
11+ < h2 class ="mt-6 text-center text-3xl font-bold tracking-tight text-gray-900 dark:text-white "> Create an account</ h2 >
12+ < p class ="mt-2 text-center text-sm text-gray-600 dark:text-gray-400 ">
13+ Already have one?
14+ < a href ="# " class ="font-medium text-indigo-600 hover:text-indigo-500 dark:text-indigo-400 "> Sign in here</ a >
15+ </ p >
16+ </ div >
17+
18+ < div class ="mt-8 sm:mx-auto sm:w-full sm:max-w-md ">
19+ < div class ="bg-white dark:bg-gray-900 py-8 px-4 shadow-xl border border-gray-200 dark:border-gray-800 sm:rounded-2xl sm:px-10 ">
20+ < form class ="space-y-5 " action ="# " method ="POST ">
21+ <!-- Name Field -->
22+ < div >
23+ < label for ="name " class ="block text-sm font-medium text-gray-700 dark:text-gray-300 "> Full Name</ label >
24+ < div class ="mt-1 ">
25+ < input id ="name " name ="name " type ="text " required class ="block w-full appearance-none rounded-lg border border-gray-200 dark:border-gray-700 bg-white dark:bg-gray-800 px-3 py-2 text-gray-900 dark:text-white placeholder-gray-400 focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 sm:text-sm transition-all " placeholder ="Fabian Ternis ">
26+ </ div >
27+ </ div >
28+
29+ <!-- Email Field -->
30+ < div >
31+ < label for ="email " class ="block text-sm font-medium text-gray-700 dark:text-gray-300 "> Email address</ label >
32+ < div class ="mt-1 ">
33+ < input id ="email " name ="email " type ="email " autocomplete ="email " required class ="block w-full appearance-none rounded-lg border border-gray-200 dark:border-gray-700 bg-white dark:bg-gray-800 px-3 py-2 text-gray-900 dark:text-white placeholder-gray-400 focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 sm:text-sm transition-all " placeholder ="fabian@mtex.dev ">
34+ </ div >
35+ </ div >
36+
37+ <!-- Password Field -->
38+ < div >
39+ < label for ="password " class ="block text-sm font-medium text-gray-700 dark:text-gray-300 "> Password</ label >
40+ < div class ="mt-1 relative group ">
41+ < input id ="password " name ="password " type ="password " required class ="block w-full appearance-none rounded-lg border border-gray-200 dark:border-gray-700 bg-white dark:bg-gray-800 px-3 py-2 text-gray-900 dark:text-white placeholder-gray-400 focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 sm:text-sm transition-all " placeholder ="•••••••• ">
42+ <!-- Icon Toggle (Visual Only in pure HTML) -->
43+ < button type ="button " class ="absolute inset-y-0 right-0 flex items-center pr-3 text-gray-400 hover:text-gray-600 dark:hover:text-gray-200 transition-colors ">
44+ < svg xmlns ="http://www.w3.org/2000/svg " fill ="none " viewBox ="0 0 24 24 " stroke-width ="1.5 " stroke ="currentColor " class ="size-5 ">
45+ < path stroke-linecap ="round " stroke-linejoin ="round " d ="M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z " />
46+ < path stroke-linecap ="round " stroke-linejoin ="round " d ="M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z " />
47+ </ svg >
48+ </ button >
49+ </ div >
50+ </ div >
51+
52+ <!-- Terms -->
53+ < div class ="flex items-center ">
54+ < input id ="terms " name ="terms " type ="checkbox " class ="h-4 w-4 rounded border-gray-300 dark:border-gray-700 text-indigo-600 focus:ring-indigo-500 bg-white dark:bg-gray-800 ">
55+ < label for ="terms " class ="ml-2 block text-xs text-gray-700 dark:text-gray-400 ">
56+ I agree to the < a href ="# " class ="text-indigo-600 dark:text-indigo-400 hover:underline "> Terms</ a > and < a href ="# " class ="text-indigo-600 dark:text-indigo-400 hover:underline "> Privacy Policy</ a >
57+ </ label >
58+ </ div >
59+
60+ <!-- Submit Button -->
61+ < div >
62+ < button type ="submit " class ="group flex w-full justify-center items-center gap-2 rounded-lg bg-indigo-600 px-4 py-2.5 text-sm font-semibold text-white shadow-lg shadow-indigo-500/20 hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600 transition-all active:scale-[0.98] ">
63+ Create Account
64+ < svg xmlns ="http://www.w3.org/2000/svg " fill ="none " viewBox ="0 0 24 24 " stroke-width ="2 " stroke ="currentColor " class ="size-4 opacity-70 group-hover:translate-x-0.5 transition-transform ">
65+ < path stroke-linecap ="round " stroke-linejoin ="round " d ="M13.5 4.5L21 12m0 0l-7.5 7.5M21 12H3 " />
66+ </ svg >
67+ </ button >
68+ </ div >
69+ </ form >
70+
71+ <!-- Divider -->
72+ < div class ="mt-6 ">
73+ < div class ="relative ">
74+ < div class ="absolute inset-0 flex items-center ">
75+ < div class ="w-full border-t border-gray-100 dark:border-gray-800 "> </ div >
76+ </ div >
77+ < div class ="relative flex justify-center text-[10px] font-bold uppercase tracking-widest ">
78+ < span class ="bg-white dark:bg-gray-900 px-3 text-gray-400 "> Or continue with</ span >
79+ </ div >
80+ </ div >
81+
82+ <!-- Social Links -->
83+ < div class ="mt-6 grid grid-cols-2 gap-3 ">
84+ < button type ="button " class ="flex w-full items-center justify-center gap-2 rounded-lg border border-gray-200 dark:border-gray-700 bg-white dark:bg-gray-800 px-4 py-2 text-sm font-medium text-gray-700 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-700/50 transition-colors ">
85+ < span > GitHub</ span >
86+ </ button >
87+ < button type ="button " class ="flex w-full items-center justify-center gap-2 rounded-lg border border-gray-200 dark:border-gray-700 bg-white dark:bg-gray-800 px-4 py-2 text-sm font-medium text-gray-700 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-700/50 transition-colors ">
88+ < span > Google</ span >
89+ </ button >
90+ </ div >
91+ </ div >
92+ </ div >
93+ </ div >
94+ </ div >
0 commit comments