Repository navigation
Expand file tree
/
Copy pathA-I-M.html
More file actions
306 lines (264 loc) · 8.96 KB
/
Copy pathA-I-M.html
File metadata and controls
306 lines (264 loc) · 8.96 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>A-I-M</title>
<style>
@font-face {
font-family: 'NintendoFont';
src: url('nintendo_u.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #0f0f11;
color: #ffffff;
margin: 0;
padding: 20px;
display: flex;
flex-direction: column;
align-items: center;
}
.header-section {
text-align: center;
margin-bottom: 25px;
width: 100%;
max-width: 1200px;
}
.banner-img {
max-width: 200px;
width: 100%;
height: auto;
border-radius: 10px;
margin-bottom: 15px;
}
h1 {
font-family: 'NintendoFont', sans-serif;
font-size: 2.5rem;
margin: 0;
letter-spacing: 1px;
text-transform: uppercase;
}
.subtitle {
color: #a0a0b0;
font-size: 0.95rem;
margin: 8px 0 15px 0;
font-weight: bold;
}
.counter-badge {
display: inline-block;
border: 2px solid #00ff00;
border-radius: 25px;
padding: 6px 16px;
font-weight: bold;
font-size: 0.95rem;
background-color: #000000;
}
.counter-label {
color: #00ff00;
}
.counter-number {
color: #ffffff;
}
.meme-container {
display: grid;
/* Forces exactly 3 equal columns maximum on wide screens, wraps nicely on small screens */
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
max-width: 800px; /* Constrains total grid width so a 4th card can't fit */
gap: 15px;
width: 100%;
margin-top: 15px;
}
.meme-card {
background-color: #1a1a1c;
border-radius: 10px;
padding: 15px;
text-align: center;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
display: flex;
flex-direction: column;
justify-content: space-between;
box-sizing: border-box;
}
.meme-card h2 {
font-family: 'NintendoFont', sans-serif;
margin: 0;
font-size: 1.4rem;
letter-spacing: 1px;
/* Forces titles to wrap cleanly within the border */
overflow-wrap: break-word;
word-wrap: break-word;
word-break: break-word;
}
.meme-card p.reason {
color: #888888;
font-size: 0.85rem;
font-weight: bold;
margin: 6px 0 12px 0;
/* Forces reason text to stay bounded inside the card border */
overflow-wrap: break-word;
word-wrap: break-word;
word-break: break-word;
max-width: 100%;
}
.meme-image-wrapper {
background-color: #0a0a0a;
border-radius: 6px;
height: 180px;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
color: #ff5555;
font-weight: bold;
font-size: 0.85rem;
width: 100%;
}
.meme-image-wrapper img {
max-width: 100%;
max-height: 100%;
width: auto;
height: auto;
object-fit: contain;
border-radius: 6px;
}
.pagination {
margin: 30px 0;
display: flex;
justify-content: center;
align-items: center;
gap: 12px;
}
.pagination button {
color: #fff;
background-color: #5865F2;
padding: 8px 16px;
border: none;
border-radius: 5px;
font-weight: bold;
cursor: pointer;
font-size: 0.9rem;
transition: background 0.2s;
}
.pagination button:hover {
background-color: #4752C4;
}
.pagination button:disabled {
background-color: #2a2a2a;
color: #666;
cursor: not-allowed;
}
.pagination span {
font-size: 0.9rem;
color: #aaa;
font-weight: bold;
}
footer {
margin-top: 20px;
padding: 20px 0;
width: 100%;
text-align: center;
border-top: 1px solid #222;
}
.discord-btn {
display: inline-flex;
align-items: center;
gap: 8px;
background-color: #5865F2;
color: white;
text-decoration: none;
padding: 10px 20px;
border-radius: 6px;
font-weight: bold;
font-size: 0.9rem;
transition: background 0.2s;
}
.discord-btn:hover {
background-color: #4752C4;
}
.discord-icon {
width: 20px;
height: 20px;
fill: currentColor;
}
</style>
</head>
<body>
<div class="header-section">
<img src="top-banner.png" alt="Meme Archive Banner" class="banner-img">
<h1>Anti-Innersloth Movement (AIM)</h1>
<p class="subtitle">For years, Innersloth, the company behind the indie game Among Us, has failed to take acountability for their platform, leaving thousands of minors exposed to dangerous content. The main issue is: dating, rapists , and pedophiles sweeping in thousands of lobbies to harm more victims by moving them to places like Snapchat, Telegram, and Discord. This server aims to archive and make sure Innersloth is held legally accountable, or at the least shine light on the situation as it has been under the roof for years. This website is not affiliated with Innersloth or Among Us.</p>
<div class="counter-badge">
<span class="counter-label">LOGGED DATERS:</span>
<span class="counter-number" id="total-count">000</span>
</div>
</div>
<div class="meme-container" id="meme-container"></div>
<div class="pagination">
<button id="prev-btn" disabled>Previous</button>
<span id="page-info">Page 1 of 1</span>
<button id="next-btn" disabled>Next</button>
</div>
<footer>
<p style="color: #aaa; margin-bottom: 15px; font-weight: bold;">Want to support us or contact us?</p>
<a href="https://discord.gg/DGPRGgrpVT" target="_blank" class="discord-btn">
<svg class="discord-icon" viewBox="0 0 127.14 96.36" xmlns="http://www.w3.org/2000/svg">
<path d="M107.7,8.07A105.15,105.15,0,0,0,77.26,0a77.19,77.19,0,0,0-3.3,6.83A96.67,96.67,0,0,0,53.22,6.83,77.19,77.19,0,0,0,49.88,0,105.15,105.15,0,0,0,19.44,8.07C3.66,31.58-1.86,54.65,1,77.53A105.73,105.73,0,0,0,32,96.36a74.37,74.37,0,0,0,6.66-10.85,68.43,68.43,0,0,1-10.5-5c.88-.65,1.72-1.33,2.53-2A75.52,75.52,0,0,0,96.48,78.5a68.43,68.43,0,0,1-10.5,5,74.37,74.37,0,0,0,6.66,10.85,105.73,105.73,0,0,0,31.06-18.83C129.93,50.55,123.93,27.78,107.7,8.07ZM42.45,65.69C36.18,65.69,31,60,31,53S36.18,40.36,42.45,40.36,53.88,46,53.88,53,48.72,65.69,42.45,65.69Zm42.24,0C78.41,65.69,73.24,60,73.24,53S78.41,40.36,84.69,40.36,96.12,46,96.12,53,91,65.69,84.69,65.69Z"/>
</svg>
Join Our Discord
</a>
</footer>
<script>
const API_URL = "https://aim-bot-if6s.onrender.com/api/reports";
let allMemes = [];
let currentPage = 1;
const itemsPerPage = 9;
async function loadMemes() {
try {
const response = await fetch(API_URL);
if (!response.ok) throw new Error("Backend connection failed");
allMemes = await response.json();
document.getElementById('total-count').innerText = String(allMemes.length).padStart(3, '0');
renderPage(1);
} catch (error) {
console.error("Error loading data from API:", error);
document.getElementById('meme-container').innerHTML = '<p style="color: #ff5555; font-weight: bold; grid-column: 1/-1;">Failed to load server data.</p>';
}
}
function renderPage(page) {
currentPage = page;
const container = document.getElementById('meme-container');
container.innerHTML = '';
const totalPages = Math.ceil(allMemes.length / itemsPerPage) || 1;
const startIndex = (page - 1) * itemsPerPage;
const endIndex = startIndex + itemsPerPage;
const pageItems = allMemes.slice(startIndex, endIndex);
pageItems.forEach(meme => {
const card = document.createElement('div');
card.className = 'meme-card';
card.innerHTML = `
<h2>${meme.name || 'Untitled'}</h2>
<p class="reason">Reason: ${meme.reason || 'None provided'}</p>
<div class="meme-image-wrapper">
<img src="${meme.imageUrl || meme.image || ''}" alt="Failed to display image" onerror="this.style.display='none'; this.parentElement.innerText='Failed to display image';">
</div>
`;
container.appendChild(card);
});
document.getElementById('page-info').innerText = `Page ${currentPage} of ${totalPages}`;
document.getElementById('prev-btn').disabled = currentPage <= 1;
document.getElementById('next-btn').disabled = currentPage >= totalPages;
}
document.getElementById('prev-btn').addEventListener('click', () => {
if (currentPage > 1) renderPage(currentPage - 1);
});
document.getElementById('next-btn').addEventListener('click', () => {
const totalPages = Math.ceil(allMemes.length / itemsPerPage) || 1;
if (currentPage < totalPages) renderPage(currentPage + 1);
});
loadMemes();
</script>
</body>
</html>