-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
404 lines (372 loc) · 16.1 KB
/
index.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
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="tazama afrik africa culture restaurants african countries">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Displayable Metadata -->
<meta name="author" content="Obed and Faith">
<meta name="description" content="Tazama Afrik is a one-stop site that provides well organized data about all African countries,
African culture and festivals, top African beaches, top African meals and cuisine,
popular reserves in Africa, and many more.">
<meta property="fb:app_id" content="01">
<meta property="og:url" content="https://tazama-afrik.github.io">
<meta property="og:image" itemprop="image" content="/img/git-profile.png">
<meta property="og:image:alt" content="Tazama Afrik profile picture">
<meta property="og:site_name" content="Tazama Afrik">
<meta property="og:title" content="Tazama Afrik">
<meta property="og:type" content="website">
<meta property="og:description" content="Tazama Afrik is a one-stop site that provides well organized data about all African countries,
African culture and festivals, top African beaches, top African meals and cuisine,
top reserve places in africa, and many more.">
<meta property="og:locale" content="en_US">
<!-- meta ended -->
<link rel="stylesheet" href="/css/styles.css">
<link rel="stylesheet" href="https://code.jquery.com/ui/1.13.1/themes/base/jquery-ui.css">
<link rel="stylesheet" href="http://jqueryui.com/resources/demos/style.css">
<script src="https://code.jquery.com/jquery-3.6.0.js"></script>
<script src="https://code.jquery.com/ui/1.13.1/jquery-ui.js"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Fredoka:wght@300&family=Yanone+Kaffeesatz:wght@700&display=swap"
rel="stylesheet">
<link rel='shortcut icon' href="/img/tazama_afrik.png">
<title>Tazama Afrik</title>
</head>
<body>
<!---------- TOP NAVIGATION ------------->
<div class="hello">
<div class="nav">
<a id="home" href="/">Tazama Afrik</a>
<a class="b" href="#about">About</a>
<a class="b" href="/pages/countries">Countries</a>
<a class="b" href="/pages/beaches">Beaches</a>
<a class="b" href="/pages/culture">Culture</a>
<a class="b" href="/pages/reserves">Reserves</a>
<a class="b" href="/pages/cuisine">Cuisine</a>
<!-- ---- BEGINNING OF SEARCH BAR ------
<div class="search">
<input name="search bar" id="searchbar" placeholder="Type here to search" rows="1" class="put"
type="search"></input>
<button type="submitbutton" id="searchSubmit">Search</button>
</div> -->
<!------ END OF SEARCH BAR ------->
<div class="fa fa-bars fa-2x" id="menu-icon"></div>
<div id="closer-icon">×</div>
</div>
<!-- MENU FOR SMALL SIZE MEDIA -->
<div id="menu">
<above class="widget-header">
<div>Make Your Selection Here</div>
</above>
<a class="b fa fa-medal" href="#about"> About</a>
<a class="b fa fa-globe-africa" href="/pages/countries"> Countries</a>
<a class="b fa fa-umbrella-beach" href="/pages/beaches"> Beaches</a>
<a class="b fa fa-street-view" href="/pages/culture"> Culture</a>
<a class="b fa fa-tree" href="/pages/reserves"> Reserves</a>
<a class="b fa fa-utensil-spoon" href="/pages/cuisine"> Cuisine</a>
</div>
<div class="welcome" id="welcome">
<h2>Welcome To Tazama Afrik</h2>
<h4>
Explore the world of Africa!
</h4>
</div>
</div>
<!---------------------------------- NAVIGATION BAR ENDS --------------------------------->
<div class="select">
<h2>Destination Africa</h2>
<h4>Make a selection below to survey our recommendations</h4>
</div>
<div class="container" id="container">
<div class="project-image-wrapper">
<a href="/pages/countries">
<h1 class="hover-text">COUNTRIES</h1><img class="project-image" src="img/map.jpg" alt="Countries">
</a>
</div>
<div class="project-image-wrapper">
<a href="/pages/beaches">
<h1 class="hover-text">BEACHES</h1><img class="project-image" src="img/beach/idyllic-beach-ghambia.jpg"
alt="Image">
</a>
</div>
<div class="project-image-wrapper">
<a href="/pages/reserves">
<h1 class="hover-text">RESERVES</h1><img class="project-image" src="img/zebras.jpeg" alt="Reserves">
</a>
</div>
<div class="project-image-wrapper">
<a href="/pages/cuisine">
<h1 class="hover-text">CUISINE</h1><img class="project-image" src="img/jollof-rice/fine-jollof1.jpg"
alt="Restaurants">
</a>
</div>
<div class="project-image-wrapper">
<a href="/pages/culture">
<h1 class="hover-text">CULTURE</h1><img id="culture-img" class="project-image" src="img/calabar-carnival.jpg"
alt="Culture">
</a>
</div>
</div>
<!----------------- ABOUT US -------------->
<div id="about">
<h3><u>ABOUT US</u></h3>
<p>Are you searching for a nice place to spend your vacation? We've got you covered.</p>
<blockquote>
Here at Tazama Afrik, We provide all you need about amazing places you can visit in Africa.
Learn more about all Afican countries, African tourism, and visit Africa online.
We help you experience the rich diversity in African cultural heritage, animal and natural reserves,
breath-taking beaches and delicious delicacies that will make your visit to Africa a memorable one.
</blockquote>
<p>
We understand that individuals have their preferences. We therefore make our recommendations to suit your
preference.
</p> <br> Already an African? Learn more about <a href="/pages/countries"
style="color: #771a36; text-decoration: none;">your country!</a>
</div>
<!-- LINKS, AUTHURS AND CONTACT -->
<!-- <send class="send-message fa fa-envelope" id="propose"> Send a feedback</send> -->
<a href="https://github.com/Tazama-Afrik/tazama-afrik" id="fork" class="fab fa-github"> Fork On Github</a>
<div class="links-and-contact">
<div class="connect">
<h4 class="navtopic">Connect With Us</h4>
<div class="links">
<one>
<a class="zero fab fa-github fa-2x" href="https://github.com/Tazama-Afrik"></a>
</one>
<one>
<a class="zero fab fa-linkedin fa-2x" href="https://linkedin.com/in/tazama-afrik"></a>
</one>
<one>
<a class="zero fab fa-facebook fa-2x" href="https://facebook.com/in/tazama-afrik"></a>
</one>
<one>
<a class="zero fab fa-twitter fa-2x" href="https://twitter.com/in/tazama-afrik"></a>
</one>
</div>
</div>
<!------------------- NAVIGATION PANE ABOVE THE FOOTER --------------->
<div class="navigate">
<h4 class="navtopic">Walk Around</h4>
<a class="two" href="/#about">About Us</a>
<a class="two" href="/pages/countries">Countries</a>
<a class="two" href="/pages/beaches">Beaches</a>
<a class="two" href="/pages/culture">Culture</a>
<a class="two" href="/pages/reserves">Reserves</a>
<a class="two" href="/pages/cuisine">Cuisine</a>
</div>
<!--Class Navigate Ends-->
<div class="navigate">
<h4 class="navtopic">Top Beaches<br>To View</h4>
<a class="two" href="/pages/beaches#tabs-1">Belle Mare</a>
<a class="two" href="/pages/beaches#tabs-2">Anse Lazio</a>
<a class="two" href="/pages/beaches#tabs-3">Camps Bay</a>
<a class="two" href="/pages/beaches#tabs-4">Diani</a>
<a class="two" href="/pages/beaches#tabs-5">Boulders</a>
<a class="two" href="/pages/beachesl#tabs-6">Bazaruto</a>
<a class="two" href="/pages/beaches#tabs-7">Idyllic</a>
<a class="two" href="/pages/beaches#tabs-8">Lekki</a>
</div>
<!--Class Navigate Beaches Ends-->
<div class="navigate">
<h4 class="navtopic">Top Reserve Places<br>To View</h4>
<a class="two" href="/pages/reserves#tabs-1">Maasai Mara</a>
<a class="two" href="/pages/reserves#tabs-2">Serengeti</a>
<a class="two" href="/pages/reserves#tabs-3">Chobe</a>
<a class="two" href="/pages/reserves#tabs-4">Kruger</a>
<a class="two" href="/pages/reserves#tabs-5">Etosha</a>
<a class="two" href="/pages/reserves#tabs-6">Volcanoes</a>
<a class="two" href="/pages/reserves#tabs-7">Ngorongo</a>
<a class="two" href="/pages/reserves#tabs-8">Tarangire</a>
</div>
<!--Class Navigate Reserves Ends-->
<div class="navigate">
<h4 class="navtopic">Top Meals And Cuisine<br>To Check out</h4>
<a class="two" href="/pages/cuisine#tabs-1">Couscous</a>
<a class="two" href="/pages/cuisine#tabs-2">Jollof Rice</a>
<a class="two" href="/pages/cuisine#tabs-3">Chakalaka</a>
<a class="two" href="/pages/cuisine#tabs-4">Biltong</a>
<a class="two" href="/pages/cuisine#tabs-5">Chermoula</a>
<a class="two" href="/pages/cuisine#tabs-6">Fufu</a>
<a class="two" href="/pages/cuisine#tabs-7">Tajine</a>
<a class="two" href="/pages/cuisine#tabs-8">Yassa</a>
</div>
<div class="navigate">
<h4 class="navtopic">Engineers</h4>
<three id="engineers">
<us class="two" id="obed" title="View Obed"><img src="/img/eng/Obed.jpg" alt="Obed's image" class="eng"> Obed
</us>
<us class="two" id="faith" title="View Faith"><img src="/img/eng/Faith.jpg" alt="Faith's image"
class="eng">Faith</us>
</three>
</div>
</div>
</div>
<!--Class Navigate Cuisine Ends-->
</div>
<footer id="footer">Copyright © Tazama Afrik <span class="counter"></span></footer>
</div>
<!-- POP UP MESSAGE -->
<div id="success">Thank You!<br>Message Sent Successfully</div>
<div class="hideable" id="user-messages"></div>
<!-- POP UP FORM -->
<div class="contact">
<h2>Please fill in your feedback</h2>
<form>
<label for="name">
<h4>Name:</h4>
<input type=name id="name" placeholder="John Doe" required />
</label>
<label for="email">
<h4>Email:</h4>
<input type="email" id="email" placeholder="Enter your email" required />
</label>
<label for="message">
<h4>Your Message:</h4>
<span id="message" role="textbox"contenteditable></span>
</label>
<div title="Submit your feedback" id="submitbutton">Submit</div>
<div id="close" title="Close">×</div>
</form>
</div>
<!-- Profile Images Layout Below -->
<div style="display: none;" class="profile" id="ob">
<div class="clos">×</div>
<img src="/img/eng/Obed.jpg" alt="Obed's Image" class="dp">
<a href="https://ericob.sytes.net" class="text" target="_blank">Obed Amoako <i class='fa fa-external-link-alt'></i></a>
<div class="contacts">
<a target="_blank" href="https://linkedin.com/ericob3d" title="Linkedin" id="linkedin" class="five fab fa-linkedin fa-2x"></a>
<a target="_blank" href="https://twitter.com/obedamoako8" title="Twitter" id="twitter" class="five fab fa-twitter fa-2x"></a>
<a target="_blank" href="https://github.com/Obed101" title="Github" id="github" class="five fab fa-github fa-2x"></a>
<a target="_blank" href="tel://+233593124570" title="Telephone" id="tel" class="five fa fa-phone-alt fa-2x"></a>
<a target="_blank" href="mailto:obedamoako92@gmail.com" title="Message" id="mail" class="five fa fa-envelope fa-2x"></a>
<a target="_blank" href="https://wa.me/233274097985" title="WhatsApp" id="whatsapp" class="five fab fa-whatsapp fa-2x"></a>
</div>
<a target="_blank" href="https://paypal.me/ericobe" class="coffee">☕ Buy Obed a coffee</a>
</div>
<div style="display: none;" class="profile" id="fth">
<div class="clos">×</div>
<img src="/img/eng/Faith.jpg" alt="Faith's Image" class="dp">
<div class="text">Faith Ikhidero</div>
<div class="contacts">
<a target="_blank" href="https://linkedin.com/ericob3d" title="Linkedin" class="five fab fa-linkedin fa-2x"></a>
<a target="_blank" href="" title="Twitter" class="five fab fa-twitter fa-2x"></a>
<a target="_blank" href="https://github.com/Obed101" title="Github" class="five fab fa-github fa-2x"></a>
<a target="_blank" href="tel://+233593124570" title="Telephone" class="five fa fa-phone-alt fa-2x"></a>
<a target="_blank" href="mailto:obedamoako92@gmail.com" title="Message" class="five fa fa-envelope fa-2x"></a>
<a target="_blank" href="https://wa.me/233274097985" title="WhatsApp" class="five fab fa-whatsapp fa-2x"></a>
</div>
<a target="_blank" href="#" class="coffee">☕ Buy Faith a coffee</a>
</div>
<!----------------- Back To Top Button ----------------->
<button class="back-to-top" title="Back To Top">
<svg xmlns="http://www.w3.org/2000/svg" class="back-to-top-icon" fill="none" viewBox="0 0 24 24"
stroke="currentColor" title="Scroll To Top">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 11l5-5m0 0l5 5m-5-5v12" />
</svg>
</button>
<!----------------- End Of Back To Top ----------------------->
</body>
<script>
////////////// HANDLING CLICKS AND DISPLAY OF MENU /////////////
$('#menu-icon').click(function () {
$('#menu').slideToggle();
$(this).fadeOut();
$('#closer-icon').fadeIn();
});
$('#closer-icon').click(function () {
$('#menu').slideToggle();
$(this).fadeOut();
$('#menu-icon').fadeIn();
});
$('.b').click(function () {
$('#menu').slideUp();
$('#menu-icon').show();
$('#closer-icon').fadeOut();
});
////////////// LIST OF RECOMMENDED SEARCH ITEMS /////////////
$(function () {
var availableTags = [
"Countries", "Beaches", "Restaurants", "Reserves", "Culture", "West Africa", "Africa", "Tazama",
"North Africa", "South Africa", "East", "East Africa", "South", "West", "Central", "Central Africa",
"Afrik", "North", "Dishes", "Zebra", "Nigeria", "Ghana"
];
$("#searchbar").autocomplete({
source: availableTags
});
});
function visits() {
$count = $(".counter");
console.log($count.text());
$views = localStorage.getItem("page_view");
if ($views) {
$views = Number($views) + 1;
localStorage.setItem("page_view", $views);
} else {
$views = 1;
localStorage.setItem("page_view", 1);
}
$message = `| You've Visited This Site ${$views} Times`;
$count.html($message);
}
visits();
$('#close').click(function () {
$('.contact').css('display', 'none');
});
$('#propose').click(function () {
$('.contact').show()//.delay(400).fadeOut();
})
// $(document).on('click', function (e) {
// if ($(e.target).closest(".hideable").length === 0) {
// // $(".hideable").hide();
// $("#success").hide();
// }
// });
////////////Scroll To Top///////////
$toTop = $(".back-to-top");
let showOnPx = 100;
// $pageProgressBar = $(".progress-bar"); // DOn't remove this line
const scrollContainer = () => {
return document.documentElement || document.body;
};
document.addEventListener("scroll", () => {
if (scrollContainer().scrollTop > showOnPx) {
$toTop.show();
} else {
$toTop.slideUp();
}
});
const goToTop = () => {
document.body.scrollIntoView({
behavior: "smooth"
});
};
$toTop.click(goToTop);
/////////////////// SCROLL CONTROL FOR CONTAINER IMAGES//////////////
let item = document.getElementById("container");
item.addEventListener("wheel", function (e) {
if (e.deltaY > 0) {
item.scrollLeft += 100;
e.preventDefault();
}
else {
item.scrollLeft -= 100;
e.preventDefault();
}
});
///////////// Profile Display/////////////
$('#obed').click(function () {
$('#fth').fadeOut();
$('#ob').fadeIn();
})
$('#faith').click(function () {
$('#ob').fadeOut();
$('#fth').fadeIn();
})
$('.clos').click(function () {
$('#ob').fadeOut();
$('#fth').fadeOut();
})
</script>
</html>