-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathindex.html
More file actions
317 lines (311 loc) · 18.1 KB
/
index.html
File metadata and controls
317 lines (311 loc) · 18.1 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width"/>
<title>Battles 2 Popology</title>
<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=Urbanist&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Roboto&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Luckiest+Guy&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Gabarito&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Comic+Neue:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" />
<link rel="stylesheet" href="styles/style.css"/>
<link rel="stylesheet" href="styles/home.css"/>
<!-- Primary Meta Tags -->
<title>Battles 2 Popology</title>
<meta name="title" content="Battles 2 Popology" />
<meta name="description" content="Discover stats for towers, heroes, and everything else in Bloons TD Battles 2!" />
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://b2popology.com" />
<meta property="og:title" content="Battles 2 Popology" />
<meta property="og:description" content="Discover stats for towers, heroes, and everything else in Bloons TD Battles 2!" />
<meta property="og:image" content="https://raw.githubusercontent.com/emilplane/b2popology/refs/heads/main/popology2.png" />
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://b2popology.com" />
<meta property="twitter:title" content="Battles 2 Popology" />
<meta property="twitter:description" content="Discover stats for towers, heroes, and everything else in Bloons TD Battles 2!" />
<meta property="twitter:image" content="https://raw.githubusercontent.com/emilplane/b2popology/refs/heads/main/popology2.png" />
<!-- Meta Tags Generated with https://metatags.io -->
</head>
<body>
<main id="main">
<div class="coverImage homeCoverImage" id="coverImage"></div>
<div class="statsPageWrapper">
<div class="statsPageBody" id="statsPageBody">
<div class="headerWrapper" id="headerWrapper"></div>
<section class="welcomeContainer">
<h1>Welcome to the Battles 2 Popology!</h1>
</section>
<section id="artAttribution" style="display: flex; flex-direction: column; align-items: end; padding: 0 12px;">
<p></p>
</section>
<section class="blankSection linksSection" id="newsSection">
<!-- <section class="roundedBoxSection contentInfoSection tournamentInfoSection">-->
<!-- <div class="simpleWithButton">-->
<!-- <div>-->
<!-- <h4 class="luckiestGuy">Popology Weekly #30</h4>-->
<!-- <p>Small tournaments hosted every week!</p>-->
<!-- </div>-->
<!-- <div>-->
<!-- <a href="/tournaments.html" class="buttonAnchor">-->
<!-- <button class="linkToExternalButton tournamentPageButton">-->
<!-- <h6>Learn more</h6>-->
<!-- <span class="material-symbols-outlined linkToExternal">arrow_outward</span>-->
<!-- </button>-->
<!-- </a>-->
<!-- </div>-->
<!-- </div>-->
<!-- </section>-->
</section>
<section class="blankSection">
<div>
<h2>Categories</h2>
<div class="horizontalLine strongLineStyle thick"></div>
</div>
<div class="categoryButtonContainer">
<a href="popology.html?section=primary&page=dartMonkey">
<div class="categoryButton primaryCategoryButton">
<h4>Primary</h4>
</div>
</a>
<a href="popology.html?section=military&page=sniperMonkey">
<div class="categoryButton militaryCategoryButton">
<h4>Military</h4>
</div>
</a>
<a href="popology.html?section=magic&page=wizardMonkey">
<div class="categoryButton magicCategoryButton">
<h4>Magic</h4>
</div>
</a>
<a href="popology.html?section=support&page=monkeyVillage">
<div class="categoryButton supportCategoryButton">
<h4>Support</h4>
</div>
</a>
<a href="popology.html?section=heroes&page=quincy">
<div class="categoryButton heroesCategoryButton">
<h4>Heroes</h4>
</div>
</a>
<a href="popology.html?section=bloons&page=red">
<div class="categoryButton">
<h4>Bloons</h4>
</div>
</a>
<a href="popology.html?section=accolades&page=winsWithTowerCategory">
<div class="categoryButton">
<h4>Accolades</h4>
</div>
</a>
</div>
</section>
<section class="blankSection">
<div>
<h2>Resources</h2>
<div class="horizontalLine strongLineStyle thick"></div>
</div>
<div class="resourcesSection">
<section class="roundedBoxSection">
<div class="resourceTitleContainer">
<h4>b2.lol</h4>
<h6>by SpoonOil</h6>
</div>
<div class="horizontalLine"></div>
<p>Get stats on any player in HoM including a recent game history, and access to a full HoM leaderboard, courtesy of the
<a class="linkUnderline" href="https://data.ninjakiwi.com/">Ninja Kiwi API</a>.</p>
<a href="https://b2.lol/" target="blank" class="buttonAnchor">
<button class="linkToExternalButton resourceButton">
<h6>Visit resource</h6>
<span class="material-symbols-outlined linkToExternal">arrow_outward</span>
</button>
</a>
</section>
<section class="roundedBoxSection">
<div class="resourceTitleContainer">
<h4>Battles 2 Data</h4>
<h6>by thewarrior71</h6>
</div>
<div class="horizontalLine"></div>
<p>Up-to-date data on eco stats and efficiency, farm efficiency, and more!</p>
<a href="https://docs.google.com/spreadsheets/d/1guVhez01z09s8LR3_GrBLlYgSRK3XF-ZLop26FMEQK4/edit#gid=1926627977" target="blank" class="buttonAnchor">
<button class="linkToExternalButton resourceButton">
<h6>Visit resource</h6>
<span class="material-symbols-outlined linkToExternal">arrow_outward</span>
</button>
</a>
</section>
<section class="roundedBoxSection">
<div class="resourceTitleContainer">
<h4>Battles 2 MOAB DPS Statistics</h4>
<h6>by Anyar</h6>
</div>
<div class="horizontalLine"></div>
<p>View stats on this spreadsheet for MOAB DPS and more!</p>
<a href="https://docs.google.com/spreadsheets/d/12wboiwDKhQpgBMthSx-R59neYmsMfWfibFVBRAX5G9Y/edit?gid=0#gid=0" target="blank" class="buttonAnchor">
<button class="linkToExternalButton resourceButton">
<h6>Visit resource</h6>
<span class="material-symbols-outlined linkToExternal">arrow_outward</span>
</button>
</a>
</section>
<!-- <section class="roundedBoxSection">
<div class="resourceTitleContainer">
<h4>Bloonstar</h4>
<h6>by VTri</h6>
</div>
<div class="horizontalLine"></div>
<p>View stats about tower use rates in the Hall of Masters!</p>
<a href="https://www.bloonstar.com" target="blank" class="buttonAnchor">
<button class="linkToExternalButton resourceButton">
<h6>Visit resource</h6>
<span class="material-symbols-outlined linkToExternal">arrow_outward</span>
</button>
</a>
</section> -->
<section class="roundedBoxSection">
<div class="resourceTitleContainer">
<h4>B2 Stats Tracker Discord bot</h4>
<h6>by Supertiger</h6>
</div>
<div class="horizontalLine"></div>
<p>Use this Discord bot to track your or other Hall of Masters players' gameplay! Join a Battles 2 server like ours if you want to use it, or join the support server if you want to learn more about the bot or give feedback!</p>
<a href="https://discord.gg/K5QKekv5fu" target="blank" class="buttonAnchor">
<button class="linkToExternalButton resourceButton">
<h6>Support server</h6>
<span class="material-symbols-outlined linkToExternal">arrow_outward</span>
</button>
</a>
</section>
<section class="roundedBoxSection">
<div class="resourceTitleContainer">
<h4>Blooncyclopedia for Battles 2</h4>
</div>
<div class="horizontalLine"></div>
<p>A brand new non-Fandom Bloons wiki! View its Battles 2 information here!</p>
<a href="https://www.bloonswiki.com/Bloons_TD_Battles_2" target="blank" class="buttonAnchor">
<button class="linkToExternalButton resourceButton">
<h6>Visit resource</h6>
<span class="material-symbols-outlined linkToExternal">arrow_outward</span>
</button>
</a>
</section>
</div>
</section>
<section class="blankSection">
<div>
<h2>Other Games</h2>
<div class="horizontalLine strongLineStyle thick"></div>
</div>
<div class="resourcesSection otherGamesSection">
<a href="https://bcspopology.com">
<button class="roundedBoxSection bcspopologyButton">
<h4 class="bcsfont">BCS Popology</h4>
</button>
</a>
</div>
</section>
<section class="blankSection">
<section class="roundedBoxSection discordSection">
<h3>Battles 2 Popology Discord</h3>
<p>Want to report a bug, help us develop more awesome features, play in tournaments, or just chat? Join our Discord server!</p>
<a href="https://discord.com/invite/9YAaxDXAYZ" target="blank" class="buttonAnchor">
<button class="linkToExternalButton resourceButton discordButton">
<h6>Join the server</h6>
<span class="material-symbols-outlined linkToExternal">arrow_outward</span>
</button>
</a>
</section>
</section>
<section class="blankSection">
<section class="roundedBoxSection">
<div class="versionHistoryContainer">
<div>
<h5>Version History</h5>
<p>View a detailed update history of this website.</p>
</div>
<div class="versionHistoryPush">
<a href="versionHistory.html">
<button class="linkToExternalButton">
<h6>View Version History</h6>
<span class="material-symbols-outlined linkToExternal">arrow_outward</span>
</button>
</a>
</div>
</div>
</section>
</section>
</div>
</div>
</main>
<!-- <script>
console.log('This is logged to the console from the body tags.');
</script> -->
</body>
<dialog class="menu" id="menu"></dialog>
<style id="coverImageStyle">
.coverImage {
background-image: linear-gradient(to right,
rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.25) 15%,
rgba(255, 255, 255, 0.1) 20%, rgba(255, 255, 255, 0.1) 80%,
rgba(255, 255, 255, 0.25) 85%, rgba(255, 255, 255, 1)
),
linear-gradient(to top,
rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.5) 25%,
rgba(255, 255, 255, 0) 80%, rgba(255, 255, 255, 1) 110%
),
url('media/clanIsland.png');
@media (prefers-color-scheme: dark) {
background-image: linear-gradient(to right,
rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.25) 15%,
rgba(0, 0, 0, 0.1) 20%, rgba(0, 0, 0, 0.1) 80%,
rgba(0, 0, 0, 0.25) 85%, rgba(0, 0, 0, 1)
),
linear-gradient(to top,
rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.5) 25%,
rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, 1) 110%
),
url('media/clanIsland.png');
}
opacity: 0;
background-position-y: 40%;
}
.coverImage.loaded {
transition: opacity 0.5s;
opacity: 0.8;
@media (prefers-color-scheme: dark) {
opacity: 0.6;
}
}
#artAttribution {
opacity: 0;
}
#artAttribution.loaded {
transition: opacity 0.5s;
opacity: 1;
}
</style>
<script>
window.addEventListener('load', async function() {
await sleep(200);
document.getElementById('coverImage').classList.add('loaded');
document.getElementById('artAttribution').classList.add('loaded');
});
function sleep(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
</script>
<script type="module">
import { navigationBar } from "./scripts/navigation.js";
navigationBar('index')
</script>
<script type="module" src="scripts/hamburger.js"></script>
<script type="module" src="scripts/home.js"></script>
</html>