-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
292 lines (288 loc) · 16.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
<!DOCTYPE html>
<html lang="en" data-bs-theme="dark">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"
integrity="sha512-z3gLpd7yknf1YoNbCzqRKc4qyor8gaKU1qmn+CShxbuBusANI9QpRohGBreCFkKxLhei6S9CQXFEbbKuqLg0DA=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-4bw+/aepP/YC94hEpVNVgiZdgIC5+VKNBQNGCHeKRQN+PtmoHDEXuppvnDJzQIu9" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css" />
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/js/bootstrap.bundle.min.js"
integrity="sha384-HwwvtgBNo3bZJJLYd8oVXjrBZt8cqVSpeBNS5n7C8IVInixGAoxmnlMuBnhbgrkm"
crossorigin="anonymous"></script>
<link rel="shortcut icon" href="./public/favicon.png" type="image/x-icon" />
<link rel="stylesheet" href="./styles/reset.css" />
<link rel="stylesheet" href="./styles/header.css" />
<link rel="stylesheet" href="./styles/banner.css" />
<link rel="stylesheet" href="./styles/catalog.css" />
<link rel="stylesheet" href="./styles/footer.css">
<title>Games Hub</title>
</head>
<body>
<header class="py-3 mb-3 border-bottom">
<nav class="navbar navbar-expand-lg bg-body-tertiary gap-3 align-items-center">
<div class="container-fluid">
<a class="navbar-brand link-body-emphasis text-decoration-none" href="#banner">
<svg xmlns="http://www.w3.org/2000/svg" width="75" height="50" fill="currentColor"
class="bi bi-controller" viewBox="0 0 16 16">
<path
d="M11.5 6.027a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0zm-1.5 1.5a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1zm2.5-.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0zm-1.5 1.5a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1zm-6.5-3h1v1h1v1h-1v1h-1v-1h-1v-1h1v-1z" />
<path
d="M3.051 3.26a.5.5 0 0 1 .354-.613l1.932-.518a.5.5 0 0 1 .62.39c.655-.079 1.35-.117 2.043-.117.72 0 1.443.041 2.12.126a.5.5 0 0 1 .622-.399l1.932.518a.5.5 0 0 1 .306.729c.14.09.266.19.373.297.408.408.78 1.05 1.095 1.772.32.733.599 1.591.805 2.466.206.875.34 1.78.364 2.606.024.816-.059 1.602-.328 2.21a1.42 1.42 0 0 1-1.445.83c-.636-.067-1.115-.394-1.513-.773-.245-.232-.496-.526-.739-.808-.126-.148-.25-.292-.368-.423-.728-.804-1.597-1.527-3.224-1.527-1.627 0-2.496.723-3.224 1.527-.119.131-.242.275-.368.423-.243.282-.494.575-.739.808-.398.38-.877.706-1.513.773a1.42 1.42 0 0 1-1.445-.83c-.27-.608-.352-1.395-.329-2.21.024-.826.16-1.73.365-2.606.206-.875.486-1.733.805-2.466.315-.722.687-1.364 1.094-1.772a2.34 2.34 0 0 1 .433-.335.504.504 0 0 1-.028-.079zm2.036.412c-.877.185-1.469.443-1.733.708-.276.276-.587.783-.885 1.465a13.748 13.748 0 0 0-.748 2.295 12.351 12.351 0 0 0-.339 2.406c-.022.755.062 1.368.243 1.776a.42.42 0 0 0 .426.24c.327-.034.61-.199.929-.502.212-.202.4-.423.615-.674.133-.156.276-.323.44-.504C4.861 9.969 5.978 9.027 8 9.027s3.139.942 3.965 1.855c.164.181.307.348.44.504.214.251.403.472.615.674.318.303.601.468.929.503a.42.42 0 0 0 .426-.241c.18-.408.265-1.02.243-1.776a12.354 12.354 0 0 0-.339-2.406 13.753 13.753 0 0 0-.748-2.295c-.298-.682-.61-1.19-.885-1.465-.264-.265-.856-.523-1.733-.708-.85-.179-1.877-.27-2.913-.27-1.036 0-2.063.091-2.913.27z" />
</svg>
<span class="fs-4"> Games Hub</span>
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent"
aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link active link-body-emphasis text-decoration-none" aria-current="page"
href="#"><i class="bi bi-house-door-fill"></i> Home</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle link-body-emphasis text-decoration-none dropdown-toggle"
href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
<i class="bi bi-joystick"></i> Categories
</a>
<ul class="dropdown-menu text-small shadow ">
<li><a class="dropdown-item" href="./screens/view-all.html?genre=anime">Anime</a></li>
<li>
<a class="dropdown-item" href="./screens/view-all.html?genre=battle-royale">Battle royale</a>
</li>
<li>
<a class="dropdown-item" href="#card">Card games</a>
</li>
<li><a class="dropdown-item" href="./screens/view-all.html?genre=fantasy">Fantasy</a></li>
<li><a class="dropdown-item" href="./screens/view-all.html?genre=fighting">Fights</a></li>
<li><a class="dropdown-item" href="./screens/view-all.html?genre=mmorpg">Mmorpg</a></li>
<li><a class="dropdown-item" href="./screens/view-all.html?genre=moba">Moba</a></li>
<li><a class="dropdown-item" href="./screens/view-all.html?genre=racing">Races</a></li>
<li><a class="dropdown-item" href="./screens/view-all.html?genre=sci-fi">Sci-fi</a></li>
<li><a class="dropdown-item" href="./screens/view-all.html?genre=shooter">Shooter</a></li>
<li><a class="dropdown-item" href="./screens/view-all.html?genre=social">Social</a></li>
<li><a class="dropdown-item" href="./screens/view-all.html?genre=strategy">Strategy</a></li>
<li><a class="dropdown-item" href="./screens/view-all.html?genre=sports">Sports</a></li>
</ul>
</li>
<li class="nav-item dropdown">
<a href="#"
class="nav-link dropdown-toggle link-body-emphasis text-decoration-none dropdown-toggle"
data-bs-toggle="dropdown" aria-expanded="false" role="button">
<i class="bi bi-person-circle"></i>
Manage
</a>
<ul class="dropdown-menu text-small shadow">
<li>
<a class="dropdown-item" id="admin" href="./screens/manage.html">management</a>
</li>
<li>
<a class="dropdown-item" id="login" href="./screens/login.html">Sing in</a>
</li>
<li>
<hr class="dropdown-divider" />
</li>
<li>
<a class="dropdown-item"id="logOff" href="#">Sign off</a>
</li>
</ul>
</li>
</ul>
<form class="d-flex" role="search" id="searchForm">
<input class="form-control me-2" type="search" placeholder="Searcher" name="search" aria-label="Search">
<button class="btn btn-outline-info" type="submit">Search</button>
</form>
</div>
</div>
</nav>
</header>
<main>
<section class="banner p-3 mb-3 d-flex justify-content-center align-items-center" id="banner">
<div class="container-banner">
<div id="carouselExampleInterval" class="carousel slide banner-slide" data-bs-ride="carousel">
<div class="carousel-indicators" id="indicators"></div>
<div class="carousel-inner" id="carousel"></div>
<button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleInterval"
data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="visually-hidden">Previous</span>
</button>
<button class="carousel-control-next" type="button" data-bs-target="#carouselExampleInterval"
data-bs-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="visually-hidden">Next</span>
</button>
</div>
<div class="banner-news">
<div class="container-title mb-3">
<h2 class="title-h2">News</h2>
</div>
<div class="news-list" id="news"></div>
</div>
</div>
</section>
<section class="catalog p-1 mb-3">
<div class="carousel-catalog" id="anime">
<div class="carousel-title mb-3">
<h2 class="title-inner"><span>Anime</span> <span><a class="btn btn-view" href="./screens/view-all.html?genre=anime">View all <i
class="bi bi-list"></i></a></span></h2>
</div>
<div class="carousel-items">
</div>
</div>
<div class="carousel-catalog" id="battle-royale">
<div class="carousel-title mb-3">
<h2 class="title-inner"><span>Battle royale</span> <span><a class="btn btn-view" href="./screens/view-all.html?genre=battle-royale">View all
<i class="bi bi-list"></i></a></span></h2>
</div>
<div class="carousel-items">
</div>
</div>
<div class="carousel-catalog" id="card">
<div class="carousel-title mb-3">
<h2 class="title-inner"><span>Card games</span> <span><a class="btn btn-view" href="./screens/view-all.html?genre=card">View all <i
class="bi bi-list"></i></a></span></h2>
</div>
<div class="carousel-items">
</div>
</div>
<div class="carousel-catalog" id="fantasy">
<div class="carousel-title mb-3">
<h2 class="title-inner"><span>Fantasy</span> <span><a class="btn btn-view" href="./screens/view-all.html?genre=fantasy">View all <i
class="bi bi-list"></i></a></span></h2>
</div>
<div class="carousel-items">
</div>
</div>
<div class="carousel-catalog" id="fighting">
<div class="carousel-title mb-3">
<h2 class="title-inner"><span>Fights</span> <span><a class="btn btn-view" href="./screens/view-all.html?genre=fighting">View all <i
class="bi bi-list"></i></a></span></h2>
</div>
<div class="carousel-items">
</div>
</div>
<div class="carousel-catalog" id="mmorpg">
<div class="carousel-title mb-3">
<h2 class="title-inner"><span>Mmorpg</span> <span><a class="btn btn-view" href="./screens/view-all.html?genre=mmorpg">View all <i
class="bi bi-list"></i></a></span></h2>
</div>
<div class="carousel-items">
</div>
</div>
<div class="carousel-catalog" id="moba">
<div class="carousel-title mb-3">
<h2 class="title-inner"><span>Moba</span> <span><a class="btn btn-view" href="./screens/view-all.html?genre=moba">View all <i
class="bi bi-list"></i></a></span></h2>
</div>
<div class="carousel-items">
</div>
</div>
<div class="carousel-catalog" id="racing">
<div class="carousel-title mb-3">
<h2 class="title-inner"><span>Races</span> <span><a class="btn btn-view" href="./screens/view-all.html?genre=racing">View all <i
class="bi bi-list"></i></a></span></h2>
</div>
<div class="carousel-items">
</div>
</div>
<div class="carousel-catalog" id="sci-fi">
<div class="carousel-title mb-3">
<h2 class="title-inner"><span>Sci-fi</span> <span><a class="btn btn-view" href="./screens/view-all.html?genre=sci-fi">View all <i
class="bi bi-list"></i></a></span></h2>
</div>
<div class="carousel-items">
</div>
</div>
<div class="carousel-catalog" id="shooter">
<div class="carousel-title mb-3">
<h2 class="title-inner"><span>Shooter</span> <span><a class="btn btn-view" href="./screens/view-all.html?genre=shooter">View all <i
class="bi bi-list"></i></a></span></h2>
</div>
<div class="carousel-items">
</div>
</div>
<div class="carousel-catalog" id="social">
<div class="carousel-title mb-3">
<h2 class="title-inner"><span>Social</span> <span><a class="btn btn-view" href="./screens/view-all.html?genre=social">View all <i
class="bi bi-list"></i></a></span></h2>
</div>
<div class="carousel-items">
</div>
</div>
<div class="carousel-catalog" id="strategy">
<div class="carousel-title mb-3">
<h2 class="title-inner"><span>Strategy</span> <span><a class="btn btn-view" href="./screens/view-all.html?genre=strategy">View all <i
class="bi bi-list"></i></a></span></h2>
</div>
<div class="carousel-items">
</div>
</div>
<div class="carousel-catalog" id="sports">
<div class="carousel-title mb-3">
<h2 class="title-inner"><span>Sports</span> <span><a class="btn btn-view" href="./screens/view-all.html?genre=sports">View all <i
class="bi bi-list"></i></a></span></h2>
</div>
<div class="carousel-items">
</div>
</div>
</section>
</main>
<footer class="py-3 bg-body-tertiary">
<div class="footer-container px-4">
<div class="w-100 mb-3">
<ul class="nav d-flex w-100 justify-content-around">
<li class="nav-item"><a href="#" class="nav-link p-0 text-body-secondary">Home</a></li>
<li class="nav-item"><a href="#" class="nav-link p-0 text-body-secondary">FAQs</a></li>
<li class="nav-item"><a href="#" class="nav-link p-0 text-body-secondary">About us</a></li>
</ul>
</div>
<div class="form-container mb-3">
<form>
<h5 class="mb-1">Subscribe to our newsletter</h5>
<p class="mb-1">Monthly digest of what's new and exciting from us.</p>
<div class="d-flex flex-column flex-sm-row w-100 gap-2">
<label for="newsletter1" class="visually-hidden">Email address</label>
<input id="newsletter1" type="text" class="form-control" placeholder="Email address">
<button class="btn btn-primary" type="button">Subscribe</button>
</div>
</form>
</div>
</div>
<div class="d-flex flex-column flex-sm-row align-items-center justify-content-between px-4 pt-2 mt-1 border-top">
<p class="mb-2">© <span id="copyright-year"></span> Andres Vanegas. All rights reserved.</p>
<ul class="list-unstyled d-flex">
<li class="ms-3">
<a class="link-body-emphasis" href="#">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" class="bi bi-twitter" viewBox="0 0 16 16">
<path d="M5.026 15c6.038 0 9.341-5.003 9.341-9.334 0-.14 0-.282-.006-.422A6.685 6.685 0 0 0 16 3.542a6.658 6.658 0 0 1-1.889.518 3.301 3.301 0 0 0 1.447-1.817 6.533 6.533 0 0 1-2.087.793A3.286 3.286 0 0 0 7.875 6.03a9.325 9.325 0 0 1-6.767-3.429 3.289 3.289 0 0 0 1.018 4.382A3.323 3.323 0 0 1 .64 6.575v.045a3.288 3.288 0 0 0 2.632 3.218 3.203 3.203 0 0 1-.865.115 3.23 3.23 0 0 1-.614-.057 3.283 3.283 0 0 0 3.067 2.277A6.588 6.588 0 0 1 .78 13.58a6.32 6.32 0 0 1-.78-.045A9.344 9.344 0 0 0 5.026 15z"/>
</svg>
</a>
</li>
<li class="ms-3"><a class="link-body-emphasis" href="#">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" class="bi bi-instagram" viewBox="0 0 16 16">
<path d="M8 0C5.829 0 5.556.01 4.703.048 3.85.088 3.269.222 2.76.42a3.917 3.917 0 0 0-1.417.923A3.927 3.927 0 0 0 .42 2.76C.222 3.268.087 3.85.048 4.7.01 5.555 0 5.827 0 8.001c0 2.172.01 2.444.048 3.297.04.852.174 1.433.372 1.942.205.526.478.972.923 1.417.444.445.89.719 1.416.923.51.198 1.09.333 1.942.372C5.555 15.99 5.827 16 8 16s2.444-.01 3.298-.048c.851-.04 1.434-.174 1.943-.372a3.916 3.916 0 0 0 1.416-.923c.445-.445.718-.891.923-1.417.197-.509.332-1.09.372-1.942C15.99 10.445 16 10.173 16 8s-.01-2.445-.048-3.299c-.04-.851-.175-1.433-.372-1.941a3.926 3.926 0 0 0-.923-1.417A3.911 3.911 0 0 0 13.24.42c-.51-.198-1.092-.333-1.943-.372C10.443.01 10.172 0 7.998 0h.003zm-.717 1.442h.718c2.136 0 2.389.007 3.232.046.78.035 1.204.166 1.486.275.373.145.64.319.92.599.28.28.453.546.598.92.11.281.24.705.275 1.485.039.843.047 1.096.047 3.231s-.008 2.389-.047 3.232c-.035.78-.166 1.203-.275 1.485a2.47 2.47 0 0 1-.599.919c-.28.28-.546.453-.92.598-.28.11-.704.24-1.485.276-.843.038-1.096.047-3.232.047s-2.39-.009-3.233-.047c-.78-.036-1.203-.166-1.485-.276a2.478 2.478 0 0 1-.92-.598 2.48 2.48 0 0 1-.6-.92c-.109-.281-.24-.705-.275-1.485-.038-.843-.046-1.096-.046-3.233 0-2.136.008-2.388.046-3.231.036-.78.166-1.204.276-1.486.145-.373.319-.64.599-.92.28-.28.546-.453.92-.598.282-.11.705-.24 1.485-.276.738-.034 1.024-.044 2.515-.045v.002zm4.988 1.328a.96.96 0 1 0 0 1.92.96.96 0 0 0 0-1.92zm-4.27 1.122a4.109 4.109 0 1 0 0 8.217 4.109 4.109 0 0 0 0-8.217zm0 1.441a2.667 2.667 0 1 1 0 5.334 2.667 2.667 0 0 1 0-5.334z"/>
</svg>
</a>
</li>
<li class="ms-3">
<a class="link-body-emphasis" href="#">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" class="bi bi-facebook" viewBox="0 0 16 16">
<path d="M16 8.049c0-4.446-3.582-8.05-8-8.05C3.58 0-.002 3.603-.002 8.05c0 4.017 2.926 7.347 6.75 7.951v-5.625h-2.03V8.05H6.75V6.275c0-2.017 1.195-3.131 3.022-3.131.876 0 1.791.157 1.791.157v1.98h-1.009c-.993 0-1.303.621-1.303 1.258v1.51h2.218l-.354 2.326H9.25V16c3.824-.604 6.75-3.934 6.75-7.951z"/>
</svg>
</a>
</li>
</ul>
</div>
</footer>
<button id="scrollToTopBtn" title="back to top">
<div class="scroll"> </div>
</button>
<script type="module" src="./controller/mainHub.js"></script>
</body>
</html>