-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathindex.html
More file actions
264 lines (230 loc) · 9.44 KB
/
index.html
File metadata and controls
264 lines (230 loc) · 9.44 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Global Travel - Discover the Beauty of the World</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Arial', sans-serif;
}
body {
background-color: #f5f5f5;
color: #333;
line-height: 1.6;
}
header {
background: linear-gradient(135deg, #1e5799 0%,#207cca 51%,#2989d8 100%);
color: white;
padding: 1rem;
text-align: center;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.logo {
font-size: 2rem;
font-weight: bold;
margin-bottom: 0.5rem;
}
nav {
background-color: #fff;
padding: 1rem;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
nav ul {
display: flex;
justify-content: center;
list-style: none;
}
nav ul li {
margin: 0 1rem;
}
nav ul li a {
text-decoration: none;
color: #1e5799;
font-weight: bold;
transition: color 0.3s;
}
nav ul li a:hover {
color: #2989d8;
}
.hero {
height: 500px;
background-image: url('https://images.unsplash.com/photo-1469474968028-56623f02e42e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1600&q=80');
background-size: cover;
background-position: center;
background-color: #1e5799;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
color: white;
text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero-content {
background-color: rgba(0,0,0,0.5);
padding: 2rem;
border-radius: 5px;
max-width: 800px;
}
.hero h1 {
font-size: 3rem;
margin-bottom: 1rem;
}
.hero p {
font-size: 1.2rem;
margin-bottom: 1.5rem;
}
.btn {
display: inline-block;
background-color: #2989d8;
color: white;
padding: 0.8rem 1.5rem;
border-radius: 5px;
text-decoration: none;
font-weight: bold;
transition: background-color 0.3s;
}
.btn:hover {
background-color: #1e5799;
}
.destinations {
padding: 3rem 1rem;
max-width: 1200px;
margin: 0 auto;
}
.section-title {
text-align: center;
margin-bottom: 2rem;
color: #1e5799;
}
.destination-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 2rem;
}
.destination-card {
background-color: white;
border-radius: 5px;
overflow: hidden;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
transition: transform 0.3s;
}
.destination-card:hover {
transform: translateY(-5px);
}
.destination-img {
height: 200px;
background-size: cover;
background-position: center;
background-color: #e0e0e0;
}
.destination-info {
padding: 1.5rem;
}
.destination-info h3 {
margin-bottom: 0.5rem;
color: #1e5799;
}
footer {
background-color: #333;
color: white;
text-align: center;
padding: 2rem;
margin-top: 2rem;
}
.social-links {
margin: 1rem 0;
}
.social-links a {
color: white;
margin: 0 0.5rem;
font-size: 1.2rem;
text-decoration: none;
}
</style>
</head>
<body>
<header>
<div class="logo">🌍 Global Travel</div>
<p>Explore the world, discover beauty</p>
</header>
<nav>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">Destinations</a></li>
<li><a href="#">Travel Guides</a></li>
<li><a href="#">Experiences</a></li>
<li><a href="#">Hotels</a></li>
<li><a href="#">About Us</a></li>
</ul>
</nav>
<div class="hero">
<div class="hero-content">
<h1>Explore Every Corner of the World</h1>
<p>From magnificent natural landscapes to vibrant cities, we offer unforgettable travel experiences</p>
<a href="#" class="btn">Plan Your Journey</a>
</div>
</div>
<section class="destinations">
<h2 class="section-title">Popular Destinations</h2>
<div class="destination-grid">
<div class="destination-card">
<div class="destination-img" style="background-image: url('https://images.unsplash.com/photo-1604999333679-b86d54738315?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80');"></div>
<div class="destination-info">
<h3>Bali, Indonesia</h3>
<p>Known as the "Island of Gods," Bali is famous for its volcanic mountains, terraced rice fields, beautiful beaches, and rich cultural heritage.</p>
</div>
</div>
<div class="destination-card">
<div class="destination-img" style="background-image: url('https://images.unsplash.com/photo-1493976040374-85c8e12f0c0e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80');"></div>
<div class="destination-info">
<h3>Kyoto, Japan</h3>
<p>The former capital of Japan, Kyoto is home to thousands of ancient Buddhist temples, Shinto shrines, and beautiful traditional Japanese gardens.</p>
</div>
</div>
<div class="destination-card">
<div class="destination-img" style="background-image: url('https://images.unsplash.com/photo-1502602898657-3e91760cbb34?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80');"></div>
<div class="destination-info">
<h3>Paris, France</h3>
<p>Known as the "City of Lights," Paris attracts visitors from around the world with its art, fashion, gastronomy, and romantic atmosphere.</p>
</div>
</div>
<div class="destination-card">
<div class="destination-img" style="background-image: url('https://images.unsplash.com/photo-1469796466635-455ede028aca?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80');"></div>
<div class="destination-info">
<h3>Santorini, Greece</h3>
<p>Santorini is famous for its iconic white buildings, blue-domed churches, and breathtaking sunsets over the Aegean Sea.</p>
</div>
</div>
<div class="destination-card">
<div class="destination-img" style="background-image: url('https://images.unsplash.com/photo-1496442226666-8d4d0e62e6e9?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80');"></div>
<div class="destination-info">
<h3>New York, USA</h3>
<p>One of the most vibrant metropolises in the world, New York offers an impressive skyline and rich cultural experiences.</p>
</div>
</div>
<div class="destination-card">
<div class="destination-img" style="background-image: url('https://images.unsplash.com/photo-1508804185872-d7badad00f7d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80');"></div>
<div class="destination-info">
<h3>Beijing, China</h3>
<p>As China's capital, Beijing boasts a rich historical heritage, including the Forbidden City, the Great Wall, and the Temple of Heaven.</p>
</div>
</div>
</div>
</section>
<footer>
<div class="logo">🌍 Global Travel</div>
<p>Explore the world, discover beauty</p>
<div class="social-links">
<a href="#">Facebook</a>
<a href="#">Twitter</a>
<a href="#">Instagram</a>
<a href="#">YouTube</a>
</div>
<p>© 2023 Global Travel. All rights reserved</p>
</footer>
</body>
</html>