-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontact.html
477 lines (347 loc) · 16.3 KB
/
contact.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
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>P.W.S.S</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description"
content="Peace Way Standard School offers a nurturing and inclusive learning environment, dedicated to academic excellence, holistic development, and fostering global citizens. Our experienced faculty and comprehensive curriculum ensure that students achieve their fullest potential in a supportive community.">
<meta name="keywords"
content="Peace Way Standard School, inclusive learning environment, academic excellence, holistic development, global citizens, experienced faculty, comprehensive curriculum, supportive community, primary education, secondary education, quality education, student-centered approach">
<meta name="author" content="Code Savant">
<!-- link icons -->
<link rel="icon" href="./images/icons8-logo-1600.png" type="image/x-icon">
<!-- Facebook and Twitter integration -->
<meta property="og:title" content="Peace Way Standard School">
<meta property="og:image" content="">
<meta property="og:url" content="">
<meta property="og:type" content="website">
<meta property="og:description"
content="Peace Way Standard School offers a nurturing and inclusive learning environment, dedicated to academic excellence and holistic development.">
<meta name="twitter:title" content="Peace Way Standard School">
<meta name="twitter:image" content="">
<meta name="twitter:url" content="">
<!-- fonts -->
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Roboto+Slab:300,400" rel="stylesheet">
<!-- stylesheet -->
<link rel="stylesheet" href="./css/style.css">
<link rel="stylesheet" href="./css/animation.css">
<link rel="stylesheet" href="./css/mediaquery.css">
<link rel="stylesheet" href="./css/contact.css">
</head>
<body>
<div id="loader">
<div class="spinner"></div>
</div>
<nav>
<div class="top-nav">
<div class="aa">
<img src="./images/icons8-logo-1600.png" alt="school logo">
<span class="L-name">PWSS</span>
</div>
<button onclick="menueBar()" class="menueBar" id="menuNav">
<span class="s-1"> </span>
<span class="s-2"> </span>
<span class="s-3"> </span>
</button>
<div class="bb">
<a href="index.html" class="effect">Home</a>
<a href="faq.html" class="effect">FAQ</a>
<a href="contact.html" class="effect gggg">Contact</a>
<a href="index.html" class="effect">Testimonials</a>
<span class="dropdown">
<a href="#">Gallery</a>
<!-- drop down effect -->
<div class="dropdown-down"><span>comming soon</span></div>
</span>
<span>
<a href="sign_up.html" class="enroll">Sign In</a>
</span>
</div>
</div>
</nav>
<header class="header-contact">
<div>
<h1>Contact us</h1>
<p><small>get in touch</small></p>
</div>
</header>
<section class="section-container">
<div class="contact-container" id="buttonContainer">
<div class="contact-container-a c-one" id="c-one">
<h2>contact Peace-Way</h2>
<div class="c-1-a aaa contact-o" onclick="openSecondContainer(1)">
<p>by email</p>
<span></span>
</div>
<div class="c-1-a bbb contact-o" onclick="openSecondContainer(2)">
<p>phone number</p>
<span></span>
</div>
<div class="c-1-a ccc contact-o" onclick="openSecondContainer(3)">
<p>on social</p>
<span>
<span></span>
<span></span>
<span></span>
<span></span>
</span>
</div>
<div class="c-1-a ddd contact-o" onclick="openSecondContainer(4)">
<p>address</p>
<!-- address location on the map -->
<span></span>
</div>
</div>
<div class="contact-container-a c-two" id="c-two">
<!-- Email -->
<div class="c-2-a contact-close" id="contact1">
<form id="complaintForm">
<input type="text" name="name" id="name" placeholder="Your Name" required>
<input type="email" name="email" id="email" placeholder="Email Address" required>
<input type="text" name="subject" id="subject" placeholder="Subject" autocomplete="No Subject">
<textarea id="description" name="description" rows="10" required
placeholder="Ask Your Questions..."></textarea>
<input type="submit" value="Submit">
</form>
</div>
<!-- phone number -->
<div class="c-2-a contact-close" id="contact2">
<span></span>
<a href="tel:+2348034567299">
<p>C.E.O</p>
<h2>+234 803 456 7299</h2>
</a>
<a href="tel:+2343424563456">
<p>manager</p>
<h2>+234 342 456 3456</h2>
</a>
</div>
<!-- socials -->
<div class="c-2-a contact-close" id="contact3">
<span>
<a href="" class="contact-social-links">
<span class="contact-social-links-img"> </span>
<span>
<h2>@peace-way221</h2>
<p><em>click link to visit site</em></p>
</span>
</a>
</span>
<span>
<a href="" class="contact-social-links">
<span class="contact-social-links-img"> </span>
<span>
<h2>@peace-way221</h2>
<p><em>click link to visit site</em></p>
</span>
</a>
</span>
<span>
<a href="" class="contact-social-links">
<span class="contact-social-links-img"> </span>
<span>
<h2>@peace-way221</h2>
<p><em>click link to visit site</em></p>
</span>
</a>
</span>
<span>
<a href="" class="contact-social-links">
<span class="contact-social-links-img"> </span>
<span>
<h2>@peace-way221</h2>
<p><em>click link to visit site</em></p>
</span>
</a>
</span>
</div>
<!-- address -->
<div class="c-2-a contact-close" id="contact4">
<span>
<span class="address-pointer">
</span>
<span class="address-content">
<h3>peace way standard school</h3>
<a href="http://www.google.com/maps?q=6.512735366821289,3.2667903900146484" target="_blank">
<address>24, ninja bustop, off old garage ikotun</address>
<p><small>see location on the map</small></p>
</a>
<h3>opening & closing hours</h3>
<p>Monday-Friday <br> 9am - 4pm</p>
</span>
</span>
</div>
</div>
</div>
</section>
<section class="side-2">
<div>
<h2>Contact Peace-Way</h2>
<div class="nav-click-lists">
<span class="p-button click-button-open">
<p>By Email</p>
</span>
<span class="p-button">
<p>Phone Number</p>
</span>
<span class="p-button">
<p>On Social</p>
</span>
<span class="p-button">
<p>Address</p>
</span>
</div>
<div class="nav-clicks-container">
<!-- Email -->
<div class="p-button-container clicks-container click-container-open">
<form action="" method="">
<input type="text" name="name" placeholder="Your Name" required>
<input type="email" name="email" placeholder="Email Address" required>
<input type="text" name="subject" placeholder="Subject">
<textarea id="description" name="description" rows="10" required
placeholder="Ask Your Questions..."></textarea>
<input type="submit" value="Submit">
</form>
</div>
<!-- phone number -->
<div class="p-button-container clicks-container">
<span></span>
<a href="tel:+2348034567299">
<p>C.E.O</p>
<h2>+234 803 456 7299</h2>
</a>
<a href="tel:+2343424563456">
<p>manager</p>
<h2>+234 342 456 3456</h2>
</a>
</div>
<!-- socials -->
<div class="p-button-container clicks-container">
<span>
<a href="" class="contact-social-links">
<span class="contact-social-links-img"> </span>
<span>
<h2>@peace-way221</h2>
<p><em>click link to visit site</em></p>
</span>
</a>
</span>
<span>
<a href="" class="contact-social-links">
<span class="contact-social-links-img"> </span>
<span>
<h2>@peace-way221</h2>
<p><em>click link to visit site</em></p>
</span>
</a>
</span>
<span>
<a href="" class="contact-social-links">
<span class="contact-social-links-img"> </span>
<span>
<h2>@peace-way221</h2>
<p><em>click link to visit site</em></p>
</span>
</a>
</span>
<span>
<a href="" class="contact-social-links">
<span class="contact-social-links-img"> </span>
<span>
<h2>@peace-way221</h2>
<p><em>click link to visit site</em></p>
</span>
</a>
</span>
</div>
<!-- address -->
<div class="p-button-container clicks-container">
<span>
<span class="address-pointer">
</span>
<span class="address-content">
<h3>peace way standard school</h3>
<a href="http://www.google.com/maps?q=6.512735366821289,3.2667903900146484" target="_blank">
<address>24, ninja bustop, off old garage ikotun</address>
<p><small>see location on the map</small></p>
</a>
<h3>opening & closing hours</h3>
<p>Monday-Friday <br> 9am - 4pm</p>
</span>
</span>
</div>
</div>
</div>
</section>
<footer>
<span class="L-name">Peace Way Standard School</span>
<div class="footer1">
<a href="index.html" class="effect">Home</a>
<a href="faq.html" class="effect">FAQ</a>
<a href="contact.html" class="effect">Contact</a>
<a href="index.html" class="effect">Testimonials</a>
<span class="dropdown">
<a href="index.html">Gallery</a>
<!-- drop down effect -->
<div class="dropdown-down"><span>comming soon</span></div>
</span>
<a href="sign_up.html" class="effect">Sign In</a>
</div>
<div class="footer2">
<a href="#"><img src="./images/facebook.png" alt="social-logo"></a>
<a href="#"><img src="./images/instagram.png" alt="social-logo"></a>
<a href="#"><img src="./images/x.png" alt="social-logo"></a>
<a href="#"><img src="./images/discord.png" alt="social-logo"></a>
</div>
<div class="footer3">
<p>
<small class="block">© 2024 Code Savant, All Rights Reserved.</small>
<small class="block">Designed by <a href="#" target="_blank">Code savant</a></small>
</p>
</div>
</footer>
</body>
<script>
function openSecondContainer(divNumber) {
// target the parent container
const buttonContainer = document.getElementById('buttonContainer');
if (!buttonContainer.classList.contains('increaseWidth')) {
buttonContainer.classList.add('increaseWidth');
}
// call the close-container
const contentDivs = document.querySelectorAll('#c-two .contact-close');
contentDivs.forEach(div => div.classList.remove('open'));
//call onclick divs
const buttonDivs = document.querySelectorAll('#c-one .contact-o');
buttonDivs.forEach(button => button.classList.remove('pen'));
// target the close-container
const targetContentDiv = document.getElementById(`contact${divNumber}`);
targetContentDiv.classList.add('open');
// target onclick divs
const targetButtonDiv = document.querySelector(`#c-one .contact-o:nth-of-type(${divNumber})`);
targetButtonDiv.classList.add('pen');
}
document.addEventListener("DOMContentLoaded", function () {
// Get all the span and div elements
const spanss = document.getElementsByClassName("p-button");
const divss = document.getElementsByClassName("p-button-container");
for (let i = 0; i < spanss.length; i++) {
spanss[i].addEventListener("click", function () {
// Remove the 'open' class from the currently active span
document.querySelector(".click-button-open").classList.remove("click-button-open");
// Add the 'open' class to the clicked span
this.classList.add("click-button-open");
// Remove the 'open-now' class from the currently active div
document.querySelector(".click-container-open").classList.remove("click-container-open");
// Add the 'open-now' class to the corresponding div
divss[i].classList.add("click-container-open");
});
}
});
</script>
</script>
<script src="./js/script.js"></script>
</html>