-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
201 lines (180 loc) · 7.22 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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>demo</title>
<link rel="stylesheet" href="css/style-demo.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@600&family=Lato&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@9/swiper-bundle.min.css"/>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@600&family=Lato&family=Lora:wght@400;500;700&display=swap" rel="stylesheet">
<script src="https://kit.fontawesome.com/3a15b0bf4f.js" crossorigin="anonymous"></script>
</head>
<body>
<section class="header">
<nav>
<a href="demo.html"><img src="image/logo-up-01.png"></a>
<div class="nav-links" id="navLinks">
<i class="fa fa-times" onclick="hideMenu()"></i>
<ul>
<li><a href="subpage.html">Về chúng tôi</a></li>
<li><a href="subpage.html">Liên hệ</a></li>
<li><a href="subpage.html">Trợ giúp</a></li>
<li><a href="subpage.html">Trò chuyện</a></li>
<li><a href="subpage.html">Giỏ hàng</a></li>
<li><a href="subpage.html">Đăng nhập</a></li>
<li><a href="subpage.html">Đăng ký</a></li>
</ul>
</div>
<i class="fa fa-bars" onclick="showMenu()"></i>
</nav>
<div class="text-box">
<h1>Master Your Skills With UP</h1>
<p>Khám phá ngay</p>
<div class="col-md-4">
<input type="text" class="form-control" placeholder="Bạn tìm gì hôm nay?">
<button type="submit" class="btn btn-primary">Tìm kiếm</button>
</div>
</div>
</section>
<!--gallery-->
<section class="bo-suu-tap">
<div class="container">
<div class="swiper">
<!-- Additional required wrapper -->
<div class="swiper-wrapper">
<!-- Slides -->
<div class="swiper-slide"><a href="WS1.html"><img src="image/slide-1-01.png"></a></div>
<div class="swiper-slide"><a href="WS2.html"><img src="image/slide-2-01.png"></a></div>
<div class="swiper-slide"><a href="subpage.html"><img src="image/slide-3-01.png"></a></div>
<div class="swiper-slide"><a href="subpage.html"><img src="image/slide-4_Mesa de trabajo 1.png"></a></div>
</div>
<!-- If we need pagination -->
<div class="swiper-pagination"></div>
<!-- If we need navigation buttons -->
<div class="swiper-button-prev"></div>
<div class="swiper-button-next"></div>
</div>
</div>
</section>
<!--topic-->
<section class="ws-topic">
<div class="topic">
<h3>Chủ đề</h3>
<div class="row">
<div class="top-col"><a href="subpage.html"><b>Nghệ thuật</b></a></div>
<div class="top-col"><a href="subpage.html"><b>Giáo dục</b></a></div>
<div class="top-col"><a href="subpage.html"><b>Sức khỏe</b></a></div>
</div>
<div class="row">
<div class="top-col"><a href="subpage.html"><b>Kinh doanh</b></a></div>
<div class="top-col"><a href="subpage.html"><b>Phát triển bản thân</b></a></div>
<div class="top-col"><a href="subpage.html"><b>Chuyên ngành</b></a></div>
</div>
</div>
</section>
<!--workshop-->
<section class="workshop">
<h3>Có thể bạn quan tâm</h3>
<div class="gallery-wrap">
<img src="images/back1.png" id="backBtn">
<div class="gallery">
<div>
<span><a href="WS1.html"><img src="images/tipsy-01.png"></a></span>
<span><img src="images/TALENT-01.png"></span>
<span><a href="WS2.html"><img src="images/mây-01.png"></a></span>
</div>
<div>
<span><a href="WS4.html"><img src="images/ueh-01.png"></a></span>
<span><a href="WS5.html"><img src="images/ttu-01.png"></a></span>
<span><a href="WS3.html"><img src="images/gioitinh-01.png"></a></span>
</div>
<div>
<span><img src="images/hoasen-01.png"></span>
<span><img src="images/hrd-01.png"></span>
<span><img src="images/ueb-01.png"></span>
</div>
</div>
<img src="images/next1.png" id="nextBtn">
</div>
</section>
<!--footer-->
<div class="footer">
<div class="col-1">
<h3>EQUAL</h3>
<a href="#">Về chúng tôi</a>
<a href="#">Liên hệ</a>
<a href="#">Trợ giúp</a>
</div>
<div class="col-2">
<h3>Nhận thông tin mới nhất</h3>
<form>
<input type="email" placeholder="Gmail của bạn" required>
<br>
<button type="submit">Đăng ký ngay</button>
</form>
</div>
<div class="col-3">
<h3>Mạng xã hội</h3>
<div class="social">
<i class="fa-brands fa-facebook"></i>
<i class="fa-brands fa-instagram"></i>
<i class="fa-brands fa-linkedin"></i>
</div>
</div>
</div>
<!-- JavaScript for Toggle Menu -->
<script>
var navLinks = document.getElementById("navLinks");
function showMenu(){
navLinks.style.right = "0";
}
function hideMenu(){
navLinks.style.right = "-250px";
}
</script>
<!--javascript for swiper-->
<script src="https://cdn.jsdelivr.net/npm/swiper@9/swiper-bundle.min.js"></script>
<script>
const swiper = new Swiper('.swiper', {
autoplay: {
delay: 2000,
disableOnInteraction: false,
},
loop: true,
pagination: {
el: '.swiper-pagination',
clickable: true,
},
// Navigation arrows
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
});
</script>
<!--javascript for gallery-->
<script>
let scrollContainer = document.querySelector(".gallery");
let backBtn = document.getElementById("backBtn");
let nextBtn = document.getElementById("nextBtn");
scrollContainer.addEventListener("wheel", (evt) => {
evt.preventDefault();
scrollContainer.scrollLeft += evt.deltaY;
scrollContainer.style.scrollBehavior = "auto";
});
nextBtn.addEventListener("click", () => {
scrollContainer.style.scrollBehavior = "smooth";
scrollContainer.scrollLeft += 900;
});
backBtn.addEventListener("click", () => {
scrollContainer.style.scrollBehavior = "smooth";
scrollContainer.scrollLeft -= 900;
});
</script>
</body>
</html>