-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
308 lines (277 loc) · 15.8 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
<!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">
<title>Cầu Long Biên</title>
<link rel="icon" href="" type="">
<link rel="stylesheet" href="./assets/css/styles.css">
<link rel="stylesheet" href="./assets/css/responsive.css">
<link rel="stylesheet" href="./assets/fonts/themify-icons.css">
</head>
<body>
<div id="main">
<div id="header">
<!-- Begin Nav -->
<ul id="nav">
<li><a href="#">Home</a></li>
<li><a href="#band">Đôi nét</a></li>
<li><a href="#tour">Sự kiện</a></li>
<li><a href="#contact">Contact</a></li>
<li>
<a href="#">
More
<i class="nav-arrow-down ti-angle-down"></i>
</a>
<ul class="subnav">
<li><a href="#">Merchandise</a></li>
<li><a href="#">Extras</a></li>
<li><a href="#">Media</a></li>
</ul>
</li>
</ul>
<!-- End Nav -->
<!-- Mobile menu Button -->
<div id="mobile-menu" class="mobile-menu-btn">
<i class="menu-icon ti-menu"></i>
</div>
<!-- Search Button -->
<div class="search-btn">
<i class="search-icon ti-search"></i>
</div>
</div>
<div id="slider">
<div class="text-content">
<h2 class="text-heading">
Cầu Long Biên
</h2>
<div class="text-description">
Cầu Long Biên với những ký ức, hoài niệm xưa
</div>
</div>
</div>
<div id="content">
<!-- About Section -->
<div id="band" class="content-section">
<h2 class="section-heading">Đôi nét về cầu Long Biên</h2>
<p class="section-subheading">Cầu Long Biên đã từng là cây cầu dài thứ hai Thế giới</p>
<p class="about-text">
Cầu Long Biên là cây cầu thép đầu tiên bắc qua con sông Hồng nối hai quận Hoàn Kiếm và Long Biên của Hà Nội. Cây cầu do
Pháp xây dựng từ năm 1898 đến 1902 dưới thời Toàn quyền Đông Dương lúc bấy giờ là Doumer. Cầu dài 2290m qua sông và 896m
cầu dẫn, cầu gồm 19 nhịp dầm thép đặt trên 20 trụ với lối kiến trúc độc đáo. Cây cầu được thiết kế với một đường sắt đơn
chạy ở giữa còn hai bên là hai làn đường dành cho xe đạp và người đi bộ.
Có một điều mà ít người biết về cây cầu đó chính là việc nó đã từng là cây cầu dài thứ hai trên thế giới (chỉ sau cầu
Brooklyn bắc qua sông East-River của Mỹ), thậm chí được gọi là tháp Eiffel nằm ngang của Hà Nội.
</p>
<div class="row members-list">
<div class="text-center col col-third s-col-full mt-32">
<p class="member-name">Cầu Long Biên vào năm 1940</p>
<img src="./assets/img/band/member1.jpeg" alt="Cầu Long Biên vào năm 1940" class="member-img">
</div>
<div class="text-center col col-third s-col-full mt-32">
<p class="member-name">Cây cầu đã chứng kiến những vui buồn của Thủ đô</p>
<img src="./assets/img/band/member2.jpeg" alt="" class="member-img">
</div>
<div class="text-center col col-third s-col-full mt-32">
<p class="member-name">Khung cảnh tấp nập và sầm uất xung quanh</p>
<img src="./assets/img/band/member3.jpeg" alt="" class="member-img">
</div>
</div>
</div>
<!-- Tour section -->
<div id ="tour" class="tour-section">
<div class="content-section ">
<h2 class="section-heading text-white">Những sự kiện lịch sử gắn với cầu Long Biên</h2>
<p class="section-subheading text-white">Cầu Long Biên đã chứng kiến những dấu mốc quan trọng nhất của dân tộc hai cuộc kháng chiến lớn nhất của dân tộc ta chính
là cuộc kháng chiến chống thực dân Pháp và tiếp đến là cuộc kháng chiến chống đế quốc Mỹ.
</p>
<ul class="tickets-list">
<li>1945 <span class="sold-out">Bác Hồ đọc Tuyên ngôn Độc lập tại Quảng trường Ba Đình</span></li>
<li>10/1954 <span class="sold-out">Hà Nội ngập trong biển cờ hoa mừng ngày giải phóng thủ đô</span> </li>
<li>1975 <span class="quantity">độc lập</span></li>
</ul>
<!-- Places -->
<div class="row places-list">
<div class="col col-third mt-16 s-col-full">
<img src="./assets/img/places/place1.jpeg" alt="Khung cảnh tấp nập và sầm uất xung quanh" class="place-img">
<div class="place-body">
<h3 class="place-heading">Ngắm Hà Nội trên cao</h3>
<p class="place-time">Cầu Long Biên</p>
<p class="place-desc">Cầu Long Biên chắc là cây cầu gắn với những kỉ niệm, cây cầu mà những bạn trẻ thường
chạy xe ra dừng lại hóng gió một
ngày hứng lên hay ngày nào đó cảm thấy bí bách cần một không gian thoáng đãng để thở. Cây cầu cũng là
nơi các bạn sinh
viên vẫn hay tụ tập ngồi lại đàn hát vui vẻ, là nơi lưu giữ những kỉ niệm tuổi trẻ của chúng ta.</p>
<button class="btn js-buy-ticket s-full-width">Visit</button>
</div>
</div>
<div class="col col-third mt-16 s-col-full">
<img src="./assets/img/places/place2.jpeg" alt="Góc chụp khiến ta mơ màng nhớ về Hà Nội những năm xưa cũ"
class="place-img">
<div class="place-body">
<h3 class="place-heading">Cafe Trần Nhật Duật</h3>
<p class="place-time">Cafe Trần Nhật Duật</p>
<p class="place-desc">Quán cafe Trần Nhật Duật, tại tầng 4 với không gian mở có thể nhìn thấy cây cầu Long
Biên xa xa. Đến đây bạn vừa có thể
thưởng thức tách cafe, vừa chuyện trò và nhìn ra xa là cây cầu cổ kính, bãi đá sông Hồng, khu chợ sầm
uất và cả một vùng
không gian rộng lớn. Nơi đây sẽ cho bạn một góc nhìn khác về cầu Long Biên, đó là góc nhìn từ trên cao
thay vì nhìn
thẳng hay nhìn “hất” từ phía dưới bãi đá sông Hồng lên.</p>
<button class="btn js-buy-ticket s-full-width">Visit</button>
</div>
</div>
<div class="col col-third mt-16 s-col-full">
<img src="./assets/img/places/place3.jpeg" alt="Khung cảnh tấp nập và sầm uất xung quanh" class="place-img">
<div class="place-body">
<h3 class="place-heading">Ăn ngô khoai nướng mùa đông</h3>
<p class="place-time">Ăn ngô khoai nướng</p>
<p class="place-desc">Mùa đông đến thì cầu Long Biên thực sự sẽ thành nơi lý tưởng nhất để ngồi lại ăn ngô
khoai nướng, hưởng không khí lành
lạnh gió rít bên tai và đưa tay tìm hơi ấm từ bếp lửa, hơi khoai nóng bốc lên ấm lòng vô cùng.</p>
<button class="btn js-buy-ticket s-full-width">Visit</button>
</div>
</div>
</div>
</div>
</div>
<!-- Beginn Contact section -->
<div id="contact" class="content-section">
<h2 class="section-heading">Contact</h2>
<p class="section-subheading">Cầu Long Biên chắc là cây cầu gắn với những kỉ niệm, cây cầu mà những bạn trẻ thường chạy xe ra dừng lại hóng gió một
ngày hứng lên hay ngày nào đó cảm thấy bí bách cần một không gian thoáng đãng để thở.</p>
<div class="row contact-content">
<div class="col col-half s-col-full contact-info">
<p>
<i class="ti-location-pin"></i>
Cầu Long Biên, Hanoi, VN
</p>
<p>
<i class="ti-mobile"></i>
Phone: <a href="tel:+4917636392655">+49 176 3639 2655</a>
</p>
<p>
<i class="ti-email"></i>
Email: <a href="mailto:quynhchi1009@yandex.com">quynhchi1009@yandex.com</a>
</p>
</div>
<div class="col col-half s-col-full contact-form">
<form action="">
<div class="row">
<div class="col col-half s-col-full s-mt-8">
<input type="text" name="" id="name" required class="form-control" placeholder="Name">
</div>
<div class="col col-half s-col-full s-mt-8">
<input type="email" name="" id="email" required class="form-control" placeholder="Email">
</div>
</div>
<div class="row mt-8">
<div class="col col-full s-col-full">
<input type="text" name="" id="message" required class="form-control" placeholder="Message">
</div>
</div>
<input type="submit" value="SEND" class="contact-submit-btn mt-16 btn pull-right s-full-width">
</form>
</div>
</div>
</div>
<!-- End Contact section -->
<div class="map-section">
<img src="./assets/img/places/place1.jpeg" alt="Map">
</div>
</div>
<div id="footer">
<div class="socials-list">
<a href="https://www.facebook.com/quynhchi109/"><i class="ti-facebook"></i></a>
<a href=""><i class="ti-pinterest"></i></a>
<a href="https://www.instagram.com/quynhchi607/"><i class="ti-instagram"></i></a>
<a href="https://www.linkedin.com/in/quynhchilai/"><i class="ti-linkedin"></i></a>
<a href="https://www.youtube.com/channel/UCt3UPkVpNij0tBhHTorxruw"><i class="ti-youtube"></i></a>
</div>
<p class="copyright">Powered by <a href="https://dribbble.com/quynhchi109/shots">Quynh Chi Lai</a></p>
</div>
</div>
<div class="modal js-modal">
<div class="modal-container js-modal-container">
<div class="modal-close js-modal-close">
<i class="ti-close"></i>
</div>
<header class="modal-header">
<i class="ti-bag modal-heading-icon"></i>
Tickets
</header>
<div class="modal-body">
<label for="ticket-quantity" class="modal-label">
<i class="ti-shopping-cart"></i>
Ticket, 15$ per person
</label>
<input id ="ticket-quantity" type="text" class="modal-input" placeholder="How many?">
<label for="ticket-email" class="modal-label">
<i class="ti-user"></i>
Send to
</label>
<input id="ticket-email" type="text" class="modal-input" placeholder="Enter Email...">
<button id="buy-tickets">
Pay
<i class="ti-check"></i>
</button>
</div>
<footer class="modal-footer">
<p class="modal-help">Need <a href="#">help?</a></p>
</footer>
</div>
</div>
<script>
const buyBtns = document.querySelectorAll('.js-buy-ticket')
const modal = document.querySelector('.js-modal')
const modalContainer = document.querySelector('.js-modal-container')
const modalClose = document.querySelector('.js-modal-close')
/* Ham Hien thi modal mua ve (them class open vao modal)*/
function showBuyTicket(){
modal.classList.add('open')
}
/* Ham an modal mua ve (go bo class open cua modal)*/
function hideBuyTicket() {
modal.classList.remove('open')
}
//lap qua tung the button va nghe hanh vi click
for (const buyBtn of buyBtns) {
buyBtn.addEventListener('click', showBuyTicket)
}
//nghe hanh vi click vao button close
modalClose.addEventListener('click', hideBuyTicket)
modal.addEventListener('click', hideBuyTicket)
modalContainer.addEventListener('click', function(event){
event.stopPropagation()
})
var header = document.getElementById('header');
var mobileMenu = document.getElementById('mobile-menu');
var headerHeight = header.clientHeight;
// Dong mo Mobile Menu
mobileMenu.onclick = function() {
var isClosed = header.clientHeight === headerHeight;
if (isClosed){
header.style.height = 'auto';
} else {
header.style.height = "46px";
}
}
// Tu dong dong khi chon menu's item
var menuItems = document.querySelectorAll('#nav li a[href*="#"]');
for (var i = 0; i < menuItems.length; i++){
var menuItem = menuItems[i];
menuItem.onclick = function(){
var isParentMenu = this.nextElementSibling &&
this.nextElementSibling.classList.contains('subnav');
console.log(this)
if (isParentMenu) {
event.preventDefault();
} else {
header.style.height = null;
}
}
}
</script>
</body>
</html>