forked from apu52/Travel_Website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
389 lines (366 loc) · 15.9 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
<!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 href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/fonts/remixicon.css"
rel="stylesheet"
/>
<link rel="stylesheet" href="styles.css" />
<link rel="stylesheet" href="./Image-Gallery/style.css">
<title>Arpan Codes | Tourguide</title>
<!-- adding a fav-icon -->
<link rel="icon" href="img/A T logo with a white background and a square shape, connected to nature for a travel company.png" type="image/x-icon" />
<script src="index.js"></script>
<script type="text/javascript"
src="https://cdn.jsdelivr.net/npm/@emailjs/browser@3/dist/email.min.js">
</script>
<script type="text/javascript">
(function(){
emailjs.init("WB9rAyWwwLZube-er");
})();
</script>
<style>
html {
scroll-behavior: smooth;
}
</style>
</head>
<body>
<nav>
<div class="nav__logo">Tourguide<span>.</span></div>
<ul class="nav__links">
<li class="link"><a href="#Home">Home</a></li>
<li class="link"><a href="#Destinations">Destinations</a></li>
<li class="link"><a href="#trip">Pricing</a></li>
<li class="link"><a href="#ReviewGallery">Reviews</a></li>
<li class="link"><a href="login.html">Login</a></li>
</ul>
<a href="#contact"><button class="btn">Contact Us</button></a>
</nav>
<header>
<section class="section__container header__container" id="Home">
<div class="header__image">
<img src="https://i.ibb.co/88Qnjxg/pexels-josh-hild-2422259.jpg" alt="header" />
<img src="https://i.ibb.co/w4Jqjdf/pexels-andrei-tanase-1271619.jpg" alt="header" />
</div>
<div class="header__content">
<div>
<p class="sub__header">Book Now</p>
<h1>Find Your Perfect Getaway<br />Discover the World's Best Kept Secrets</h1>
<p class="section__subtitle">
Make your travel more enjoyable with us. We are the best travel
agency and we are providing the best travel services for our
clients.
</p>
<div class="action__btns">
<button class="btn">Plan a Trip</button>
<div class="story">
<div class="video">
<img src="https://i.ibb.co/KwHd8PQ/pexels-stijn-dijkstra-2499699.jpg" type="video/mp4"></img>
<span><i class="ri-play-fill"></i></span>
</div>
<span>Watch our story</span>
</div>
</div>
</div>
</div>
</section>
</header>
<section class="section__container destination__container" id="Destinations">
<div class="section__header">
<div>
<h2 class="section__title">Explore top destinations</h2>
<p class="section__subtitle">
Explore your suitable and dream places around the world. Here you
can find your right destination.
</p>
</div>
<div class="destination__nav">
<span><i class="ri-arrow-left-s-line"></i></span>
<span><i class="ri-arrow-right-s-line"></i></span>
</div>
</div>
<div class="destination__grid">
<div class="destination__card">
<img src="https://i.ibb.co/kQ2s7bH/pexels-paulo-marcelo-martins-2412606.jpg" alt="destination" />
<div class="destination__details">
<p class="destination__title">Eiffel Tower</p>
<p class="destination__subtitle">Paris</p>
</div>
</div>
<div class="destination__card">
<img src="https://i.ibb.co/s248xRX/pexels-quang-nguyen-vinh-2132126.jpg" alt="destination" />
<div class="destination__details">
<p class="destination__title">Ho Chi Minn</p>
<p class="destination__subtitle">Vietnam</p>
</div>
</div>
<!-- make hieght to 400px -->
<div class="destination__card">
<img src="https://i.ibb.co/Z2FMDPZ/pexels-sam-kolder-2387871.jpg" alt="destination" height="400px" />
<div class="destination__details">
<p class="destination__title">Tajmahal</p>
<p class="destination__subtitle">Agra</p>
</div>
</div>
<!-- make hieght to 400px -->
<div class="destination__card">
<img src="https://i.ibb.co/gj3DM28/pexels-alex-azabache-3214958.jpg" alt="destination" height="400px"/>
<div class="destination__details">
<p class="destination__title">Wadi Musa</p>
<p class="destination__subtitle">Jordan</p>
</div>
</div>
</div>
</section>
<section class="trip" id="trip">
<div class="section__container trip__container">
<h2 class="section__title">Best trip package</h2>
<p class="section__subtitle">
Explore your suitable and dream places around the world. Here you can
find your right destination.
</p>
<div class="trip__grid">
<div class="trip__card">
<img src="https://i.ibb.co/60nvYwQ/Screenshot-2023-07-14-173347.png" alt="trip" height="250" width="45"/>
<div class="trip__details">
<p>Santorini ,Aegean Sea</p>
<div class="rating"><i class="ri-star-fill"></i> 4.2</div>
<div class="booking__price">
<div class="price"><span>From</span> $300</div>
<button class="book__now">Book Now</button>
</div>
</div>
</div>
<div class="trip__card">
<img src="https://i.ibb.co/h1WgH8B/Screenshot-2023-07-14-173807.png" alt="trip" height="250" width="45" />
<div class="trip__details">
<p>Machu Picchu ,Peru</p>
<div class="rating"><i class="ri-star-fill"></i> 4.5</div>
<div class="booking__price">
<div class="price"><span>From</span> $450</div>
<button class="book__now">Book Now</button>
</div>
</div>
</div>
<div class="trip__card">
<img src="https://i.ibb.co/vc2W0wN/Screenshot-2023-07-14-174151.png" alt="trip" height="250" width="45"/>
<div class="trip__details">
<p>Grand Canyon National Park ,Arizona</p>
<div class="rating"><i class="ri-star-fill"></i> 4.7</div>
<div class="booking__price">
<div class="price"><span>From</span> $400</div>
<button class="book__now">Book Now</button>
</div>
</div>
</div>
</div>
<div class="view__all">
<button class="btn">View All</button>
</div>
</div>
</section>
<section class="gallary" id="ReviewGallery">
<div class="section__container gallary__container">
<div class="section__container gallary__container" id="originalDiv">
<div class="image__gallary">
<div class="gallary__col">
<img src="https://i.ibb.co/ZYDJ6vv/pexels-spencer-davis-4356144.jpg" alt="gallary" />
</div>
<div class="gallary__col">
<img src="https://i.ibb.co/W3HTbYG/pexels-zakaria-boumliha-2827374.jpg" alt="gallary" />
<img src="https://i.ibb.co/KwHd8PQ/pexels-stijn-dijkstra-2499699.jpg" alt="gallary" />
</div>
</div>
<div class="gallary__content">
<div>
<h2 class="section__title">
Our trip gallary that will inspire you
</h2>
<p class="section__subtitle">
Explore your suitable and dream places around the world. Here you
can find your right destination.
</p>
<button class="btn" id="btn-page" onclick="replaceDivs()">View All</button>
</div>
</div>
</div>
</div>
</section><br><br>
<section class="contact" id="contact">
<h2 class="section__title" align-items="center">Contact Us</h2>
<div class="contact-form">
<div class="left">
<!-- Add your image here -->
<img src="./img/flat-design-illustration-customer-support_23-2148887720.avif" alt="Contact Image" style="max-width: 100%; width: 500px;">
</div>
<div class="right">
<form>
<div class="mb-3">
<label for="exampleInputName" class="form-label text-light">Name</label>
<input type="text" class="form-control" id="exampleInputName" placeholder="Enter your name">
</div>
<div class="mb-3">
<label for="exampleInputEmail2" class="form-label text-light">Email address</label>
<input type="email" class="form-control" id="exampleInputEmail2" aria-describedby="emailHelp" placeholder="Enter your email">
<div id="emailHelp" class="form-text text-light">We'll never share your email with anyone else.</div>
</div>
<div class="mb-3">
<label for="exampleInputMessage" class="form-label text-light">Message</label>
<textarea class="form-control" id="exampleInputMessage" rows="4" placeholder="feel free to ask your queries!"></textarea>
</div>
<button type="submit" class="btn btn-primary" onclick="sendMail()">Submit</button>
</form>
</div>
</div>
<!-- New div components (hidden initially) -->
<div id="newDiv" style="display: none;">
<!-- Sliding Animated Gallery -->
<div class="image-container">
<span style="--i : 1">
<img src="./img/pexels-ajay-donga-2174656.jpg">
</span>
<span style="--i : 2">
<img src="./img/pexels-alex-azabache-3214958.jpg">
</span>
<span style="--i : 3">
<img src="./img/pexels-andrei-tanase-1271619.jpg">
</span>
<span style="--i : 4">
<img src="./img/pexels-josh-hild-2422259.jpg">
</span>
<span style="--i : 5">
<img src="./img/pexels-paulo-marcelo-martins-2412606.jpg">
</span>
<span style="--i : 6">
<img src="./img/pexels-quang-nguyen-vinh-2132126.jpg">
</span>
<span style="--i : 7">
<img src="./img/pexels-sam-kolder-2387871.jpg">
</span>
<span style="--i : 8">
<img src="./img/pexels-spencer-davis-4356144.jpg">
</span>
<span style="--i : 9">
<img src="./img/pexels-stijn-dijkstra-2499699.jpg">
</span>
<span style="--i : 10">
<img src="./img/pexels-zakaria-boumliha-2827374.jpg">
</span>
</div>
<div class="btn-container">
<button class="btn" id="prev">Prev</button>
<button class="btn" id="next">Next</button>
</div>
<!-- Trip Photo Gallery -->
<div class="trip-gallery-container">
<img src="./img/Trip_Photos/photo1.png" height="250" width="200">
<img src="./img/Trip_Photos/photo2.png" height="250" width="200">
<img src="./img/Trip_Photos/photo3.jpg" height="250" width="200">
<img src="./img/Trip_Photos/photo4.png" height="250" width="200">
<img src="./img/Trip_Photos/photo5.jpg" height="250" width="200">
<img src="./img/Trip_Photos/photo6.png" height="250" width="200">
<img src="./img/Trip_Photos/photo7.png" height="250" width="200">
<img src="./img/Trip_Photos/photo8.jpg" height="250" width="200">
<img src="./img/Trip_Photos/photo9.jpg" height="250" width="200">
<img src="./img/Trip_Photos/photo10.jpg" height="250" width="200">
<img src="./img/Trip_Photos/photo11.jpg" height="250" width="200">
<img src="./img/Trip_Photos/photo12.jpeg" height="250" width="200">
<img src="./img/Trip_Photos/photo13.jpg" height="250" width="200">
<img src="./img/Trip_Photos/photo14.jpg" height="250" width="200">
<img src="./img/Trip_Photos/photo16.png" height="250" width="200">
<img src="./img/Trip_Photos/photo18.jpg" height="250" width="200">
<img src="./img/Trip_Photos/photo19.jpg" height="250" width="200">
<img src="./img/Trip_Photos/photo20.png" height="250" width="200">
</div>
</div>
</section>
<section class="subscribe" id="Contact">
<div class="section__container subscribe__container">
<div class="subscribe__content">
<h2 class="section__title">Subscribe to get special prize</h2>
<p class="section__subtitle">
Explore your suitable and dream places around the world. Here you
can find your right destination.
</p>
</div>
<div class="subscribe__form">
<form>
<input type="email" placeholder="Your email here" />
<button class="btn" id="send" type="submit">Send</button>
</form>
</div>
</div>
</section>
<footer class="footer">
<div class="section__container footer__container">
<div class="footer__col">
<h3>Tourguide<span>.</span></h3>
<p>
Explore your suitable and dream places around the world. Here you
can find your right destination.
</p>
</div>
<div class="footer__col">
<h4>Support</h4>
<p>FAQs</p>
<p>Terms & Conditions</p>
<p>Privacy Policy</p>
<p>Contact Us</p>
</div>
<div class="footer__col">
<h4>Address</h4>
<p>
<span>Address:</span> 3/2 Wellington Street, Kolkata , West Bengal , India
</p>
<p><span>Email:</span> [email protected]</p>
<p><span>Phone:</span> +91 8562145852</p>
</div>
</div>
<div class="footer__bar">
Copyright © 2023 Arpan Chowdhury. All rights reserved.
</div>
</footer>
<!-- adding a btn -->
<button id="goToTopBtn" onclick="goToTop()">Go to Top</button>
<script>
// Get the button
var mybutton = document.getElementById("goToTopBtn");
// When the user scrolls down 20px from the top of the document, show the button
window.onscroll = function () {
scrollFunction();
};
function scrollFunction() {
if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
mybutton.style.display = "block";
} else {
mybutton.style.display = "none";
}
}
// When the user clicks on the button, scroll to the top of the document
function goToTop() {
document.body.scrollTop = 0;
document.documentElement.scrollTop = 0;
}
</script>
</body>
<script>
function replaceDivs() {
// Get references to the original and new divs
var originalDiv = document.getElementById("originalDiv");
var newDiv = document.getElementById("newDiv");
// Check if the original div exists
if (originalDiv) {
// Hide the original div
originalDiv.style.display = "none";
// Show the new div
newDiv.style.display = "block";
}
}
</script>
<script src="./Image-Gallery/script.js"></script>
</html>