1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
use ;
use ;
use ;
use sleep;
/*
TODO: Create file called `register.html` in folder called `views` and copy the content below in the file.
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<base href="http://127.0.0.1:9999/">
<title>Register</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap" rel="stylesheet">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body {
background-image: url(https://images.unsplash.com/photo-1542273917363-3b1817f69a2d?q=80&w=1748&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D);
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
.login-form {
background-color: #fff;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
/* border-radius: 20px; */
border-top-left-radius: 20px;
border-bottom-left-radius: 20px;
}
.image-section {
position: relative;
background-image: url('https://images.unsplash.com/photo-1465146344425-f00d5f5c8f07?q=80&w=1752&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
background-size: cover;
background-position: center;
border-top-right-radius: 20px;
border-bottom-right-radius: 20px;
}
.icon {
position: absolute;
width: 60px;
height: 60px;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
background-color: #fff;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.icon i {
font-size: 24px;
}
.slack-icon {
top: 40px;
right: 60px;
background-color: white;
}
.slack-icon i {
color: #4A154B;
}
.user-icon {
bottom: 200px;
left: -30px;
background-color: #fecaca;
}
.user-icon i {
color: #dc2626;
}
</style>
<base href="http://localhost:9999/">
</head>
<body class="d-flex justify-content-center align-items-center vh-100">
<div class="container d-flex justify-content-center">
<div class="row" style="width: 1000px;">
<div class="col-md-6 d-flex flex-column p-5 login-form">
<h1>Register</h1>
<p class="text-muted">See your growth and get consulting support!</p>
<form action="/register" method="post">
<div class="mb-3">
<label for="email" class="form-label">Email*</label>
<input type="email"
class="form-control {{ error_has(name="email", class="is-invalid") }}"
name="email"
value="{{ old(name="email") }}">
<div class="invalid-feedback">{{ error(name="email") }}</div>
</div>
<div class="mb-3">
<label for="password" class="form-label">Password*</label>
<input type="password"
class="form-control {{ error_has(name="password", class="is-invalid") }}"
name="password"
id="password">
<div class="invalid-feedback">{{ error(name="password") }}</div>
</div>
<div class="mb-3">
<label for="password_confirmatiom" class="form-label">Password Confirmation*</label>
<input type="password"
class="form-control {{ error_has(name="password_confirmatiom", class="is-invalid") }}"
name="password_confirmatiom"
id="password_confirmatiom">
<div class="invalid-feedback">{{ error(name="password_confirmatiom") }}</div>
</div>
<button type="submit" class="btn btn-primary w-100 py-2">Login</button>
</form>
<button class="btn mt-4 btn-outline-secondary d-flex align-items-center justify-content-center gap-2 w-100 mb-4">
<i class="fab fa-google text-danger"></i>
Sign in with Google
</button>
</div>
<div class="col-md-6 image-section">
<div class="icon slack-icon">
<i class="fab fa-slack"></i>
</div>
<div class="icon user-icon">
<i class="fas fa-user"></i>
</div>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
</body>
</html>
```
*/
pub async
pub async
pub async
pub async
async