-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
243 lines (243 loc) · 14 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
<!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">
<meta property="description" content="Guess a daily Wicca Phase lyric word in 6 tries!">
<meta property="og:title" content="Wiccle Phase Springs Eternal">
<meta name="application-name" content="Wiccle Phase Springs Eternal">
<meta name="apple-mobile-web-app-title" content="Wiccle Phase Springs Eternal">
<meta property="og:url" content="https://slocknad.github.io/WPSE/">
<meta property="og:description" content="Guess a daily Wicca Phase lyric word in 6 tries!">
<meta property="og:image" content="https://slocknad.github.io/WPSE/imgs/wiccle.jpg">
<title>Wiccle Phase Springs Eternal</title>
<link rel="icon" type="image/x-icon" href="imgs/favicon.jpg" id="favicon">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">
<style>
@import url('fonts/luminari.css');
@import url('fonts/xhers.css');
@import url('fonts/iciel-gotham.css');
</style>
</head>
<body class="bg-dark">
<nav class="navbar navbar-dark bg-dark border-bottom border-secondary">
<div class="container-fluid">
<button type="button" class="btn btn-dark" onclick="openStats()"><i class="bi bi-bar-chart"></i></button>
<span class="navbar-brand h1 unselectable position-absolute top-0 start-50 translate-middle-x">Wiccle Phase Springs Eternal</span>
<button type="button" class="btn btn-dark" onclick="openSettings()"><i class="bi bi-gear"></i></button>
</div>
</nav>
<div class="position-absolute top-50 start-50 translate-middle rounded p-4 bg-dark text-light shadow-lg display-none display-small-settings" id="settings">
<p class="h4 text-center pb-2 mb-1 border-bottom border-secondary">SETTINGS</p>
<p class="text-center my-3">Choose a theme:</p>
<div class="row text-center">
<div class="col-3"></div>
<div class="col opacity-0 backgroundImg pt-3 pb-2">
<img src="imgs/1.jpg" class="figure-img img-fluid rounded" onclick="updateTheme(1)">
Dark Version
</div>
<div class="col opacity-0 backgroundImg pt-3 pb-2">
<img src="imgs/2.jpg" class="figure-img img-fluid rounded" onclick="updateTheme(2)">
Light Version
</div>
<div class="col-3"></div>
</div>
<button type="button" class="btn-close btn-close-white position-absolute top-0 end-0 mt-4 me-4" aria-label="Close" onclick="closeSettings()"></button>
</div>
<div class="position-absolute top-50 start-50 translate-middle rounded p-4 bg-dark text-light shadow-lg display-none display-small-stats" id="stats">
<p class="h4 text-center pb-2 mb-1 border-bottom border-secondary">GUESS DISTRIBUTION</p>
<div class="row pt-5">
<div class="col-1 text-center">1</div>
<div class="col-10">
<div class="stats-bar bg-secondary ps-2"></div>
</div>
</div>
<div class="row">
<div class="col-1 text-center">2</div>
<div class="col-10">
<div class="stats-bar bg-secondary ps-2"></div>
</div>
</div>
<div class="row">
<div class="col-1 text-center">3</div>
<div class="col-10">
<div class="stats-bar bg-secondary ps-2"></div>
</div>
</div>
<div class="row">
<div class="col-1 text-center">4</div>
<div class="col-10">
<div class="stats-bar bg-secondary ps-2"></div>
</div>
</div>
<div class="row">
<div class="col-1 text-center">5</div>
<div class="col-10">
<div class="stats-bar bg-secondary ps-2"></div>
</div>
</div>
<div class="row">
<div class="col-1 text-center">6</div>
<div class="col-10">
<div class="stats-bar bg-secondary ps-2"></div>
</div>
</div>
<div class="row mt-3 text-center">
<div class="col countdown pt-2">
<div>NEXT WICCLE</div>
<div id="countdown" style="display:block;"></div>
</div>
<div class="col">
<button type="button" class="btn btn-success p-3 opacity-0" onclick="copyStats()" id="clipboardStats">Copy to clipboard<i class="bi bi-clipboard ms-2"></i></button>
</div>
</div>
<button type="button" class="btn-close btn-close-white position-absolute top-0 end-0 mt-4 me-4" aria-label="Close" onclick="closeStats()"></button>
</div>
<div class="container mt-3 bg-dark" id="content">
<div class="rounded border border-secondary position-absolute top-30 start-50 translate-middle bg-light text-dark p-3 display-none opacity-0" id="error-content">Not a valid word.</div>
<div class="rounded border border-secondary position-absolute top-30 start-50 translate-middle bg-light text-dark p-3 display-none opacity-0" id="answer">%w</div>
<div class="rounded border border-secondary position-absolute top-30 start-50 translate-middle bg-light text-dark p-3 display-none opacity-0" id="error-length">Not enough letters.</div>
<div class="row" id="guesses">
<div class="row">
<div class="col box rounded border border-secondary m-1 text-light">⠀</div>
<div class="col box rounded border border-secondary m-1 text-light">⠀</div>
<div class="col box rounded border border-secondary m-1 text-light">⠀</div>
<div class="col box rounded border border-secondary m-1 text-light">⠀</div>
<div class="col box rounded border border-secondary m-1 text-light">⠀</div>
</div>
<div class="row">
<div class="col box rounded border border-secondary m-1 text-light">⠀</div>
<div class="col box rounded border border-secondary m-1 text-light">⠀</div>
<div class="col box rounded border border-secondary m-1 text-light">⠀</div>
<div class="col box rounded border border-secondary m-1 text-light">⠀</div>
<div class="col box rounded border border-secondary m-1 text-light">⠀</div>
</div>
<div class="row">
<div class="col box rounded border border-secondary m-1 text-light">⠀</div>
<div class="col box rounded border border-secondary m-1 text-light">⠀</div>
<div class="col box rounded border border-secondary m-1 text-light">⠀</div>
<div class="col box rounded border border-secondary m-1 text-light">⠀</div>
<div class="col box rounded border border-secondary m-1 text-light">⠀</div>
</div>
<div class="row">
<div class="col box rounded border border-secondary m-1 text-light">⠀</div>
<div class="col box rounded border border-secondary m-1 text-light">⠀</div>
<div class="col box rounded border border-secondary m-1 text-light">⠀</div>
<div class="col box rounded border border-secondary m-1 text-light">⠀</div>
<div class="col box rounded border border-secondary m-1 text-light">⠀</div>
</div>
<div class="row">
<div class="col box rounded border border-secondary m-1 text-light">⠀</div>
<div class="col box rounded border border-secondary m-1 text-light">⠀</div>
<div class="col box rounded border border-secondary m-1 text-light">⠀</div>
<div class="col box rounded border border-secondary m-1 text-light">⠀</div>
<div class="col box rounded border border-secondary m-1 text-light">⠀</div>
</div>
<div class="row">
<div class="col box rounded border border-secondary m-1 text-light">⠀</div>
<div class="col box rounded border border-secondary m-1 text-light">⠀</div>
<div class="col box rounded border border-secondary m-1 text-light">⠀</div>
<div class="col box rounded border border-secondary m-1 text-light">⠀</div>
<div class="col box rounded border border-secondary m-1 text-light">⠀</div>
</div>
</div>
<div class="container mt-5 text-light" id="keyboard">
<div class="row mt-1">
<div class="col rounded me-1 key bg-secondary" id="Q">Q</div>
<div class="col rounded me-1 key bg-secondary" id="W">W</div>
<div class="col rounded me-1 key bg-secondary" id="E">E</div>
<div class="col rounded me-1 key bg-secondary" id="R">R</div>
<div class="col rounded me-1 key bg-secondary" id="T">T</div>
<div class="col rounded me-1 key bg-secondary" id="Y">Y</div>
<div class="col rounded me-1 key bg-secondary" id="U">U</div>
<div class="col rounded me-1 key bg-secondary" id="I">I</div>
<div class="col rounded me-1 key bg-secondary" id="O">O</div>
<div class="col rounded key bg-secondary" id="P">P</div>
</div>
<div class="row mt-1">
<div class="col-1"></div>
<div class="col rounded me-1 key bg-secondary" id="A">A</div>
<div class="col rounded me-1 key bg-secondary" id="S">S</div>
<div class="col rounded me-1 key bg-secondary" id="D">D</div>
<div class="col rounded me-1 key bg-secondary" id="F">F</div>
<div class="col rounded me-1 key bg-secondary" id="G">G</div>
<div class="col rounded me-1 key bg-secondary" id="H">H</div>
<div class="col rounded me-1 key bg-secondary" id="J">J</div>
<div class="col rounded me-1 key bg-secondary" id="K">K</div>
<div class="col rounded me-1 key bg-secondary" id="L">L</div>
<div class="col-1"></div>
</div>
<div class="row mt-1">
<div class="col-2 rounded me-1 key bg-secondary" id="enter"><i class="bi bi-arrow-return-right"></i></div>
<div class="col rounded me-1 key bg-secondary" id="Z">Z</div>
<div class="col rounded me-1 key bg-secondary" id="X">X</div>
<div class="col rounded me-1 key bg-secondary" id="C">C</div>
<div class="col rounded me-1 key bg-secondary" id="V">V</div>
<div class="col rounded me-1 key bg-secondary" id="B">B</div>
<div class="col rounded me-1 key bg-secondary" id="N">N</div>
<div class="col rounded me-1 key bg-secondary" id="M">M</div>
<div class="col-2 rounded key bg-secondary" id="backspace"><i class="bi bi-backspace"></i></div>
</div>
</div>
<div class="position-absolute top-50 start-50 translate-middle rounded p-4 bg-dark text-light shadow-lg display-none display-small-victory" id="victory">
<p class="h4 text-center pb-2 mb-1 border-bottom border-secondary">Well done! Today's word was <i>%word</i>.</p>
<p class="h5 text-center py-2">GUESS DISTRIBUTION</p>
<div class="row">
<div class="col-1 text-center">1</div>
<div class="col-10">
<div class="victory-bar bg-secondary ps-2"></div>
</div>
</div>
<div class="row">
<div class="col-1 text-center">2</div>
<div class="col-10">
<div class="victory-bar bg-secondary ps-2"></div>
</div>
</div>
<div class="row">
<div class="col-1 text-center">3</div>
<div class="col-10">
<div class="victory-bar bg-secondary ps-2"></div>
</div>
</div>
<div class="row">
<div class="col-1 text-center">4</div>
<div class="col-10">
<div class="victory-bar bg-secondary ps-2"></div>
</div>
</div>
<div class="row">
<div class="col-1 text-center">5</div>
<div class="col-10">
<div class="victory-bar bg-secondary ps-2"></div>
</div>
</div>
<div class="row">
<div class="col-1 text-center">6</div>
<div class="col-10">
<div class="victory-bar bg-secondary ps-2"></div>
</div>
</div>
<div class="row mt-3 text-center">
<div class="col">
<button type="button" class="btn btn-success p-3 share" onclick="copyEnding()" id="clipboard">Copy to clipboard<i class="bi bi-clipboard ms-2"></i></button>
</div>
<div class="col">
<button type="button" class="btn btn-info p-3 share" onclick="openTwitter()">Share on Twitter<i class="bi bi-twitter ms-2"></i></button>
</div>
</div>
<button type="button" class="btn-close btn-close-white position-absolute top-0 end-0 mt-4 me-4" aria-label="Close" onclick="closeVictory()"></button>
</div>
</div>
<script src="scripts/magic.js"></script>
<script src="scripts/englishDictionary.js"></script>
<script src="scripts/setUp.js"></script>
<script src="scripts/checkWord.js"></script>
<script src="scripts/buttons.js"></script>
<script src="scripts/countdown.js"></script>
<script src="scripts/main.js"></script>
</body>
</html>