-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwaitlist.html
242 lines (214 loc) · 9.61 KB
/
waitlist.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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-M32XJDLG');</script>
<!-- End Google Tag Manager -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TestZeus</title>
<meta name="description" content="AI powered testing agents for every tester.">
<meta name="keywords" content="AI, Agents, Software Testing, Testing, SaaS">
<meta name="author" content="TestZeus">
<link rel="icon" type="image/png" href="./assets/images/TZSquare_logo_final-NoBG.png">
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="./waitliststyle.css">
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M32XJDLG"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<nav class="navbar navbar-expand-lg navbar-custom">
<div class="container">
<a class="navbar-brand" href="./index.html">
<img src="./assets/images/tz-navbar.png" style="margin: -10px -10px; margin-left: -40px;" alt="Logo" height="80">
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse justify-content-end" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="./index.html">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./thesis.html">Thesis</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./value.html">Values</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./team.html">Team</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Join the waitlist</a>
</li>
</ul>
</div>
</div>
</nav>
<center> <div class="image-holder">
<img src="./assets/images/tz-icon.png" alt="Circular Image">
</div> </center>
<!-- New Section -->
<!-- New Section -->
<section>
<div class="container">
<div class="row">
<div class="container">
<div class="col-lg-12 col-md-6 mb-4">
<div class="card h-100">
<div class="card-body">
<div class="container">
<center><h1>Join the waitlist to make it possible to balance <br>cost, speed, and software quality.</h1></center>
<form id="signup-form" class="reduced-width-form">
<div class="mb-3">
<label for="full-name" class="form-label">Full Name</label>
<input type="text" id="full-name" name="full_name" class="form-control" placeholder="Enter your full name" required>
</div>
<div class="mb-3">
<label for="company-name" class="form-label">Company Name</label>
<input type="text" id="company-name" name="company_name" class="form-control" placeholder="Enter your company name" required>
</div>
<div class="mb-3">
<label for="email" class="form-label">Business Email</label>
<input type="email" id="email" name="email" class="form-control" placeholder="Enter your Business Email" required>
</div>
<button type="submit" class="btn btn-primary w-100">Join</button>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<br>
<div id="message-card"></div>
<br>
<footer class="footer bg-gray">
<div class="container">
<div class="row align-items-center">
<!-- Left Section: Triangle T Logo -->
<div class="col-md-4 text-left">
<img src="./assets/images/tz-icon.png" alt="Footer Image" class="footer-image">
</div>
<!-- Center Section: Newsletter Signup -->
<div class="col-md-4 text-center">
<h6 class="centered-heading">Sign up for our Newsletter!</h6>
<form id="signup-form" class="reduced-width-form">
<div class="input-group" style="gap: 5px;">
<div class="input-group-prepend">
</div>
<input type="email" id="email" name="email" class="form-control rounded" placeholder="Enter your Business email" style="width: 250px;" required>
<div class="input-group-append">
<button class="btn btn-primary" type="submit" style="border: 1px solid black;">Count me in!</button>
</div>
</div>
</form>
</div>
<!-- Right Section: Made with Love in India, Copyright, and Social Icons -->
<div class="col-md-4 text-right d-flex flex-column align-items-end">
<p style="color: white; font-size: 16px;">Made with <span class="text-danger">❤️</span> in
<img src="./assets/images/206606.png" alt="India Flag" class="flag-image" style="height: 24px;">
</p>
<div class="d-flex align-items-center">
<p class="mb-0 me-3" style="color: white; font-size: 16px;">© 2024
<a href="https://www.linkedin.com/company/test-zeus" target="_blank" class="social-icon">
<img src="./assets/images/icons8-linkedin-48.png" alt="LinkedIn" class="social-logo" style="height: 20px;">
</a>
<a href="https://x.com/TestZeusAI" target="_blank" class="social-icon">
<img src="./assets/images/xlogo.png" style="border-radius: 4px; height: 15px; width: 15px;" alt="X.com" class="social-logo">
</a>
</p>
</div>
</div>
</div>
</div>
</footer>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<script>
$(document).ready(function() {
$('#signup-form').on('submit', function(event) {
event.preventDefault();
const emailInput = $('#email').val();
const fullNameInput = $('#full-name').val();
const companyNameInput = $('#company-name').val();
const blockedDomains = ['gmail.com', 'yahoo.com', 'hotmail.com'];
const emailDomain = emailInput.split('@')[1];
// Block certain email domains
if (blockedDomains.includes(emailDomain)) {
alert('Email domains from @gmail, @yahoo, and @hotmail are not allowed.');
return;
}
// Prepare form data
const formData = {
full_name: fullNameInput,
company_name: companyNameInput,
email: emailInput,
};
// Send the form data via AJAX
$.ajax({
type: 'POST',
url: 'https://test-zeus-mail-micro-waitlist.vercel.app/signup',
data: JSON.stringify(formData),
contentType: 'application/json',
success: function(response) {
let message = '';
if (response.message === 'Signup successful') {
message = `You have signed up successfully with the email - ${formData.email}`;
} else if (response.message === 'Failed to send email') {
message = 'Failed to send email. Please try again.';
} else if (response.message === 'Email is already used') {
message = 'The email is already used. Please use a different email.';
}
$('#message-card').html(
`<div>${message}</div>`
).fadeIn();
$('#signup-form')[0].reset();
setTimeout(function() {
$('#message-card').fadeOut();
}, 5000);
},
error: function(xhr) {
let message = 'An error occurred. Please try again.';
try {
const errorResponse = JSON.parse(xhr.responseText);
if (errorResponse.error === 'Email is already used') {
message = 'The email is already used. Please use a different email.';
} else if (errorResponse.error === 'Failed to send email') {
message = 'Failed to send email. Please try again.';
}
} catch (e) {
if (xhr.status === 400) {
message = 'Bad request. Please check your input and try again.';
} else if (xhr.status === 500) {
message = 'Internal server error. Please try again later.';
}
}
$('#message-card').html(
`<div>${message}</div>`
).fadeIn();
setTimeout(function() {
$('#message-card').fadeOut();
}, 5000);
}
});
});
});
</script>
<script>
document.getElementById('book-time-button').addEventListener('click', function() {
document.getElementById('waitlist-domain').scrollIntoView({ behavior: 'smooth' });
});
</script>
</body>
</html>