-
Notifications
You must be signed in to change notification settings - Fork 0
/
signup.html
298 lines (266 loc) · 10.7 KB
/
signup.html
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
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mailtrap with VK_18</title>
<link rel="stylesheet" href="index.css">
<link rel="icon" type="image/x-icon" href="images/Beige Green Creative Decorative Typography Monogram Business Logo.jpg">
<style>
* {
margin: 0px;
padding: 0px;
font-family: Arial, Helvetica, sans-serif;
}
#signup-nav {
display: flex;
padding: 1%;
}
#signup-nav>div:first-child {
margin-left: 11%;
}
#signup-nav>div:last-child {
width: 200px;
display: flex;
gap: 10px;
margin-left: 56%;
align-items: center;
}
#signup-nav>div:last-child>button {
height: 35px;
padding: 1% 10%;
}
#signup-nav>div:last-child>button:first-child>a {
color: #1e2b40;
}
#signup-nav>div:last-child>button:last-child>a {
color: white;
}
a {
font-weight: bold;
}
.signup-container {
display: flex;
justify-content: space-around;
width: 80%;
margin: auto;
margin-top: 5%;
}
.signup-container>div {
height: 500px;
}
.signup-container>div>h1 {
text-align: left;
font-size: 35px;
margin-bottom: -6%;
}
.signup-container>div>p {
font-size: 15px;
}
.signup-container>div>p>span {
color: rgba(73, 148, 245, 0.877);
cursor: pointer;
}
.signup-container>div>p>span:hover {
text-decoration: underline;
}
.signup-container>div:first-child {
display: grid;
grid-template-columns: repeat(1, 1fr);
width: 380px;
gap: 3%;
}
.signup-container>div:first-child>button {
background-color: white;
border: 1px solid #1e2b40;
border-radius: 10px;
cursor: pointer;
}
.signup-container>div:first-child>button:nth-child(2):hover,
.signup-container>div:first-child>button:nth-child(3):hover,
.signup-container>div:first-child>button:nth-child(4):hover {
background-color: #1e2b40;
color: white;
transition: 0.14s;
}
.signup-container>div:first-child>button:nth-child(5) {
border: none;
cursor: auto;
}
.button:hover,
#btn:hover {
background-color: rgb(154, 207, 158);
transition: 0.14s;
}
#btn {
background-color: rgb(94, 218, 102);
border: none;
color: white;
font-weight: bold;
}
.signup-container>div:last-child {
padding-top: 7%;
padding-right: 5%;
}
.signup-container>div>div {
display: flex;
margin-top: 5%;
margin-left: 20%;
gap: 10px;
}
.signup-container>div:first-child>div {
display: none;
grid-template-columns: repeat(1, 1fr);
width: 380px;
height: 300px;
margin: auto;
margin-top: -3%;
}
.signup-container>div:first-child>div>p {
height: 20px;
text-align: left;
}
.signup-container>div:first-child>div>p+input {
margin-top: -10%;
margin-bottom: 5%;
text-align: left;
font-size: 20px;
border-radius: 10px;
}
</style>
</head>
<body>
<div id="signup-nav">
<div>
<a href="index.html"><img src="https://mailtrap.io/wp-content/uploads/2021/04/mailtrap-new-logo.svg"
alt="logo"></a>
</div>
<div>
<button class="loginbutton"><a href="login.html">Log In</a></button>
<button class="button"><a href="signup.html">Sign Up</a></button>
</div>
</div>
<div class="signup-container">
<div>
<h1>Create Free Account</h1>
<button onclick="google()">Use Google account</button>
<button onclick="github()">Use Github account</button>
<button onclick="office()">Use Office 365 account</button>
<button>OR</button>
<div class="block">
<p>Email</p>
<input type="email" id="email">
<p>Password</p>
<input type="password" id="password">
<p>Confirmation</p>
<input type="password" id="confirm">
</div>
<button id="btn" onclick="signupblock()">Sign Up With Your Email</button>
<p>By creating a Mailtrap account, you agree to our <span>Terms of Service</span> and <span>Privacy
Policy.</span> We'll occasionally send you account related emails.</p>
</div>
<div>
<img src="https://assets.mailtrap.io/packs/assets/landing/signup-29d04f096f43afe622ed.svg" alt="1">
<div>
<img src="https://assets.mailtrap.io/packs/assets/landing/no-cc-f64815040928cb2cd45e.svg" alt="">
<h4>No credit card needed</h4>
</div>
<div>
<img src="https://assets.mailtrap.io/packs/assets/landing/no-contract-6c7fcc24afc64e708f1d.svg" alt="">
<h4>No contract needed</h4>
</div>
</div>
</div>
<div id="bottom" style="background-color :whitesmoke; padding-top: 3%; padding-bottom: 3%;">
<div>
<img src="images/download.png" alt="">
<div>
<ul>
<h3>Mailtrap</h3>
<li>Pricing</li>
<li>Changelog</li>
<li>Status</li>
<li>Terms of Service</li>
<li>Privacy Policy</li>
<li>Navigational Information</li>
<li>DPA</li>
</ul>
<ul>
<h3>Railsware Experience</h3>
<li>Mailtrap Blog</li>
<li>Coupler.io</li>
<li>Smart Checklist for Jira</li>
<li>Careers–Railsware Hiring</li>
</ul>
<ul>
<h3>Contact</h3>
<li>email: support@mailtrap.io</li>
<li>
<div>
<img src="images/facebook.png" alt="">
<img src="images/twitter.png" alt="">
<img src="images/linkedin.png" alt="">
</div>
</li>
<li>feedbacks*</li>
</ul>
</div>
</div>
<div style="margin-left:12%; margin-top: 8%;">
<p>© Railsware Products Studio, Inc.</p>
</div>
<div style="display: block; text-align: left; margin-left: 32%; width: 900px;
margin-top: -6%;">
<h3 style="text-align: left;">What is Mailtrap?</h3>
<p style="text-align: left;">Mailtrap is a test mail server solution that allows testing email notifications
without sending
them to the real users of your application. Not only does Mailtrap work as a powerful email test
tool, it also lets you view your dummy emails online, forward them to your regular mailbox,
share with the team and more! Mailtrap is a mail server test tool built by Railsware Products,
Inc., a premium software development consulting company.
</p>
</div>
</div>
</body>
</html>
<script>
function google() {
window.location = 'https://accounts.google.com/o/oauth2/auth/oauthchooseaccount?access_type=offline&client_id=495126761595-3v7fijq7t51cguc5i8ibpi53ttik3j1l.apps.googleusercontent.com&redirect_uri=https%3A%2F%2Fmailtrap.io%2Fauth%2Fgoogle_oauth2%2Fcallback&response_type=code&scope=email%20profile&state=63761f56a59d5b2fdd6577104d3ed56c53cbb9a839098212&service=lso&o2v=1&flowName=GeneralOAuthFlow';
}
function github() {
window.location = 'https://github.com/login/oauth/authorize?client_id=744fecc5148a94851a58&redirect_uri=https%3A%2F%2Fmailtrap.io%2Fauth%2Fgithub%2Fcallback&response_type=code&scope=user%3Aemail&state=6226b09a3eea3175aa71c9c58de128fdb867b6bda4bc410b';
}
function office() {
window.location = 'https://login.live.com/oauth20_authorize.srf?client_id=b2656ee8-e6f3-494b-bde9-5d9d9c8fcd84&scope=openid+email+profile+User.Read&redirect_uri=https%3a%2f%2fmailtrap.io%2fauth%2fmicrosoft_office365%2fcallback&response_type=code&state=25b449c6db5ef2148ff28e3d992e82b1f6c1208852a59206&uaid=d556749cc29f432289b7d476f5c3a1f1&msproxy=1&issuer=mso&tenant=common&ui_locales=en-US&epct=AQABAAAAAAD--DLA3VO7QrddgJg7Wevre-tkgW26RqkuK86oyPWy3LGaWCMro-7iweBYFvlL8NaJ2u6boM6ZUKMJens6FQ3lQ7I0kLfSaoGgE2uJ0ODlVAIidpY8YULDAaXkwYflA9gWwOKDTAF1AmvKjI3ddCqG_J5-kmUl4khiPBO7Il7j0DP1zM--5XtB4WN_-m7TvGHeIi_uL-oaaxdN6riGIA1t8-4sFSlHxy7l3gidqZEPwyAA&jshs=0';
}
function signupblock() {
if (document.querySelector("#btn").innerText == "Sign Up") {
let email = document.querySelector("#email").value;
let password = document.querySelector("#password").value;
let confirm = document.querySelector("#confirm").value;
if (email == "" || password == "" || confirm == "") {
alert("please fill Email and password");
} else {
let bag = JSON.parse(localStorage.getItem("registeredData")) || [];
let obj = {
email,
password,
confirm
}
bag.push(obj);
console.log(obj);
localStorage.setItem("registeredData", JSON.stringify(bag));
document.querySelector("#email").value = "";
document.querySelector("#password").value = "";
document.querySelector("#confirm").value = "";
window.location.href = "login.html";
}
} else {
document.querySelector(".signup-container>div:first-child>div").style.display = "grid";
document.querySelector(".signup-container>div:first-child>div").style.transition = "0.14";
document.querySelector(".signup-container>div").style.height = "1000px";
document.querySelector("#btn").innerText = "Sign Up"
}
}
</script>