-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
373 lines (338 loc) · 12.7 KB
/
index.html
File metadata and controls
373 lines (338 loc) · 12.7 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
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>PokéFrontiers Wiki</title>
<link rel="shortcut icon" type="image/x-icon" href="/favicon.png">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="styles.css" />
<style>
/* ==========================================================================
MODERN DUAL-PANE NEWS ENGINE & HUB
========================================================================== */
.news-hub-wrapper {
display: grid;
grid-template-columns: 2fr 1fr;
gap: 30px;
width: 100%;
max-width: 1200px;
margin: 2rem auto 4rem auto;
}
.news-hub-title {
grid-column: 1 / -1;
font-size: 1.5rem;
color: #ffffff;
text-transform: uppercase;
letter-spacing: 1.5px;
font-weight: 700;
margin: 0;
padding-bottom: 0.5rem;
border-bottom: 2px solid #7c2721;
display: flex;
align-items: center;
gap: 10px;
}
/* Left Pane: Featured / Static Announcements */
.featured-news-pane {
display: flex;
flex-direction: column;
gap: 20px;
}
.news-card {
background-color: #1f1f1f;
border-radius: 10px;
padding: 25px;
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
border-left: 5px solid #7c2721;
}
.news-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 15px;
border-bottom: 1px solid #333;
padding-bottom: 10px;
}
.news-header h3 {
font-size: 1.35rem;
color: #ffffff;
margin: 0;
font-weight: 600;
}
.news-meta {
font-size: 0.8rem;
color: #888;
text-align: right;
}
.news-meta span {
display: block;
}
.news-body {
color: #e0e0e0;
font-size: 0.95rem;
line-height: 1.6;
}
.news-body p {
margin-top: 0;
margin-bottom: 15px;
}
.media-container {
width: 100%;
margin: 20px 0;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
aspect-ratio: 16 / 9;
}
.media-container iframe {
width: 100%;
height: 100%;
border: none;
}
/* Right Pane: Live Discord Feed Tracker */
.live-feed-pane {
display: flex;
flex-direction: column;
gap: 15px;
}
.live-feed-header {
background-color: #5865F2; /* Discord Blurple */
color: white;
padding: 12px 15px;
border-radius: 8px 8px 0 0;
font-size: 0.85rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
display: flex;
align-items: center;
justify-content: space-between;
}
.pulse-indicator {
width: 8px;
height: 8px;
background-color: #23a55a; /* Discord Green */
border-radius: 50%;
display: inline-block;
box-shadow: 0 0 8px #23a55a;
animation: live-pulse 1.5s infinite alternate;
}
@keyframes live-pulse {
from { opacity: 0.4; box-shadow: 0 0 2px #23a55a; }
to { opacity: 1; box-shadow: 0 0 12px #23a55a; }
}
.live-feed-box {
background-color: #111111;
border: 1px solid #2a2a2a;
border-top: none;
border-radius: 0 0 8px 8px;
padding: 0; /* Cleared out internal padding safely to fill iframe cleanly */
height: 540px; /* Locked to perfectly align with media container boundaries */
overflow: hidden;
}
/* Responsive Breakdown Modules */
@media (max-width: 900px) {
.news-hub-wrapper {
grid-template-columns: 1fr;
}
.live-feed-box {
height: 400px;
}
}
</style>
</head>
<body>
<!-- Navbar -->
<nav class="navbar">
<div class="logo">
<a href="/">
<img src="images/logo.png" alt="PokeFrontiers Logo" />
</a>
</div>
<ul class="nav-links">
<li><a href="pokemon">Pokémon</a></li>
<li><a href="characters">Characters</a></li>
<li><a href="misc">Misc.</a></li>
</ul>
</nav>
<!-- Main Content -->
<div class="main-content">
<!-- Search Bar -->
<div class="search-bar">
<input type="text" id="searchInput" placeholder="Search the wiki.." />
<button id="searchButton">Search</button>
<div id="searchResults" class="search-results"></div>
</div>
<!-- Action Buttons -->
<div class="button-container">
<a href="https://store.pokefrontiers.com" target="_blank" class="stylized-button">
<i class="fas fa-shop"></i>
</a>
<a href="https://map.pokefrontiers.com" target="_blank" class="stylized-button">
<i class="fas fa-compass"></i>
</a>
<a href="https://discord.gg/W2UeNcHn4F" target="_blank" class="stylized-button">
<i class="fa-brands fa-discord"></i>
</a>
</div>
<!-- TWO-COLUMN NEWS HUB -->
<div class="news-hub-wrapper">
<h2 class="news-hub-title"><i class="fas fa-newspaper" style="color: #7c2721;"></i> News Feed</h2>
<!-- Pinned News Feed Entries -->
<div class="featured-news-pane">
<div class="news-card">
<div class="news-header">
<h3>PokéFrontiers Open Beta Launch</h3>
<div class="news-meta">
<span style="font-weight: bold; color: #ffffff;">Author: Ozzy</span>
<span>May 17, 2026</span>
</div>
</div>
<div class="news-body">
<p>
The PokéFrontiers open beta is officially live, and we're so excited to finally open the server up to everyone! Not only is the wiki fully updated, you can jump in right now and embark on your own journey through Monsai. There is a ton to discover, find, and craft in our first frontier. Don't forget to join our discord to stay up to date on everything!!
</p>
<div class="media-container">
<iframe
src="https://www.youtube.com/embed/Afk4gnWt-2k"
title="PokéFrontiers Update Video"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen>
</iframe>
</div>
</div>
</div>
</div>
<!-- Live Operations Terminal Pane -->
<div class="live-feed-pane">
<div class="live-feed-header">
<span><i class="fa-brands fa-discord"></i> Discord Updates</span>
<span class="pulse-indicator"></span>
</div>
<div class="live-feed-box" id="discord-live-feed">
<!-- FIXED: Integrated real-time dynamic rendering stream connected to your live IDs -->
<iframe
src="https://e.widgetbot.io/channels/1373341632325353562/1373348739518824680"
height="100%"
width="100%"
frameborder="0"
style="background-color: #111111;">
</iframe>
</div>
</div>
</div>
</div>
<!-- Footer -->
<footer>
<p>© 2026 PokéFrontiers. All rights reserved.</p>
</footer>
<!-- Font Awesome for Icons -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/js/all.min.js"></script>
<!-- Search Functionality -->
<script>
const searchInput = document.getElementById("searchInput");
const searchResults = document.getElementById("searchResults");
const pages = [
{ name: "Pokémon", url: "pokemon" },
{ name: "Characters", url: "characters" },
{ name: "Misc.", url: "misc" },
{ name: "Maskin", url: "pokemon/maskin" },
{ name: "Maskief", url: "pokemon/maskief" },
{ name: "Bandimask", url: "pokemon/bandimask" },
{ name: "Crawfizz", url: "pokemon/crawfizz" },
{ name: "Crawapix", url: "pokemon/crawapix" },
{ name: "Crustadrill", url: "pokemon/crustadrill" },
{ name: "Magbeat", url: "pokemon/magbeat" },
{ name: "Chordbeat", url: "pokemon/chordbeat" },
{ name: "Strumbeat", url: "pokemon/strumbeat" },
{ name: "Bibivire", url: "pokemon/bibivire" },
{ name: "Searlicky", url: "pokemon/searlicky" },
{ name: "Voltlicky", url: "pokemon/voltlicky" },
{ name: "Driplicky", url: "pokemon/driplicky" },
{ name: "Cloylicky", url: "pokemon/cloylicky" },
{ name: "Vhysedeer", url: "pokemon/vhysedeer" },
{ name: "Monsian Bidoof", url: "pokemon/bidoof-monsai" },
{ name: "Astral Venusaur", url: "pokemon/astral-venusaur" },
{ name: "Astral Charizard", url: "pokemon/astral-charizard" },
{ name: "Astral Blastoise", url: "pokemon/astral-blastoise" },
{ name: "Astral Ludicolo", url: "pokemon/astral-ludicolo" },
{ name: "Astral Cryogonal", url: "pokemon/astral-cryogonal" },
{ name: "Astral Lucario", url: "pokemon/astral-lucario" },
{ name: "Astral Forretress", url: "pokemon/astral-forretress" },
{ name: "Astral Aerodactyl", url: "pokemon/astral-aerodactyl" },
{ name: "Astral Maractus", url: "pokemon/astral-maractus" },
{ name: "Astral Munchlax", url: "pokemon/astral-munchlax" },
{ name: "Astral Afflicted Keldeo", url: "pokemon/astral-afflicted-keldeo" },
{ name: "Quakey", url: "pokemon/quakey" },
{ name: "Quakia", url: "pokemon/quakia" },
{ name: "Quakiot", url: "pokemon/quakiot" },
{ name: "Swirlicky", url: "pokemon/swirlicky" },
{ name: "Swolicky", url: "pokemon/swolicky" },
{ name: "Grounsquatch", url: "pokemon/grounsquatch" },
{ name: "Rollimolli", url: "pokemon/rollimolli" },
{ name: "Rollaslash", url: "pokemon/rollaslash" },
{ name: "Neboy", url: "pokemon/neboy" },
{ name: "Nebuman", url: "pokemon/nebuman" },
{ name: "Scout Master Snag", url: "characters/scout-master-snag" },
{ name: "Assistant Westly", url: "characters/assistant-westly" },
{ name: "Warden Maxx", url: "characters/warden-maxx" },
{ name: "Warden Hilbert", url: "characters/warden-hilbert" },
{ name: "Warden Albany", url: "characters/warden-albany" },
{ name: "Hermit Silas", url: "characters/hermit-silas" },
{ name: "Crafter Emmet", url: "characters/crafter-emmet" },
{ name: "Nurse Joy", url: "characters/nurse-joy" },
{ name: "Sheriff Rowans", url: "characters/sheriff-rowans" },
{ name: "Trapper Gideon", url: "characters/trapper-gideon" },
{ name: "Elixir Specialist Bart", url: "characters/elixir-specialist-bart" },
{ name: "PokéCard Dealer William", url: "characters/pokecard-dealer-william" },
{ name: "Train Attendants", url: "characters/train-attendants" },
{ name: "Egg Exchange Breeders", url: "characters/egg-exchange-breeders" },
{ name: "Pokémart Clerks", url: "characters/pokemart-clerks" },
{ name: "Berry Stand Clerks", url: "characters/berry-stand-clerks" },
{ name: "Bandit Brigade Grunts", url: "characters/bandit-brigade-grunts" },
{ name: "Bandit Brigade ??????", url: "misc/%3F%3F%3F" },
{ name: "Wranglers", url: "characters/wranglers" },
{ name: "Rogue Rangers", url: "characters/rogue-rangers" },
{ name: "Wandering Duelist", url: "characters/wandering-duelist" },
{ name: "Nomad", url: "characters/nomad" },
{ name: "Miner", url: "characters/miner" },
{ name: "FAQ", url: "misc/faq" },
{ name: "Pokémon Drops", url: "misc/pokemondrops" },
{ name: "How to Play?", url: "misc/howtoplay" },
{ name: "Monsai", url: "misc/monsai" }
];
searchInput.addEventListener("input", function () {
const query = searchInput.value.toLowerCase().trim();
searchResults.innerHTML = "";
if (query === "") {
searchResults.style.display = "none";
return;
}
const matches = pages.filter((page) =>
page.name.toLowerCase().includes(query)
);
if (matches.length > 0) {
matches.forEach((match) => {
const resultItem = document.createElement("div");
resultItem.textContent = match.name;
resultItem.classList.add("search-result-item");
resultItem.onclick = () => (window.location.href = match.url);
searchResults.appendChild(resultItem);
});
} else {
const noResultItem = document.createElement("div");
noResultItem.textContent = "No results found!";
noResultItem.classList.add("search-result-item");
searchResults.appendChild(noResultItem);
}
searchResults.style.display = "block";
});
document.addEventListener("click", function (event) {
if (!searchInput.contains(event.target) && !searchResults.contains(event.target)) {
searchResults.style.display = "none";
}
});
</script>
</body>
</html>