1
- function Register ( ) {
2
- return (
3
- < div >
4
- < h1 > Register</ h1 >
1
+ import React from "react" ;
2
+
3
+ const Register = ( ) => {
4
+ return (
5
+ < div className = "flex items-center justify-center h-screen bg-gray-100" >
6
+ < div className = "m-3 p-3 sm:p-4 md:p-10 bg-gray-100 border-2 border-blue-500 rounded-2xl shadow-lg max-w-sm w-full sm:w-1/2 md:w-1/3" >
7
+ < div className = "flex flex-col items-center mb-8 space-y-4" >
8
+ < i className = "fa-brands text-6xl fa-google-wallet" > </ i >
9
+ < h1 className = "text-3xl font-bold" > Chuka Auth</ h1 >
10
+ </ div >
11
+
12
+ < button
13
+ className = "btn w-full outline-gray-400 text-gray-400"
14
+ type = "button"
15
+ >
16
+ < i className = "fa-brands fa-google" > </ i >
17
+ Sign Up with Google
18
+ </ button >
19
+
20
+ < div className = "flex items-center justify-between mt-4" >
21
+ < span className = "w-1/4 border-b-2 border-gray-500 lg:w-1/3" > </ span >
22
+ < span className = "text-xs text-center text-gray-500 uppercase" >
23
+ OR
24
+ </ span >
25
+ < span className = "w-1/4 border-b-2 border-gray-500 lg:w-1/3" > </ span >
5
26
</ div >
6
- )
7
- }
27
+ < form className = "mt-8 space-y-6" >
28
+ < div className = "relative" >
29
+ < input
30
+ type = "email"
31
+ placeholder = "Email Address"
32
+ className = "input w-full input-bordered ring-2"
33
+ />
34
+ < button className = "absolute top-3 right-3 hover:text-primary btn-xs" >
35
+ < i className = "text-sm fa fa-user-circle" > </ i >
36
+ </ button >
37
+ </ div >
38
+ < div className = "relative" >
39
+ < input
40
+ type = "password"
41
+ placeholder = "New Password"
42
+ className = "input w-full input-bordered ring-2"
43
+ />
44
+
45
+ < input
46
+ type = "password"
47
+ placeholder = "Confirm Password"
48
+ className = "input w-full input-bordered ring-2 mt-4"
49
+ />
50
+
51
+ < button className = "absolute top-3 right-3 hover:text-primary btn-xs" >
52
+ < i className = "text-sm fa fa-eye" > </ i >
53
+ </ button >
54
+ </ div >
55
+ < div className = "flex flex-col items-center justify-between" >
56
+ < button
57
+ className = "btn w-full btn-primary text-white uppercase"
58
+ type = "button"
59
+ >
60
+ Sign Up
61
+ </ button >
62
+ { /* <a
63
+ className="underline font-bold mt-4 text-xs my-2 text-secondary hover:text-primary"
64
+ href="#"
65
+ >
66
+ Forgot Password?
67
+ </a> */ }
68
+ < div className = "text-center text-xs font-semibold" >
69
+ Already have an Account?,{ " " }
70
+ < a
71
+ className = "inline-block underline align-baseline text-blue-500 hover:text-blue-800"
72
+ href = "#"
73
+ >
74
+ Sign in
75
+ </ a >
76
+ </ div >
77
+ </ div >
78
+ </ form >
79
+ </ div >
80
+ </ div >
81
+ ) ;
82
+ } ;
8
83
9
- export default Register ;
84
+ export default Register ;
0 commit comments