-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathget-started.html
411 lines (370 loc) · 20.9 KB
/
get-started.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
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
<html lang="en">
<head>
<meta charset="utf-8">
<title>Nathuel Driving and Computer College</title>
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<meta content="" name="keywords">
<meta content="" name="description">
<!-- Favicon -->
<link href="img/favicon.ico" rel="icon">
<!-- Google Web Fonts -->
<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=Work+Sans:wght@400;500;600;700&display=swap" rel="stylesheet">
<!-- Icon Font Stylesheet -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.0/css/all.min.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css" rel="stylesheet">
<!-- Libraries Stylesheet -->
<link href="lib/animate/animate.min.css" rel="stylesheet">
<link href="lib/owlcarousel/assets/owl.carousel.min.css" rel="stylesheet">
<!-- Customized Bootstrap Stylesheet -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<!-- Template Stylesheet -->
<link href="css/style.css" rel="stylesheet">
<script src="https://code.jquery.com/jquery-3.6.4.min.js"></script>
<body>
<!-- Topbar Start -->
<div class="container-fluid bg-dark text-light p-0">
<div class="row gx-0 d-none d-lg-flex">
<div class="col-lg-7 px-5 text-start">
<div class="h-100 d-inline-flex align-items-center me-4">
<small class="fa fa-map-marker-alt text-primary me-2"></small>
<small> Nairobi, Kenya</small>
</div>
<div class="h-100 d-inline-flex align-items-center">
<small class="far fa-clock text-primary me-2"></small>
<small>Mon - Fri : 08.00 AM - 09.00 PM</small>
</div>
</div>
<div class="col-lg-5 px-5 text-end">
<div class="h-100 d-inline-flex align-items-center me-4">
<small class="fa fa-phone-alt text-primary me-2"></small>
<small>+254 706564014</small>
</div>
<div class="h-100 d-inline-flex align-items-center mx-n2">
<a class="btn btn-square btn-link rounded-0 border-0 border-end border-secondary" href=""><i class="fab fa-facebook-f"></i></a>
<a class="btn btn-square btn-link rounded-0 border-0 border-end border-secondary" href=""><i class="fab fa-twitter"></i></a>
<a class="btn btn-square btn-link rounded-0 border-0 border-end border-secondary" href=""><i class="fab fa-linkedin-in"></i></a>
<a class="btn btn-square btn-link rounded-0" href=""><i class="fab fa-instagram"></i></a>
</div>
</div>
</div>
</div>
<!-- Topbar End -->
<!-- Navbar Start -->
<nav class="navbar navbar-expand-lg bg-white navbar-light sticky-top p-0">
<a href="index.html" class="navbar-brand d-flex align-items-center border-end px-4 px-lg-5">
<h2 class="m-0"><i class="fa fa-car text-primary me-2"></i>Nathuel Driving College</h2>
</a>
<button type="button" class="navbar-toggler me-4" data-bs-toggle="collapse" data-bs-target="#navbarCollapse">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarCollapse">
<div class="navbar-nav ms-auto p-4 p-lg-0">
<a href="index.html" class="nav-item nav-link active">Home</a>
</div>
</div>
</nav>
<!-- Navbar End -->
<!-- Get Started -->
<!-- Courses Start -->
<div id="courses" class="container-xxl courses my-6 py-6 pb-0">
<div class="container">
<div class="text-center mx-auto mb-5 wow fadeInUp" data-wow-delay="0.1s" style="max-width: 500px;">
<h6 class="text-primary text-uppercase mb-2">Popular Courses</h6>
<h1 class="display-6 mb-4">Master Driving with Our Comprehensive Training Programs</h1>
</div>
<div class="row g-4 justify-content-center">
<!-- Motorbike Lessons (A2) -->
<div class="col-lg-4 col-md-6 wow fadeInUp" data-wow-delay="0.1s">
<div class="courses-item d-flex flex-column bg-white overflow-hidden h-100">
<div class="text-center p-4 pt-0">
<div class="d-inline-block bg-primary text-white fs-5 py-1 px-4 mb-4">Ksh 10,000</div>
<h5 class="mb-3">Motorbike Lessons (A2)</h5>
<p>Learn to ride motorbikes safely and confidently. Perfect for all skill levels.</p>
<ol class="breadcrumb justify-content-center mb-0">
<li class="breadcrumb-item small"><i class="fa fa-signal text-primary me-2"></i>All Levels</li>
<li class="breadcrumb-item small"><i class="fa fa-calendar-alt text-primary me-2"></i>Varies</li>
</ol>
</div>
<div class="position-relative mt-auto">
<img class="img-fluid" src="img/courses-7.webp" alt="Motorbike Lessons">
<div class="courses-overlay">
<a class="btn btn-outline-primary border-2" href="#">Read More</a>
</div>
</div>
</div>
</div>
<!-- Automatic Car Lessons (B1) -->
<div class="col-lg-4 col-md-6 wow fadeInUp" data-wow-delay="0.3s">
<div class="courses-item d-flex flex-column bg-white overflow-hidden h-100">
<div class="text-center p-4 pt-0">
<div class="d-inline-block bg-primary text-white fs-5 py-1 px-4 mb-4">Ksh 12,000</div>
<h5 class="mb-3">Automatic Car Lessons (B1)</h5>
<p>Learn to drive automatic cars with ease. Perfect for beginners looking for a smooth experience.</p>
<ol class="breadcrumb justify-content-center mb-0">
<li class="breadcrumb-item small"><i class="fa fa-signal text-primary me-2"></i>Beginner</li>
<li class="breadcrumb-item small"><i class="fa fa-calendar-alt text-primary me-2"></i>3 Weeks</li>
</ol>
</div>
<div class="position-relative mt-auto">
<img class="img-fluid" src="img/courses-1.jpg" alt="Automatic Car Lessons">
<div class="courses-overlay">
<a class="btn btn-outline-primary border-2" href="#">Read More</a>
</div>
</div>
</div>
</div>
<!-- Manual Car Lessons (B2) -->
<div class="col-lg-4 col-md-6 wow fadeInUp" data-wow-delay="0.5s">
<div class="courses-item d-flex flex-column bg-white overflow-hidden h-100">
<div class="text-center p-4 pt-0">
<div class="d-inline-block bg-primary text-white fs-5 py-1 px-4 mb-4">Ksh 12,000</div>
<h5 class="mb-3">Manual Car Lessons (B2)</h5>
<p>Master manual cars with comprehensive training for better control and efficiency.</p>
<ol class="breadcrumb justify-content-center mb-0">
<li class="breadcrumb-item small"><i class="fa fa-signal text-primary me-2"></i>Beginner</li>
<li class="breadcrumb-item small"><i class="fa fa-calendar-alt text-primary me-2"></i>3 Weeks</li>
</ol>
</div>
<div class="position-relative mt-auto">
<img class="img-fluid" src="img/courses-3.jpg" alt="Manual Car Lessons">
<div class="courses-overlay">
<a class="btn btn-outline-primary border-2" href="#">Read More</a>
</div>
</div>
</div>
</div>
<!-- Combined Manual and Automatic Lessons (B1/B2) -->
<div class="col-lg-4 col-md-6 wow fadeInUp" data-wow-delay="0.7s">
<div class="courses-item d-flex flex-column bg-white overflow-hidden h-100">
<div class="text-center p-4 pt-0">
<div class="d-inline-block bg-primary text-white fs-5 py-1 px-4 mb-4">Ksh 14,000</div>
<h5 class="mb-3">Combined Manual and Automatic (B1/B2)</h5>
<p>Master both manual and automatic cars in one comprehensive course.</p>
<ol class="breadcrumb justify-content-center mb-0">
<li class="breadcrumb-item small"><i class="fa fa-signal text-primary me-2"></i>Intermediate</li>
<li class="breadcrumb-item small"><i class="fa fa-calendar-alt text-primary me-2"></i>4 Weeks</li>
</ol>
</div>
<div class="position-relative mt-auto">
<img class="img-fluid" src="img/courses-4.jpg" alt="Combined Lessons">
<div class="courses-overlay">
<a class="btn btn-outline-primary border-2" href="#">Read More</a>
</div>
</div>
</div>
</div>
<!-- Light Truck Lessons (C1) -->
<div class="col-lg-4 col-md-6 wow fadeInUp" data-wow-delay="0.9s">
<div class="courses-item d-flex flex-column bg-white overflow-hidden h-100">
<div class="text-center p-4 pt-0">
<div class="d-inline-block bg-primary text-white fs-5 py-1 px-4 mb-4">Ksh 13,000</div>
<h5 class="mb-3">Light Truck Lessons (C1)</h5>
<p>Learn to operate light trucks safely, designed for aspiring professionals.</p>
<ol class="breadcrumb justify-content-center mb-0">
<li class="breadcrumb-item small"><i class="fa fa-signal text-primary me-2"></i>Intermediate</li>
<li class="breadcrumb-item small"><i class="fa fa-calendar-alt text-primary me-2"></i>6 Weeks</li>
</ol>
</div>
<div class="position-relative mt-auto">
<img class="img-fluid" src="img/courses-5.webp" alt="Light Truck Lessons">
<div class="courses-overlay">
<a class="btn btn-outline-primary border-2" href="#">Read More</a>
</div>
</div>
</div>
</div>
<!-- Combination Vehicle Lessons (BC1) -->
<div class="col-lg-4 col-md-6 wow fadeInUp" data-wow-delay="1.1s">
<div class="courses-item d-flex flex-column bg-white overflow-hidden h-100">
<div class="text-center p-4 pt-0">
<div class="d-inline-block bg-primary text-white fs-5 py-1 px-4 mb-4">Ksh 15,000</div>
<h5 class="mb-3">Combination Vehicle Lessons (BC1)</h5>
<p>Prepare for driving combination vehicles, perfect for those pursuing advanced driving careers.</p>
<ol class="breadcrumb justify-content-center mb-0">
<li class="breadcrumb-item small"><i class="fa fa-signal text-primary me-2"></i>Advanced</li>
<li class="breadcrumb-item small"><i class="fa fa-calendar-alt text-primary me-2"></i>8 Weeks</li>
</ol>
</div>
<div class="position-relative mt-auto">
<img class="img-fluid" src="img/courses-2.jpg" alt="Combination Vehicle Lessons">
<div class="courses-overlay">
<a class="btn btn-outline-primary border-2" href="#">Read More</a>
</div>
</div>
</div>
</div>
<!-- Van Driving Lessons (DD1) -->
<div class="col-lg-4 col-md-6 wow fadeInUp" data-wow-delay="1.3s">
<div class="courses-item d-flex flex-column bg-white overflow-hidden h-100">
<div class="text-center p-4 pt-0">
<div class="d-inline-block bg-primary text-white fs-5 py-1 px-4 mb-4">Ksh 7,000</div>
<h5 class="mb-3">Van Driving Lessons (D1)</h5>
<p>Specialized training for 14-seater van driving, ideal for public service operators.</p>
<ol class="breadcrumb justify-content-center mb-0">
<li class="breadcrumb-item small"><i class="fa fa-signal text-primary me-2"></i>Intermediate</li>
<li class="breadcrumb-item small"><i class="fa fa-calendar-alt text-primary me-2"></i>4 Weeks</li>
</ol>
</div>
<div class="position-relative mt-auto">
<img class="img-fluid" src="img/courses-6.avif" alt="Van Driving Lessons">
<div class="courses-overlay">
<a class="btn btn-outline-primary border-2" href="#">Read More</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Courses End -->
<!-- Form Start -->
<div id="start" class="container-xxl ">
<div class="text-center mb-4">
<h1 class="text-primary">Get Started</h1>
<p>Fill in your details to get started.</p>
</div>
<div class="row justify-content-center">
<div class="col-12 col-sm-10 col-md-8 col-lg-6">
<form id="getStartedForm" class="needs-validation p-4 bg-light shadow-sm rounded" novalidate>
<div class="mb-3">
<label for="fullName" class="form-label">Full Name</label>
<input type="text" class="form-control" id="fullName" name="fullName" required>
<div class="invalid-feedback">Please enter your full name.</div>
</div>
<div class="mb-3">
<label for="email" class="form-label">Email Address</label>
<input type="email" class="form-control" id="email" name="email" required>
<div class="invalid-feedback">Please enter a valid email address.</div>
</div>
<div class="mb-3">
<label for="phone" class="form-label">Phone Number</label>
<input type="tel" class="form-control" id="phone" name="phone" pattern="[0-9]{10}" required>
<div class="invalid-feedback">Please enter a valid 10-digit phone number.</div>
</div>
<button type="button" id="payNow" class="btn btn-primary w-100">Pay Now</button>
</form>
</div>
</div>
</div>
<!-- About End -->
<!-- Modal for MPesa Payment -->
<div class="modal fade" id="mpesaModal" tabindex="-1" aria-labelledby="mpesaModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="mpesaModalLabel">Enter MPesa Number</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<form id="mpesaForm" class="needs-validation" novalidate>
<div class="mb-3">
<label for="mpesaNumber" class="form-label">MPesa Phone Number</label>
<input type="tel" class="form-control" id="mpesaNumber" pattern="[0-9]{10}" required>
<div class="invalid-feedback">Please enter a valid 10-digit MPesa number.</div>
</div>
<button type="submit" class="btn btn-success w-100">Confirm Payment</button>
</form>
</div>
</div>
</div>
</div>
<!-- Footer Start -->
<div class="container-fluid bg-dark text-light footer my-6 mb-0 py-6 wow fadeIn" data-wow-delay="0.1s">
<div class="container">
<div class="row g-5">
<div class="col-lg-3 col-md-6">
<h4 class="text-white mb-4">Get In Touch</h4>
<h2 class="text-primary mb-4"><i class="fa fa-car text-white me-2"></i>Nathuel Driving College</h2>
</div>
<div class="col-lg-3 col-md-6">
<p class="mb-2"><i class="fa fa-map-marker-alt me-3"></i>Nairobi, Kenya</p>
<p class="mb-2"><i class="fa fa-building" ></i> Mon - Fri : 08.00 AM - 09.00 PM</p>
<p class="mb-2"><i class="fa fa-envelope me-3"></i>[email protected]</p>
<p class="mb-2"><i class="fa fa-phone-alt me-3"></i>+254 706564014</p>
</div>
<div class="col-lg-3 col-md-6">
<h4 class="text-light mb-4">Follow Us</h4>
<div class="d-flex pt-2">
<a class="btn btn-square btn-outline-light me-1" href=""><i class="fab fa-twitter"></i></a>
<a class="btn btn-square btn-outline-light me-1" href=""><i class="fab fa-facebook-f"></i></a>
<a class="btn btn-square btn-outline-light me-1" href=""><i class="fab fa-youtube"></i></a>
<a class="btn btn-square btn-outline-light me-0" href=""><i class="fab fa-linkedin-in"></i></a>
</div>
</div>
<div class="col-lg-3 col-md-6">
<h4 class="text-light mb-4">Newsletter</h4>
<form action="">
<div class="input-group">
<input type="text" class="form-control p-3 border-0" placeholder="Your Email Address">
<button class="btn btn-primary">Sign Up</button>
</div>
</form>
</div>
</div>
</div>
</div>
<!-- Footer End -->
<!-- Copyright Start -->
<div class="container-fluid copyright text-light py-4 wow fadeIn" data-wow-delay="0.1s">
<div class="container">
<div class="row">
<div class="col-md-6 text-center text-md-start mb-3 mb-md-0">
© 2025 <a href="#">Nathuel Driving and Computer College</a>, All Right Reserved.
</div>
</div>
</div>
</div>
<!-- Copyright End -->
<!-- Back to Top -->
<a href="#" class="btn btn-lg btn-primary btn-lg-square back-to-top"><i class="bi bi-arrow-up"></i></a>
<script>
// Bootstrap validation for the form
(function () {
'use strict';
const forms = document.querySelectorAll('.needs-validation');
Array.from(forms).forEach(form => {
form.addEventListener('submit', function (event) {
if (!form.checkValidity()) {
event.preventDefault();
event.stopPropagation();
}
form.classList.add('was-validated');
}, false);
});
})();
// Trigger MPesa modal on Pay Now button click
$('#payNow').click(function () {
const form = $('#getStartedForm')[0];
if (form.checkValidity()) {
$('#mpesaModal').modal('show');
} else {
form.classList.add('was-validated');
}
});
// Simulate MPesa payment confirmation
$('#mpesaForm').submit(function (e) {
e.preventDefault();
const mpesaForm = $('#mpesaForm')[0];
if (mpesaForm.checkValidity()) {
alert('Payment confirmed!');
$('#mpesaModal').modal('hide');
window.location.href = 'login.html'; // Redirect to login page
} else {
mpesaForm.classList.add('was-validated');
}
});
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.0/js/bootstrap.bundle.min.js"></script>
<!-- JavaScript Libraries -->
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<script src="lib/wow/wow.min.js"></script>
<script src="lib/easing/easing.min.js"></script>
<script src="lib/waypoints/waypoints.min.js"></script>
<script src="lib/owlcarousel/owl.carousel.min.js"></script>
<!-- Template Javascript -->
<script src="js/main.js"></script>
</body>
</html>