-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgo-again.html
260 lines (257 loc) Β· 9.11 KB
/
go-again.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta
name="description"
content="Battleground holiday schedule 2023 for Classic Era, Season of Mastery, and Wrath of the Lich King Classic.">
<title>WoW Classic Battleground Holidays 2023</title>
<link rel="stylesheet" href="style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<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=Playfair+Display:wght@400;500;700&display=swap"
rel="stylesheet">
<link rel="apple-touch-icon" sizes="180x180" href="/favicon_io/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon_io/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon_io/favicon-16x16.png">
<link rel="manifest" href="/favicon_io/site.webmanifest">
<script type="module" src="main.js" defer></script>
</head>
<body>
<header class="header">
<nav class="nav">
<a href="/" class="nav__logo">
<img
class="logo"
src="/images/logo.webp"
alt="Logo showing an dwarf with a tankard of beer"
width="256px"
height="348px"
>
</a>
<a href="/go-again.html" class="nav__hardcore-link">Random Hardcore Character Picker<span
class="nav__hardcore-link-new">new β¨</span></a>
</nav>
</header>
<main class="main">
<h1 class="title">Random Hardcore Character Picker (work in progress)</h1>
<div x-data="goAgain">
<button type="button" class="button" @click="generateChoice"
x-text="choice === null ? 'Generate π²' : 'I died π'"></button>
<div class="content-wrapper--hardcore">
<template x-if="choice">
<div x-data="choice" class="choice">
<div class="choice__img-container">
<img
class="hardcore_race-img"
src="/images/races/dwarf-female.png"
alt="Dwarf female"
width="200px"
height="200px"
x-show="choice.id === 'Dwarf' && !choice.isMale"
>
<img
class="hardcore_race-img"
src="/images/races/dwarf-male.png"
alt="Dwarf male"
width="200px"
height="200px"
x-show="choice.id === 'Dwarf' && choice.isMale"
>
<img
class="hardcore_race-img"
src="/images/races/gnome-female.png"
alt="Gnome female"
width="200px"
height="200px"
x-show="choice.id === 'Gnome' && !choice.isMale"
>
<img
class="hardcore_race-img"
src="/images/races/gnome-male.png"
alt="Gnome male"
width="200px"
height="200px"
x-show="choice.id === 'Gnome' && choice.isMale"
>
<img
class="hardcore_race-img"
src="/images/races/human-female.png"
alt="Human female"
width="200px"
height="200px"
x-show="choice.id === 'Human' && !choice.isMale"
>
<img
class="hardcore_race-img"
src="/images/races/human-male.png"
alt="Human male"
width="200px"
height="200px"
x-show="choice.id === 'Human' && choice.isMale"
>
<img
class="hardcore_race-img"
src="/images/races/night-elf-female.png"
alt="Night Elf female"
width="200px"
height="200px"
x-show="choice.id === 'Night Elf' && !choice.isMale"
>
<img
class="hardcore_race-img"
src="/images/races/night-elf-male.png"
alt="Night Elf male"
width="200px"
height="200px"
x-show="choice.id === 'Night Elf' && choice.isMale"
>
<img
class="hardcore_race-img"
src="/images/races/orc-female.png"
alt="Orc female"
width="200px"
height="200px"
x-show="choice.id === 'Orc' && !choice.isMale"
>
<img
class="hardcore_race-img"
src="/images/races/orc-male.png"
alt="Orc male"
width="200px"
height="200px"
x-show="choice.id === 'Orc' && choice.isMale"
>
<img
class="hardcore_race-img"
src="/images/races/tauren-female.png"
alt="Tauren female"
width="200px"
height="200px"
x-show="choice.id === 'Tauren' && !choice.isMale"
>
<img
class="hardcore_race-img"
src="/images/races/tauren-male.png"
alt="Tauren male"
width="200px"
height="200px"
x-show="choice.id === 'Tauren' && choice.isMale"
>
<img
class="hardcore_race-img"
src="/images/races/troll-female.png"
alt="Troll female"
width="200px"
height="200px"
x-show="choice.id === 'Troll' && !choice.isMale"
>
<img
class="hardcore_race-img"
src="/images/races/troll-male.png"
alt="Troll male"
width="200px"
height="200px"
x-show="choice.id === 'Troll' && choice.isMale"
>
<img
class="hardcore_race-img"
src="/images/races/undead-female.png"
alt="Undead female"
width="200px"
height="200px"
x-show="choice.id === 'Undead' && !choice.isMale"
>
<img
class="hardcore_race-img"
src="/images/races/undead-male.png"
alt="Undead male"
width="200px"
height="200px"
x-show="choice.id === 'Undead' && choice.isMale"
>
<img class="choice__faction"
src="/images/races/alliance.png"
alt="Alliance emblem."
x-show="faction === 'Alliance'"
>
<img class="choice__faction"
src="/images/races/horde.png"
alt="Horde emblem."
x-show="faction === 'Horde'"
>
<img class="choice__gender"
src="/images/races/male.png"
alt="Male gender icon."
x-show="isMale"
>
<img class="choice__gender"
src="/images/races/female.png"
alt="Female gender icon."
x-show="!isMale"
>
</div>
<p><span x-text="id"></span> <span x-text="chosenClass"></span></p>
</div>
</template>
<template x-for="dead in brownBread">
<div class="choice">
<div class="choice__img-container choice__img-container--dead">
<img
:src="dead.img"
alt="Character that has died shown in greyscale."
width="200px"
height="200px"
>
<img class="choice__faction"
src="/images/races/alliance.png"
alt="Alliance emblem."
x-show="dead.faction === 'Alliance'"
>
<img class="choice__faction"
src="/images/races/horde.png"
alt="Horde emblem."
x-show="dead.faction === 'Horde'"
>
<img class="choice__gender"
src="/images/races/male.png"
alt="Male gender icon."
x-show="dead.isMale"
>
<img class="choice__gender"
src="/images/races/female.png"
alt="Female gender icon."
x-show="!dead.isMale"
>
</div>
<p><span x-text="dead.id"></span> <span x-text="dead.chosenClass"></span></p>
</div>
</template>
</div>
</div>
<!-- <article class="helpful" x-init="await getVotes()" x-data="foundHelpful">-->
<!-- <h1 class="helpful__title">Found this helpful? Let us know then laddie!</h1>-->
<!-- <button type="button" aria-label="Like" class="helpful__button" @click="addVote()"><img-->
<!-- src="/images/svg/like-logo.svg" alt="Two tankards clinking with the holder's thumbs up">-->
<!-- </button>-->
<!-- <p class="helpful__text" x-text="text"></p>-->
<!-- </article>-->
</main>
<footer class="footer">
<a href="/public">
<img
class="logo"
src="/images/logo.webp"
alt="Logo showing an dwarf with a tankard of beer"
width="256px"
height="348px"
>
</a>
<p class="footer__text" x-data x-text="new Date().getFullYear()"></p>
</footer>
</body>
</html>