-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlist.html
More file actions
328 lines (278 loc) · 24 KB
/
list.html
File metadata and controls
328 lines (278 loc) · 24 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
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
<!DOCTYPE html>
<html>
<head>
<title>List</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://cdn.tailwindcss.com?plugins=typography"></script>
<link href="css/base.css" rel="stylesheet">
<link href="css/color.css" rel="stylesheet">
<link href="css/typography.css" rel="stylesheet">
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:slnt,wght@-10..0,100..900&display=swap');
</style>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,1,0" />
<script>
tailwind.config = {
theme: {
extend: {
colors: {
pri: '#F5F7FF',
sec: '#D0D2DB',
tri: '#9CA3AF',
sep: '#2D303D',
act: '#00BD6D',
hov: '#00BD10',
mai: '#252836',
sup: '#212230',
gre: '#22C55E',
yel: '#EAB308',
red: '#EF4444',
blu: '#3B82F6',
},
aspecRatio: {
'4/3' : '4 / 3',
}
}
}
}
</script>
</head>
<body>
<header class="py-3 px-4 lg:px-11 shadow-lg box-border border-b border-sep flex items-center">
<a href="#" class="grow-0 shrink-0 flex items-center">
<div class="h-[28px] w-[28px]">
<img src="img/logo.png" alt="whatoplay logo" class="w-full">
</div>
<div class="mx-3 text-pri text-lg font-bold tracking-wide hidden md:block">whatoplay</div>
</a>
<div class="grow shrink"></div>
<div class="grow-0 shrink-0 hidden w-[336px] bg-mai rounded-full py-1.5 px-4 lg:flex mr-6">
<div class="material-symbols-rounded text-tri mr-4 text-xl">search</div>
<input class="bg-transparent text-pri outline-0" placeholder="Search">
</div>
<button class="text-pri text-sm bg-act px-4 py-1.5 rounded font-bold hover:bg-hov">Login</button>
</header>
<div class="grid grid-cols-12 p-4">
<section class="contain-left col-span-12 md:col-span-2 pt-3">
<nav class="menu-pri py-4 px-2 rounded-lg md:max-w-[336px]">
<nav class="menu-pri py-4 px-2 rounded-lg md:max-w-[336px]">
<ul class="text-base font-semibold space-y-2">
<li>
<a href="#" class="flex items-center py-2 px-4 hover:bg-mai rounded-lg" title="Video games">
<span class="material-symbols-rounded text-act mr-6 text-2xl">games</span>
<span class="text-sec">Games</span>
</a>
</li>
<li>
<a href="#" class="flex items-center py-2 px-4 hover:bg-mai rounded-lg" title="Best games of all time">
<span class="material-symbols-rounded text-act mr-6 text-2xl">emoji_events</span>
<span class="text-sec">Rankings</span>
</a>
</li>
<li>
<a href="#" class="flex items-center py-2 px-4 hover:bg-mai rounded-lg" title="New video games">
<span class="material-symbols-rounded text-act mr-6 text-2xl">new_releases</span>
<span class="text-sec">New</span>
</a>
</li>
<li>
<a href="#" class="flex items-center py-2 px-4 hover:bg-mai rounded-lg" title="Upcoming video games">
<span class="material-symbols-rounded text-act mr-6 text-2xl">event</span>
<span class="text-sec">Upcoming</span>
</a>
</li>
<li>
<a href="#" class="flex items-center py-2 px-4 hover:bg-mai rounded-lg" title="Game finder - advanced video game search">
<span class="material-symbols-rounded text-act mr-6 text-2xl">manage_search</span>
<span class="text-sec">Game finder</span>
</a>
</li>
<li>
<a href="#" class="flex items-center py-2 px-4 hover:bg-mai rounded-lg" title="Game finder - advanced video game search">
<span class="material-symbols-rounded text-act mr-6 text-2xl">groups</span>
<span class="text-sec">Community</span>
</a>
</li>
<li>
<a href="#" class="flex items-center py-2 px-4 hover:bg-mai rounded-lg" title="Latest gaming news, articles, and guides">
<span class="material-symbols-rounded text-act mr-6 text-2xl">newsmode</span>
<span class="text-sec">News and Articles</span>
</a>
</li>
</ul>
</nav>
</nav>
</section>
<main class="col-span-12 md:col-span-7">
<div class="content ig-container">
<h1 class="text-xl font-bold text-pri leading">Best PS4 Games of All Time</h1>
<div class="text-xs font-semibold text-tri mb-2">2375 games</div>
<div class="flex -ml-2 mb-2">
<button class="flex items-center btn-base btn-sec py-1.5 px-2 text-sm hover:text-[#00945b] mr-2 md:mr-4">
<span class="mr-1">Platforms</span>
<span class="text-base material-symbols-rounded">expand_more</span>
</button>
<button class="flex items-center btn-base btn-sec py-1.5 px-2 text-sm hover:text-[#00945b] mr-2 md:mr-4">
<span class="mr-1">Genres</span>
<span class="text-base material-symbols-rounded">expand_more</span>
</button>
<button class="flex items-center btn-base btn-sec py-1.5 px-2 text-sm hover:text-[#00945b]">
<span class="mr-1">Year</span>
<span class="text-base material-symbols-rounded">expand_more</span>
</button>
<div class="grow shrink"></div>
<button class="flex items-center btn-base btn-sec py-1.5 px-2 text-sm hover:text-[#00945b]">
<span class="mr-1">Sort</span>
<span class="text-base material-symbols-rounded">sort</span>
</button>
</div>
<div class="game-list">
<a href="#" class="group box-content md:box-border w-full block rounded-lg p-4 hover:bg-mai flex -ml-4">
<div class="grow-0 shrink-0 w-[12px] text-xs font-bold text-tri mr-3">1</div>
<div class="grow flex items-start">
<div class="grow-0 shrink-0 w-[72px] h-[72px] md:w-[100px] md:h-[100px] aspect-square rounded overflow-hidden mr-3">
<img src="https://cdn2.whatoplay.com/boxart/sqr/150x/14624.webp" alt="" class="w-full max-w-none">
</div>
<div class="grow mr-4">
<h2 class="text-pri font-semibold text-base leading-snug line-clamp-2 mb-1 group-hover:text-act">The Witcher 3: Wild Hunt - Game of the Year Edition</h2>
<div class="text-tri text-xs md:text-sm mb-2">
<span class="mr-1">PS4</span> • <span class="ml-1">2016</span>
</div>
<div class="text-tri text-xs md:text-sm">Action • RPG • Open world</div>
</div>
</div>
<div class="grow-0 shrink-0">
<div class="text-xl font-bold text-gre">9.7</div>
</div>
</a>
<a href="#" class="group box-content md:box-border w-full block rounded-lg p-4 hover:bg-mai flex -ml-4">
<div class="grow-0 w-[12px] text-xs font-bold text-tri mr-3">2</div>
<div class="grow flex items-start">
<div class="grow-0 w-[72px] h-[72px] md:w-[100px] md:h-[100px] aspect-square rounded overflow-hidden mr-4">
<img src="https://cdn2.whatoplay.com/boxart/sqr/150x/41406-1665042408298.webp" alt="" class="w-full max-w-none">
</div>
<div class="grow mr-3">
<h2 class="text-pri font-semibold text-base leading-snug line-clamp-2 mb-1 group-hover:text-act">Persona 5 Royal</h2>
<div class="text-tri text-xs md:text-sm mb-2">
<span class="mr-1">PS4</span> • <span class="ml-1">2016</span>
</div>
<div class="text-tri text-xs md:text-sm font-normal">Action • RPG • JRPG</div>
</div>
</div>
<div class="grow-0 shrink-0">
<div class="text-xl font-bold text-gre track">9.6</div>
</div>
</a>
<a href="#" class="group box-content md:box-border w-full block rounded-lg p-4 hover:bg-mai flex -ml-4">
<div class="w-[12px] text-xs font-bold text-tri mr-3">3</div>
<div class="grow flex items-start">
<div class="grow-0 shrink-0 w-[72px] h-[72px] md:w-[100px] md:h-[100px] aspect-square rounded overflow-hidden mr-3">
<img src="https://cdn2.whatoplay.com/boxart/sqr/150x/9551.webp" alt="" class="w-full max-w-none">
</div>
<div class="grow mr-3">
<h2 class="text-pri font-semibold text-base leading-snug line-clamp-2 mb-1 group-hover:text-act">Persona 5</h2>
<div class="text-tri text-xs md:text-sm mb-2">
<span class="mr-1">PS4</span> • <span class="ml-1">2017</span>
</div>
<div class="text-tri text-xs md:text-sm font-normal">RPG • JRPG</div>
</div>
</div>
<div class="grow-0 shrink-0">
<div class="text-xl font-bold text-gre">9.6</div>
</div>
</a>
<a href="#" class="group box-content md:box-border w-full block rounded-lg p-4 hover:bg-mai flex -ml-4">
<div class="w-[12px] text-xs font-bold text-tri mr-3">24</div>
<div class="grow flex items-start">
<div class="grow-0 shrink-0 w-[72px] h-[72px] md:w-[100px] md:h-[100px] aspect-square rounded overflow-hidden mr-3">
<img src="https://cdn2.whatoplay.com/boxart/sqr/150x/thelastofusremastered-ps4.webp" alt="" class="w-full max-w-none">
</div>
<div class="grow mr-3">
<h2 class="text-pri font-semibold text-base leading-snug line-clamp-2 mb-1 group-hover:text-act">The Last of Us Remastered</h2>
<div class="text-tri text-xs md:text-sm mb-2">
<span class="mr-1">PS4</span> • <span class="ml-1">Jul 29</span>
</div>
<div class="text-tri text-xs md:text-sm font-normal">Action • Adventure</div>
</div>
</div>
<div class="grow-0 shrink-0">
<div class="text-xl font-bold text-yel">7.8</div>
</div>
</a>
<a href="#" class="group box-content md:box-border w-full block rounded-lg p-4 hover:bg-mai flex -ml-4">
<div class="w-[12px] text-xs font-bold text-tri mr-4">115</div>
<div class="grow flex items-start">
<div class="grow-0 shrink-0 w-[72px] h-[72px] md:w-[100px] md:h-[100px] aspect-square rounded overflow-hidden mr-3">
<img src="https://cdn2.whatoplay.com/boxart/sqr/150x/15252-1540537361.webp" alt="" class="w-full max-w-none">
</div>
<div class="grow mr-3">
<h2 class="text-pri font-semibold text-base leading-snug line-clamp-2 mb-1 group-hover:text-act">Red Dead Redemption</h2>
<div class="text-tri text-xs md:text-sm mb-2">
<span class="mr-1">PS4</span> • <span class="ml-1">2018</span>
</div>
<div class="text-tri text-xs md:text-sm font-normal">Action • Adventure • Open world</div>
</div>
</div>
<div class="grow-0 shrink-0">
<div class="text-xl font-bold text-red">5.3</div>
</div>
</a>
</div>
</div>
</main>
<section class="contain-right col-span-12 md:col-span-3 pt-6">
<aside class="related-list md:max-w-[336px] mb-6">
<h3 class="text-sec text-lg mb-2">Related game lists</h3>
<hr class="mt-2 mb-2 border-sep">
<ul role="list" class="text-sm space-y-2 font-semibold">
<li><a href="#" title="Best PlayStation games of all time">Best PS4 Games of all time</a></li>
<li><a href="#" title="Upcoming PlayStation 4 games">Upcoming PS4 games</a></li>
<li><a href="#" title="New PlayStation 4 games">New PS4 games</a></li>
<li><a href="#" title="Best PlayStation 4 open world games">Best PS4 open world games</a></li>
<li><a href="#" title="Best PlayStation 4 roleplaying games">Best PS4 RPGs</a></li>
<li><a href="#" title="Best PlayStation 4 adventure games">Best PS4 adventure games</a></li>
<li><a href="#" title="Best PlayStation 4-only games">Best PS4 exclusive games</a></li>
<li><a href="#" title="Best first-person shooters on PlayStation 4">Best PS4 FPS games</a></li>
</ul>
</aside>
<div class="w-[336px] h-[300px] bg-sup">
<div class="text-sec p-16">Sidebar Ad (336x300)</div>
</div>
<div class="py-6 px-4 md:max-w-[336px]">
<h3 class="text-tri text-sm font-bold">Join us</h3>
<ul class="mt-3 mb-6 flex flex-wrap items-center justify-between text-tri">
<li>
<a href="https://www.youtube.com/@whatoplay" title="Youtube"><svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 576 512" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 fill-skin-tri/80 lg:hover:fill-skin-pri" aria-hidden="true"><path d="M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"></path></svg></a>
</li>
<li>
<a href="https://www.threads.net/@whatoplay" title="Threads"><svg stroke="currentColor" fill="currentColor" stroke-width="0" role="img" viewBox="0 0 448 512" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 fill-skin-tri/80 lg:hover:fill-skin-pri" aria-hidden="true"><path d="M331.5 235.7c2.2 .9 4.2 1.9 6.3 2.8c29.2 14.1 50.6 35.2 61.8 61.4c15.7 36.5 17.2 95.8-30.3 143.2c-36.2 36.2-80.3 52.5-142.6 53h-.3c-70.2-.5-124.1-24.1-160.4-70.2c-32.3-41-48.9-98.1-49.5-169.6V256v-.2C17 184.3 33.6 127.2 65.9 86.2C102.2 40.1 156.2 16.5 226.4 16h.3c70.3 .5 124.9 24 162.3 69.9c18.4 22.7 32 50 40.6 81.7l-40.4 10.8c-7.1-25.8-17.8-47.8-32.2-65.4c-29.2-35.8-73-54.2-130.5-54.6c-57 .5-100.1 18.8-128.2 54.4C72.1 146.1 58.5 194.3 58 256c.5 61.7 14.1 109.9 40.3 143.3c28 35.6 71.2 53.9 128.2 54.4c51.4-.4 85.4-12.6 113.7-40.9c32.3-32.2 31.7-71.8 21.4-95.9c-6.1-14.2-17.1-26-31.9-34.9c-3.7 26.9-11.8 48.3-24.7 64.8c-17.1 21.8-41.4 33.6-72.7 35.3c-23.6 1.3-46.3-4.4-63.9-16c-20.8-13.8-33-34.8-34.3-59.3c-2.5-48.3 35.7-83 95.2-86.4c21.1-1.2 40.9-.3 59.2 2.8c-2.4-14.8-7.3-26.6-14.6-35.2c-10-11.7-25.6-17.7-46.2-17.8H227c-16.6 0-39 4.6-53.3 26.3l-34.4-23.6c19.2-29.1 50.3-45.1 87.8-45.1h.8c62.6 .4 99.9 39.5 103.7 107.7l-.2 .2zm-156 68.8c1.3 25.1 28.4 36.8 54.6 35.3c25.6-1.4 54.6-11.4 59.5-73.2c-13.2-2.9-27.8-4.4-43.4-4.4c-4.8 0-9.6 .1-14.4 .4c-42.9 2.4-57.2 23.2-56.2 41.8l-.1 .1z"></path></svg></a>
</li>
<li>
<a href="https://www.facebook.com/whatoplay" title="Facebook"><svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 512 512" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 fill-skin-tri/80 lg:hover:fill-skin-pri" aria-hidden="true"><path d="M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256z"></path></svg></a>
</li>
<li>
<a href="https://twitter.com/whatoplay" title="X"><svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 512 512" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 fill-skin-tri/80 lg:hover:fill-skin-pri" aria-hidden="true"><path d="M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"></path></svg></a>
</li>
<li>
<a href="https://www.instagram.com/whatoplay/" title="Instagram"><svg stroke="currentColor" fill="currentColor" stroke-width="0" role="img" viewBox="0 0 24 24" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 fill-skin-tri/80 lg:hover:fill-skin-pri" aria-hidden="true"><title></title><path d="M12 0C8.74 0 8.333.015 7.053.072 5.775.132 4.905.333 4.14.63c-.789.306-1.459.717-2.126 1.384S.935 3.35.63 4.14C.333 4.905.131 5.775.072 7.053.012 8.333 0 8.74 0 12s.015 3.667.072 4.947c.06 1.277.261 2.148.558 2.913.306.788.717 1.459 1.384 2.126.667.666 1.336 1.079 2.126 1.384.766.296 1.636.499 2.913.558C8.333 23.988 8.74 24 12 24s3.667-.015 4.947-.072c1.277-.06 2.148-.262 2.913-.558.788-.306 1.459-.718 2.126-1.384.666-.667 1.079-1.335 1.384-2.126.296-.765.499-1.636.558-2.913.06-1.28.072-1.687.072-4.947s-.015-3.667-.072-4.947c-.06-1.277-.262-2.149-.558-2.913-.306-.789-.718-1.459-1.384-2.126C21.319 1.347 20.651.935 19.86.63c-.765-.297-1.636-.499-2.913-.558C15.667.012 15.26 0 12 0zm0 2.16c3.203 0 3.585.016 4.85.071 1.17.055 1.805.249 2.227.415.562.217.96.477 1.382.896.419.42.679.819.896 1.381.164.422.36 1.057.413 2.227.057 1.266.07 1.646.07 4.85s-.015 3.585-.074 4.85c-.061 1.17-.256 1.805-.421 2.227-.224.562-.479.96-.899 1.382-.419.419-.824.679-1.38.896-.42.164-1.065.36-2.235.413-1.274.057-1.649.07-4.859.07-3.211 0-3.586-.015-4.859-.074-1.171-.061-1.816-.256-2.236-.421-.569-.224-.96-.479-1.379-.899-.421-.419-.69-.824-.9-1.38-.165-.42-.359-1.065-.42-2.235-.045-1.26-.061-1.649-.061-4.844 0-3.196.016-3.586.061-4.861.061-1.17.255-1.814.42-2.234.21-.57.479-.96.9-1.381.419-.419.81-.689 1.379-.898.42-.166 1.051-.361 2.221-.421 1.275-.045 1.65-.06 4.859-.06l.045.03zm0 3.678c-3.405 0-6.162 2.76-6.162 6.162 0 3.405 2.76 6.162 6.162 6.162 3.405 0 6.162-2.76 6.162-6.162 0-3.405-2.76-6.162-6.162-6.162zM12 16c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4zm7.846-10.405c0 .795-.646 1.44-1.44 1.44-.795 0-1.44-.646-1.44-1.44 0-.794.646-1.439 1.44-1.439.793-.001 1.44.645 1.44 1.439z"></path></svg></a>
</li>
<li>
<a href="https://www.tiktok.com/@whatoplay.com" title="Tiktok"><svg stroke="currentColor" fill="currentColor" stroke-width="0" role="img" viewBox="0 0 24 24" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 fill-skin-tri/80 lg:hover:fill-skin-pri" aria-hidden="true"><title></title><path d="M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z"></path></svg></a>
</li>
</ul>
<div class="text-tri text-xs">
<ul class="flex flex-wrap justify-between gap-2 mb-2">
<li><a href="#">Contact</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Our team</a></li>
<li><a href="#">Privacy policy</a></li>
<li><a href="#">Terms</a></li>
</ul>
<span class="font-bold">© 2024 whatoplay</span>
</div>
</div>
</section>
</div>
</body>
</html>