1- <!-- Root element for center items -->
2- < div class ="flex flex-col h-screen bg-gray-100 ">
3- <!-- Auth Card Container -->
4- < div class ="grid place-items-center mx-2 my-20 sm:my-auto ">
5- <!-- Auth Card -->
6- < div class ="w-11/12 p-12 sm:w-8/12 md:w-6/12 lg:w-5/12 2xl:w-4/12
7- px-6 py-10 sm:px-10 sm:py-6
8- bg-white rounded-lg shadow-md lg:shadow-lg ">
9-
10- <!-- Card Title -->
11- < h2 class ="text-center font-semibold text-3xl lg:text-4xl text-gray-800 ">
12- Login
13- </ h2 >
14-
15- < form class ="mt-10 " method ="POST ">
16- <!-- Email Input -->
17- < label for ="email " class ="block text-xs font-semibold text-gray-600 uppercase "> E-mail</ label >
18- < input id ="email " type ="email " name ="email " placeholder ="e-mail address " autocomplete ="email "
19- class ="block w-full py-3 px-1 mt-2
20- text-gray-800 appearance-none
21- border-b-2 border-gray-100
22- focus:text-gray-500 focus:outline-none focus:border-gray-200 "
23- required />
24-
25- <!-- Password Input -->
26- < label for ="password " class ="block mt-2 text-xs font-semibold text-gray-600 uppercase "> Password</ label >
27- < input id ="password " type ="password " name ="password " placeholder ="password " autocomplete ="current-password "
28- class ="block w-full py-3 px-1 mt-2 mb-4
29- text-gray-800 appearance-none
30- border-b-2 border-gray-100
31- focus:text-gray-500 focus:outline-none focus:border-gray-200 "
32- required />
33-
34- <!-- Auth Buttton -->
35- < button type ="submit "
36- class ="w-full py-3 mt-10 bg-gray-800 rounded-sm
37- font-medium text-white uppercase
38- focus:outline-none hover:bg-gray-700 hover:shadow-none ">
39- Login
40- </ button >
41-
42- <!-- Another Auth Routes -->
43- < div class ="sm:flex sm:flex-wrap mt-8 sm:mb-4 text-sm text-center ">
44- < a href ="forgot-password " class ="flex-2 underline ">
45- Forgot password?
46- </ a >
47-
48- < p class ="flex-1 text-gray-500 text-md mx-4 my-1 sm:my-auto ">
49- or
50- </ p >
51-
52- < a href ="register " class ="flex-2 underline ">
53- Create an Account
54- </ a >
55- </ div >
56- </ form >
57- </ div >
58- </ div >
59- </ div >
1+ /* div -> NOTEXT */
2+ .any-1-div {
3+ @apply flex flex-col h-screen bg-gray-100;
4+
5+ /*#block_1*/
6+ /* div -> NOTEXT */
7+ .any-2-div {
8+ @apply grid place-items-center mx-2 my-20 sm: my-auto;
9+
10+ /*#block_1*/
11+ /* div -> NOTEXT */
12+ .any-3-div {
13+ @apply w-11/12 p-12 sm: w-8/12 md:w-6/12 lg:w-5/12 2xl:w-4/12 px-6 py-10 sm:px-10 sm:py-6 bg-white rounded-lg shadow-md lg:shadow-lg;
14+ border: gray
15+
16+ /*#block_2*/
17+ /* h2 -> Login */
18+ .any-3-h2 {
19+ @apply text-center font-semibold text-3xl lg: text-4xl text-gray-800;
20+ /*#block_0*/
21+ }
22+
23+ /* form -> NOTEXT */
24+ .any-4-form {
25+ @apply mt-10;
26+
27+ /*#block_6*/
28+ /* label -> E-mail */
29+ .any-4-label {
30+ @apply block text-xs font-semibold text-gray-600 uppercase;
31+ /*#block_0*/
32+ }
33+
34+ /* input -> NOTEXT */
35+ .any-4-input {
36+ @apply block w-full py-3 px-1 mt-2 text-gray-800 appearance-none border-b-2 border-gray-100 focus: text-gray-500 focus:outline-none focus:border-gray-200;
37+ /*#block_-*/
38+ }
39+
40+ /* label -> Password */
41+ .any-4-label {
42+ @apply block mt-2 text-xs font-semibold text-gray-600 uppercase;
43+ /*#block_0*/
44+ }
45+
46+ /* input -> NOTEXT */
47+ .any-4-input {
48+ @apply block w-full py-3 px-1 mt-2 mb-4 text-gray-800 appearance-none border-b-2 border-gray-100 focus: text-gray-500 focus:outline-none focus:border-gray-200;
49+ /*#block_-*/
50+ }
51+
52+ /* button -> Login */
53+ .any-4-button {
54+ @apply w-full py-3 mt-10 bg-gray-800 rounded-sm font-medium text-white uppercase focus: outline-none hover:bg-gray-700 hover:shadow-none;
55+ /*#block_0*/
56+ }
57+
58+ /* div -> NOTEXT */
59+ .any-5-div {
60+ @apply sm: flex sm:flex-wrap mt-8 sm:mb-4 text-sm text-center;
61+
62+ /*#block_3*/
63+ /* a -> Forgot password? */
64+ .any-5-a {
65+ @apply flex-2 underline;
66+ /*#block_0*/
67+ }
68+
69+ /* p -> or */
70+ .any-5-p {
71+ @apply flex-1 text-gray-500 text-md mx-4 my-1 sm: my-auto;
72+ /*#block_0*/
73+ }
74+
75+ /* a -> Create an Account */
76+ .any-5-a {
77+ @apply flex-2 underline;
78+ /*#block_0*/
79+ }
80+ }
81+ }
82+ }
83+ }
84+ }
0 commit comments