-
Notifications
You must be signed in to change notification settings - Fork 2
/
home.html
266 lines (256 loc) · 9.44 KB
/
home.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
<!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">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.13.0/css/all.css"
integrity="sha384-Bfad6CLCknfcloXFOyFnlgtENryhrpZCe29RTifKEixXQZ38WheV+i/6YWSzkz3V" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha384-KyZXEAg3QhqLMpG8r+8fhAXLRk2vvoC2f3B09zVXn8CA5QIVfZOJ3BCsw2P0p/We" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-U1DAWAznBHeqEIlVSCgzq+c9gqGAJn5c/t99JyeKa9xxaYpSvHU5awsuZVVFIhvj"
crossorigin="anonymous"></script>
<link rel="stylesheet" href="index.css">
<link rel="shortcut icon" href="assets/logo.png" type="image/png">
<title>TravelPedia - Home</title>
</head>
<body>
<!-- Navbar -->
<div class="nav-color">
<nav class="navbar navbar-expand-lg navbar-light">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#myNavbarToggler7"
aria-controls="myNavbarToggler7" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="myNavbarToggler7">
<ul class="navbar-nav mx-auto">
<li class="nav-item">
<a class="nav-link" href="./home.html">Home</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button"
data-bs-toggle="dropdown" aria-expanded="false">
Locations
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdown">
<li><a class="dropdown-item" href="./Morocco.html">Morocco</a></li>
<li><a class="dropdown-item" href="./Vietnam.html">Vietnam</a></li>
<li><a class="dropdown-item" href="./turkey.html">Turkey</a></li>
<li><a class="dropdown-item" href="./peru.html">Peru</a></li>
<li><a class="dropdown-item" href="./japan.html">Japan</a></li>
<li><a class="dropdown-item" href="./egypt.html">Egypt</a></li>
<li><a class="dropdown-item" href="./costarica.html">Costa Rica</a></li>
<li><a class="dropdown-item" href="./uae.html">UAE</a></li>
<li><a class="dropdown-item" href="./maldives.html">Maldives</a></li>
<li><a class="dropdown-item" href="./virginislands.html">British Virgin Islands</a></li>
</ul>
</li>
<a class="d-none d-lg-block logo" href="./home.html">TravelPedia</a>
<div id="notloggedin">
<li class="nav-item" style='display: inline-block;'>
<a class="nav-link" href="./login.html">Login</a>
</li>
<li class="nav-item" style='display: inline-block;'>
<a class="nav-link" href="./register.html">Register</a>
</li>
</div>
<div id="loggedin">
<li class="nav-item" style='display: inline-block;'>
<a class="nav-link" href="./home.html" id="hello-text"></a>
</li>
<li class="nav-item" style='display: inline-block;'>
<a class="nav-link" href="./login.html" id="signout-button">Sign Out</a>
</li>
</div>
</ul>
</div>
</nav>
</div>
<!-- Container-->
<div class="container1">
<img src="assets/background1.jpg" width="100%" height=800px>
<div class="centered">It is Better To <br>
Travel Well Than<br>
to Arrive.<br>
<a class="btn" href="https://www.youtube.com/watch?v=MyqhDKNig88" target="_blank" style="font-size: 45px;">
<i class="fas fa-play-circle"></i>Watch Video </a>
</div>
</div>
<br>
<br>
<!-- Container1-->
<div class="container">
<h1 class="top-text text-center">Top 10 Tourist Destinations of 2021</h1>
<div class="container-fluid">
<div class="row row-cols-1 row-cols-md-3 g-4">
<div class="col">
<div class="card home-card bg-info">
<img src="assets/morocco.jpg" class="card-img-top" alt="Morocco Image" width=240px height=180px>
<div class="card-body">
<h5 class="card-title">Morocco</h5>
<a href="Morocco.html">Learn More>></a>
</div>
</div>
</div>
<div class="col">
<div class="card home-card bg-info">
<img src="assets/vietnam.jpg" class="card-img-top" alt="" width=240px height=180px>
<div class="card-body">
<h5 class="card-title">Vietnam</h5>
<a href="./Vietnam.html">Learn More>></a>
</div>
</div>
</div>
<div class="col">
<div class="card home-card bg-info">
<img src="assets/turkey.jpg" class="card-img-top" alt="" width=240px height=180px>
<div class="card-body">
<h5 class="card-title">Turkey</h5>
<a href="./turkey.html">Learn More>></a>
</div>
</div>
</div>
<div class="col">
<div class="card home-card bg-info">
<img src="assets/peru.jpg" class="card-img-top" alt="" width=240px height=180px>
<div class="card-body">
<h5 class="card-title">Peru</h5>
<a href="./peru.html">Learn More>></a>
</div>
</div>
</div>
<div class="col">
<div class="card home-card bg-info">
<img src="assets/japan.jpg" class="card-img-top" alt="" width=240px height=180px>
<div class="card-body">
<h5 class="card-title">Japan</h5>
<a href="./japan.html">Learn More>></a>
</div>
</div>
</div>
<div class="col">
<div class="card home-card bg-info">
<img src="assets/ejypt.jpg" class="card-img-top" alt="" width=240px height=180px>
<div class="card-body">
<h5 class="card-title">Egypt</h5>
<a href="./egypt.html">Learn More>></a>
</div>
</div>
</div>
<div class="col">
<div class="card home-card bg-info">
<img src="assets/costa rica.jpg" class="card-img-top" alt="" width=240px height=180px>
<div class="card-body">
<h5 class="card-title">Costa Rica</h5>
<a href="./costarica.html">Learn More>></a>
</div>
</div>
</div>
<div class="col">
<div class="card home-card bg-info">
<img src="assets/uae.jpg" class="card-img-top" alt="" width=240px height=180px>
<div class="card-body">
<h5 class="card-title">UAE</h5>
<a href="uae.html">Learn More>></a>
</div>
</div>
</div>
<div class="col">
<div class="card home-card bg-info">
<img src="assets/maldives.jpg" class="card-img-top" alt="" width=240px height=180px>
<div class="card-body">
<h5 class="card-title">Maldives</h5>
<a href="maldives.html">Learn More>></a>
</div>
</div>
</div>
</div>
<div class="row row-cols-1 row-cols-md-3 g-4 justify-content-center">
<div class="col">
<div class="card home-card bg-info">
<img src="assets/britishvirginislands.jpg" class="card-img-top" alt="" width=240px height=180px>
<div class="card-body">
<h5 class="card-title">British Virgin Islands</h5>
<a href="./virginislands.html">Learn More>></a>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Footer-->
<div>
<footer class="footer">
<div class="container">
<div class="row">
<div class="col-md-5">
<h5>Group 1 Batch 1 TEITB</h5>
<div class="row">
<div class="col-6">
<ul class="list-unstyled">
<li><a href="">Varun Patkar</a></li>
<li><a href="">Tanish Parmar</a></li>
<li><a href="">Parth Narvekar</a></li>
<li><a href="">Vedant Pawar</a></li>
</ul>
</div>
<div class="col-6">
<ul class="list-unstyled">
<li><a href="">12</a></li>
<li><a href="">08</a></li>
<li><a href="">02</a></li>
<li><a href="">13</a></li>
</ul>
</div>
</div>
<hr>
</div>
<div class="col-md-5">
<form action="https://getform.io/f/ff2982d1-b222-4ec3-9eb3-2e9676a1cbc4" method="POST"
target="_blank">
<p>Contact Us</p>
<br>
<fieldset class="form-group">
<input type="text" name="name" class="form-control" id="exampleInputEmail1"
placeholder="Name">
</fieldset>
<br>
<br>
<fieldset class="form-group">
<input type="email" name="email" class="form-control" id="exampleInputEmail1"
placeholder="Enter email">
</fieldset>
<br>
<br>
<fieldset class="form-group text-xs-right">
<div class="button1">
<button type="submit" class="btn btn-secondary-outline btn-lg" value="submit"
onclick="return submit()">Send</button>
</div>
</fieldset>
</form>
</div>
</div>
</div>
</footer>
</div>
<!-- credits: https://www.codeply.com/p/EJd6H4Ejyi -->
<script>
var currUserName = window.localStorage.getItem('currUser');
if (currUserName) {
document.getElementById("hello-text").innerHTML = "Hello, ".concat(currUserName);
document.getElementById("notloggedin").style.display='none';
document.getElementById("loggedin").style.display='inline-block';
}
else{
document.getElementById("notloggedin").style.display='inline-block';
document.getElementById("loggedin").style.display='none';
}
var signoutButton = document.getElementById("signout-button");
signoutButton.addEventListener("click", () => {
window.localStorage.clear();
});
</script>
</body>
</html>