forked from MarshMeadow/dantotustatic
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
530 lines (519 loc) · 28.7 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
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
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Jeanne</title>
<style>
/* Dark mode styles */
body {
background-color: #121212;
/* Dark background color */
color: #fff;
/* White text color */
}
.popup {
display: none;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: #333;
/* Darker background color */
padding: 20px;
border: 2px solid #ccc;
border-radius: 10px;
z-index: 1000;
}
.overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0,
0,
0,
0.7);
/* Darker semi-transparent black */
z-index: 999;
}
/* Square ring around the close button with rounded corners */
.close-button {
border: 2px solid #fff;
/* White border */
border-radius: 5px;
/* Rounded corners */
padding: 5px 10px;
/* Padding around the button */
background-color: transparent;
/* Transparent background */
color: #fff;
/* White text color */
cursor: pointer;
/* Cursor style */
}
.close-button:hover {
background-color: #fff;
/* White background color on hover */
color: #121212;
/* Dark text color on hover */
}
</style>
<script>
// Function to show the pop-up window and overlay
function showPopup() {
// Check if the flag 'popupShown' is not set in localStorage
if (!localStorage.getItem("popupShown")) {
// Show the pop-up window and overlay
document.getElementById("popup").style.display = "block";
document.getElementById("overlay").style.display = "block";
// Set the flag 'popupShown' in localStorage to indicate that the popup has been shown
localStorage.setItem("popupShown", "true");
}
}
// Function to close the pop-up window and overlay
function closePopup() {
document.getElementById("popup").style.display = "none";
document.getElementById("overlay").style.display = "none";
}
</script>
<style>
/* CSS Animation for shaking */
@keyframes shake {
0% {
transform: translateX(0);
}
25% {
transform: translateX(-5px) rotate(-1deg);
}
50% {
transform: translateX(5px) rotate(1deg);
}
75% {
transform: translateX(-5px) rotate(-1deg);
}
100% {
transform: translateX(0);
}
}
.shake:hover {
animation: shake 0.5s infinite;
}
</style>
</head>
<body onload="showPopup()">
<!-- Call the function when the page loads -->
<!-- Pop-up window -->
<div id="popup" class="popup">
<h2>Human Verification</h2>
<p>Please verify that you are not a bot.</p>
<!-- Add your verification form or any other content here -->
<button class="close-button" onclick="closePopup()"> Click Here To Verify </button>
<!-- Close button with square ring -->
</div>
<!-- Overlay -->
<div id="overlay" class="overlay"></div>
</body>
</html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="Discover our open-source mobile app designed for Anilist enthusiasts. Drawing inspiration from Saikou, our app is enriched with Tachi/Aniyomi extensions for an enhanced experience. Join us and dive into the world of Anime and Manga like never before!" />
<meta name="author" content="itsmechinmoy" />
<meta property="og:title" content="Jeanne" />
<meta property="og:description" content="Open source mobile Anilist client based off Saikou with Tachi/Aniyomi extensions" />
<meta name="keywords" content="Jeanne, saikou, anime, anime app, anime streaming app, anime extensions, aniyomi, tachiyomi, aniyomi extensions, tachiyomi extensions, manga reading app, manga extensions, anilist client, anilist, mal, myanimelist, best anime site, good anime site, best anime app, good anime app" />
<meta property="og:image" content="https://s4.anilist.co/file/anilistcdn/user/avatar/large/b6110204-X922sXE3M8RC.png" />
<meta property="og:url" content="/index" />
<link rel="apple-touch-icon" sizes="180x180" href="https://s4.anilist.co/file/anilistcdn/user/avatar/large/b6110204-X922sXE3M8RC.png" />
<link rel="icon" type="image/png" sizes="32x32" href="https://s4.anilist.co/file/anilistcdn/user/avatar/large/b6110204-X922sXE3M8RC.png" />
<link rel="icon" type="image/png" sizes="16x16" href="https://s4.anilist.co/file/anilistcdn/user/avatar/large/b6110204-X922sXE3M8RC.png" />
<link href="style.css" rel="stylesheet" type="text/css" />
<link rel="manifest" href="favicons/site.webmanifest" />
<meta name="msapplication-TileColor" content="#da532c" />
<meta name="theme-color" content="#b24b60" />
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://kit.fontawesome.com/0a1007e48a.js" crossorigin="anonymous"></script>
<title>Jeanne</title>
</head>
<style>
html,
body {
overflow-x: hidden;
scroll-behavior: smooth;
}
</style>
<body class="bg-indigo-950">
<!-- NAVBAR -->
<nav class="bg-slate-950 bg-opacity-0 transition bg-transition text-white p-2 fixed w-full z-40">
<div class="container mx-auto flex justify-between">
<div class="flex items-center">
<a href="javascript:void(0);" onclick="incrementCounter()" class="text-2xl font-bold">
<img src="https://s4.anilist.co/file/anilistcdn/user/avatar/large/b6110204-X922sXE3M8RC.png" alt="Jeanne" class="h-10 transition-opacity hover:opacity-80" />
</a>
<script>
// Retrieve counter value from sessionStorage or default to 0
var cursedCounter = parseInt(sessionStorage.getItem("cursedCounter")) || 0;
function incrementCounter() {
cursedCounter++;
if (cursedCounter % 3 === 0) {
// Redirect to rickroll video
window.location.href = "https://www.youtube.com/watch?v=dQw4w9WgXcQ";
// Reset counter after redirect
sessionStorage.removeItem("cursedCounter");
} else {
// Store the updated counter value in sessionStorage
sessionStorage.setItem("cursedCounter", cursedCounter);
// Reload the page
window.location.reload(true);
}
}
</script>
<small class="text-xs ml-2"></small>
</div>
<div class="flex items-center">
<!-- <div class="relative group"><button id="languageDropdown" class="mr-4 transition-colors hover:text-purple-500"><i class="fa-solid fa-globe"></i></button><ul id="languageOptions" class="absolute hidden bg-white text-black p-2 space-y-1 rounded-lg shadow-md right-0 mt-3"><button class="language-button" data-lang="en">English</button><button class="language-button" data-lang="hi">Hindi</button><button class="language-button" data-lang="es">Spanish</button></ul></div> -->
<!--<a href="https://www.buymeacoffee.com/rebelonion" class="mr-4 transition-colors hover:text-purple-500">
<i class="fa-solid fa-mug-saucer"></i>
</a>
<a href="https://discord.com/invite/4HPZ5nAWwM" class="mr-4 transition-colors hover:text-purple-500">
<i class="fa-brands fa-discord"></i>
</a>
<a href="https://t.me/+gzBCQExtLQo1YTNh" class="mr-4 transition-colors hover:text-purple-500">
<i class="fa-brands fa-telegram"></i>
</a>
<a href="https://github.com/rebelonion/Dantotsu" class="mr-4 transition-colors hover:text-purple-500">
<i class="fa-brands fa-github"></i>
</a>-->
</div>
</div>
</nav>
<!-- HERO -->
<section id="hero" class="text-white py-20 h-screen shadow-lg relative" style="
background-image: url('images/ei_1698849603612-removebg-preview-1.png');
background-size: cover;
background-position: center;
">
<div class="container h-full mx-auto flex flex-col justify-center items-center relative z-10">
<div class="text-center">
<h1 class="text-5xl font-bold" data-lang="en">Jeanne</h1>
<h1 class="text-5xl font-bold" data-lang="hi" style="display: none"> दंतोत्सु </h1>
<h1 class="text-5xl font-bold" data-lang="es" style="display: none"> Jeanne en Español </h1>
<h2 class="text-2xl font-bold" data-lang="en"> Read & Watch Anywhere </h2>
<h2 class="text-2xl font-bold" data-lang="hi" style="display: none"> कहीं भी पढ़ें और देखें </h2>
<h2 class="text-2xl font-bold" data-lang="es" style="display: none"> Leer y Ver en Cualquier Lugar </h2>
<p class="text-sm" data-lang="en"> An open-source mobile application for Anilist enthusiasts, inspired by Saikou and enhanced with Tachi/Aniyomi extensions. </p>
<p class="text-sm" data-lang="hi" style="display: none"> दंतोत्सु, एक Anilist प्रेमियों के लिए एक ओपन सोर्स मोबाइल एप्लिकेशन है, जिसे सायकू से प्रेरित किया गया है और टाची/आनियोमी एक्सटेंशन्स के साथ बढ़ाया गया है। </p>
<p class="text-sm" data-lang="es" style="display: none"> Una aplicación móvil de código abierto para entusiastas de Anilist, inspirada en Saikou y mejorada con extensiones de Tachi/Aniyomi. </p>
<div class="flex flex-col justify-center items-center mt-8 space-y-4">
<!-- download button -->
<a href="/install" class="text-white bg-gradient-to-r from-purple-500 to-pink-500 hover:bg-gradient-to-l focus:ring-4 focus:outline-none focus:ring-purple-200 dark:focus:ring-purple-800 rounded-full py-3 px-10 font-bold">Install</a>
</div>
<div class="flex justify-center items-center mt-8 space-x-4">
<!-- Fork button-->
<a href="https://github.com/MrBoomDeveloper/Awery" class="bg-purple-950 hover:bg-purple-600 text-white font-bold py-3 px-6 rounded-full font-bold transition-colors">Forks</a>
<!-- view features button -->
<a href="#features" class="bg-purple-950 hover:bg-purple-600 text-white font-bold py-3 px-6 rounded-full font-bold transition-colors">Features</a>
</div>
</div>
</div>
</div>
<div id="opbg" class="absolute inset-0 bg-black bg-opacity-80 transition-colors"></div>
</section>
<!-- FEATURE 1 -->
<section class="text-white py-8 shadow-md" id="features" style="background-color: #d788c0;">
<div class="container mx-auto px-4 flex flex-col md:flex-row md:items-center md:justify-between">
<!-- Box one, feature description -->
<div class="md:w-1/2 md:pr-4 mb-4 md:mb-0">
<h2 class="text-3xl font-bold mb-2">Catch Up On Your Favorites!</h2>
<p class="text-lg">Jeanne is designed for anime and manga enthusiasts who want to catch up on their favorite series. It's a user-friendly app that lets you enjoy your "favorite" anime and manga on the go. With integrated Anilist support, you can easily track your progress and stay up to date with what your friends are watching and reading. </p>
</div>
<!-- Box two, image of feature -->
<div class="md:w-1/2 md:w-1/4">
<img src="images/Screenshot_20231031-130249_Dantotsu-portrait.png" alt="Feature Screenshot" class="w-full h-auto" />
</div>
</div>
</section>
<!-- FEATURE 2 -->
<section class="bg-purple-950 text-white py-8" id="section2" style="background-color: #f16e93;">
<div class="container mx-auto px-4 flex flex-col md:flex-row md:items-center md:justify-between">
<!-- For mobile, text on top and image below -->
<div class="md:hidden">
<h2 class="text-3xl font-bold mb-2"> Everything Is In Your Finger-tips! </h2>
<p class="text-lg"> Say goodbye to the hassle of opening a browser to search for your favorite anime or manga. Jeanne, a versatile client built upon Anilist & Tachi/Aniyomi. You can have Aniwave for anime watching and Mangadex for reading manga, puts everything you need right at your fingertips. There's no need to leave the app; just install it, and everything you love magically appears when you're ready to explore and discover new content. </p>
</div>
<div class="md:hidden">
<img src="images/Screenshot_20231031-132510_Dantotsu-portrait.png" alt="Feature Screenshot" class="w-full h-auto" />
</div>
<!-- Box two, image of feature (image on the left for desktop) -->
<div class="md:w-1/2 md:w-1/4 hidden md:block">
<img src="images/Screenshot_20231031-132510_Dantotsu-portrait.png" alt="Feature Screenshot" class="w-full h-auto" />
</div>
<!-- Box one, feature description (text on the right for desktop) -->
<div class="md:w-1/2 md:pl-4 mb-4 md:mb-0 hidden md:block">
<h2 class="text-3xl font-bold mb-2"> Everything Is In Your Finger-tips! </h2>
<p class="text-lg"> Say goodbye to the hassle of opening a browser to search for your favorite anime or manga. Jeanne, a versatile client built upon Anilist & Tachi/Aniyomi. You can have Aniwave for anime watching and Mangadex for reading manga, puts everything you need right at your fingertips. There's no need to leave the app; just install it, and everything you love magically appears when you're ready to explore and discover new content. </p>
</div>
</div>
</section>
<!--Feature 3-->
<section class="text-white py-8" id="section1" style="background-color: #d788c0;">
<div class="container mx-auto px-4 flex flex-col md:flex-row md:items-center md:justify-between">
<!-- Box one, feature description -->
<div class="md:w-1/2 md:pr-4 mb-4 md:mb-0">
<h2 class="text-3xl font-bold mb-2">Make Jeanne Yours!</h2>
<p class="text-lg"> Jeanne is designed to offer a customizable experience. With a growing collection of materials that include three themes and more (according to the latest version), you can personalize your app to match your preferences. Not only can you change the theme to your liking, but you can also select your favorite anime character as the app icon. Additionally, you have the option to customize your home page, allowing you to choose the content that matters most to you. </p>
</div>
<!-- Box two, image of feature -->
<div class="md:w-1/2 md:w-1/4">
<img src="images/Screenshot_20231029_232053_Dantotsu-portrait.png" alt="Feature Screenshot" class="w-full h-auto" />
</div>
</div>
</section>
<!-- Review Section-->
<section class="py-8 text-white" style="background-color: #d788c0;">
<div class="container mx-auto p-4">
<button type="button" id="collapsible" class="text-lg mb-2 font-bold bg-black text-white hover:bg-gray-900 focus:outline-none py-4 px-4 w-full rounded-md shadow-lg text-center"> Reviews for Jeanne </button>
<div id="content" class="p-4 text-white bg-black hidden rounded-md shadow-lg">
<div class="bg-black p-4 rounded-lg shadow-xl text-white">
<div class="flex items-center mb-2">
<img src="https://avatars.githubusercontent.com/u/138523882?v=4" alt="Reviewer Avatar" class="w-12 h-12 rounded-full" />
<p class="text-lg font-bold ml-2">zaxx_69</p>
</div>
<p class="text-white-600"> "The UI of this app is peak, and the support of the dev is also good. The ability to watch and read anime/manga in one app with good UI is rare nowadays. It also supports blazingly fast streaming and downloading. The Anilist support of the app helps me track all my anime/manga. The extension support along with tweaks is nothing short of amazing. Glad to be a user of this app." </p>
<hr class="my-4" />
<div class="flex items-center mb-2">
<img src="https://cdn.discordapp.com/avatars/1136631037686992936/04211ea9e9bea29afae3ed8ec83dadd1.webp?size=80" alt="Reviewer Avatar" class="w-12 h-12 rounded-full" />
<p class="text-lg font-bold ml-2">jotaro_4k20</p>
</div>
<p class="text-white-600"> "One of the best anime streaming and manga reading app out there ! The anime episodes loads in a flash ....and also the UI of the app is dope 🔥 ! A 10/10 app for animangas 😉" </p>
<hr class="my-4" />
<div class="flex items-center mb-2">
<img src="https://cdn.discordapp.com/avatars/765503027561758740/cdd98823d776b5673d550bb579ce749e.png?size=1024" alt="Reviewer Avatar" class="w-12 h-12 rounded-full" />
<p class="text-lg font-bold ml-2">professor_x_47</p>
</div>
<p class="text-white-600"> "I knew nothing about anime or Manga yesterday, but today I downloaded this app and its really good, the community is super friendly too, 10/10 of course...🤍 " </p>
<hr class="my-4" />
<div class="flex items-center mb-2">
<img src="https://cdn.discordapp.com/avatars/425920277638021120/e13e20368ea6eed7fdea3bd91b818d60.webp?size=1024&format=webp&width=0&height=320" alt="Reviewer Avatar" class="w-12 h-12 rounded-full" />
<p class="text-lg font-bold ml-2">iftekhar994</p>
</div>
<p class="text-white-600"> " I honestly couldn't find anything to complain about this app. This is such a good app. 10/10 " </p>
<hr class="my-4" />
<div class="flex items-center mb-2">
<img src="https://cdn.discordapp.com/avatars/119851802479951874/ce8ef248f1fb22d35d2ee5b141a6fedf.png?size=1024" alt="Reviewer Avatar" class="w-12 h-12 rounded-full" />
<p class="text-lg font-bold ml-2">thetruedondotta</p>
</div>
<p class="text-white-600"> "good app 9/10 sharing to all my friends 😁" </p>
<hr class="my-4" />
<h6 class="text-center mt-4"> Want to leave a review? Join our <a href="https://discord.com/invite/4HPZ5nAWwM" class="text-purple-500 hover:text-purple-600">Discord</a>! </h6>
</div>
</div>
</div>
</section>
<!--Staff popup-->
<div id="staffPopup" class="fixed inset-0 z-50 flex items-center justify-center hidden rounded-md">
<div class="bg-slate-800 p-4 md:mx-4 rounded-lg shadow-lg w-full md:w-auto max-h-[80vh] overflow-y-auto">
<div class="text-right">
<button id="closePopup" class="text-white hover:text-gray-500 text-xl p-4">
<i class="fa-solid fa-times"></i>
</button>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div class="bg-slate-900 p-4 rounded-lg shadow-md">
<img src="https://avatars.githubusercontent.com/u/87634197?v=4" alt="Rebel Union" class="w-20 h-20 rounded-full mb-2 shake" id="rebelOnionAvatarPopup" />
<p class="text-lg text-purple-600 font-bold mb-2" id="rebelOnionName"> Rebel Onion </p>
<p class="text-gray-500" id="rebelOnionDesc">Creator of Jeanne</p>
<div class="flex items-center mt-4">
<a href="https://www.buymeacoffee.com/rebelonion" class="mr-4 text-white hover:text-purple-500">
<i class="fa-solid fa-mug-saucer"></i>
</a>
<a href="https://www.github.com/rebelonion" class="mr-4 text-white hover:text-purple-500">
<i class="fa-brands fa-github"></i>
</a>
<a href="https://discordapp.com/users/714249925248024617" class="mr-4 text-white hover:text-purple-500">
<i class="fa-brands fa-discord"></i>
</a>
</div>
</div>
<script>
document.addEventListener("DOMContentLoaded", function() {
// Initial values
const originalName = "Rebel Onion";
const originalDesc = "Creator of Jeanne";
const originalAvatarSrc = "https://avatars.githubusercontent.com/u/87634197?v=4";
let hoverCount = 0;
let shakeCount = 0;
// Function to start shaking the avatar
function shakeAvatar() {
document.getElementById("rebelOnionAvatarPopup").classList.add("shake");
setTimeout(function() {
document.getElementById("rebelOnionAvatarPopup").classList.remove("shake");
}, 500); // Stop shaking after 0.5 seconds
}
function triggerEasterEgg() {
console.log("Easter egg triggered!"); // Check if this message appears in the console
document.getElementById("rebelOnionName").textContent = "Miku is Love❤️❤️❤️";
document.getElementById("rebelOnionDesc").textContent = "Worlds No 1 Hatsune Miku Fan";
}
// Reset counts and enable shaking when the popup is opened
function resetCountsAndShaking() {
hoverCount = 0;
shakeCount = 0;
}
// Event handler for mouseover event on the avatar
function handleHover() {
if (hoverCount < 3) {
hoverCount++;
shakeAvatar();
if (hoverCount === 3) {
triggerEasterEgg();
}
}
}
// Event handler for click event on the avatar (for mobile devices)
function handleClick() {
if (shakeCount < 3) {
shakeCount++;
shakeAvatar();
if (shakeCount === 3) {
triggerEasterEgg();
}
}
}
// Open the staff showcase popup
document.getElementById("openPopup").addEventListener("click", function() {
document.getElementById("staffPopup").classList.remove("hidden");
resetCountsAndShaking(); // Reset counts and enable shaking
// Enable shaking on the profile picture
document.getElementById("rebelOnionAvatarPopup").addEventListener("mouseover", handleHover);
// Enable shaking on mobile devices by clicking the profile picture
let isMobile = /iPhone|iPad|iPod|Android/i.test(navigator.userAgent);
if (isMobile) {
document.getElementById("rebelOnionAvatarPopup").addEventListener("click", handleClick);
}
});
// Close the staff showcase popup
document.getElementById("closePopup").addEventListener("click", function() {
document.getElementById("staffPopup").classList.add("hidden");
// Reset elements to their original values
document.getElementById("rebelOnionName").textContent = originalName;
document.getElementById("rebelOnionDesc").textContent = originalDesc;
document.getElementById("rebelOnionAvatarPopup").src = originalAvatarSrc;
// Remove event listeners
document.getElementById("rebelOnionAvatarPopup").removeEventListener("mouseover", handleHover);
document.getElementById("rebelOnionAvatarPopup").removeEventListener("click", handleClick);
});
});
</script>
<div class="bg-slate-900 p-4 rounded-lg shadow-md">
<img src="https://avatars.githubusercontent.com/u/167056923?v=4" alt="aayush262" class="w-20 h-20 rounded-full mb-2" />
<p class="text-lg text-purple-600 font-bold mb-2">Itsmechinmoy</p>
<p class="text-gray-500">I'm a master of hiding Easter eggs! Think you've got what it takes to uncover it on the site? It's like a digital treasure hunt with a mischievous twist!</p>
<div class="flex items-center mt-4">
<a href="https://github.com/u/itsmechinmoy" class="mr-4 text-white hover:text-purple-500">
<i class="fa-brands fa-github"></i>
</a>
<a href="https://discord.com/users/523539866311720963" class="mr-4 text-white hover:text-purple-500">
<i class="fa-brands fa-discord"></i>
</a>
</div>
</div>
</div>
</div>
</div>
<!-- FOOTER -->
<footer class="bg-slate-950 text-white py-4">
<div class="container mx-auto flex flex-col md:flex-row md:items-center md:justify-between">
<div class="md:w-full text-center md:text-left mb-2 md:mb-0">
<p class="text-sm">
<i class="fa-solid fa-code"></i> with <i class="fa-solid fa-heart"></i> by Jeanne Contributors
</p>
</div>
<p>
<center>
<!--<a href="https://pastebin.com/raw/M0nTU8Bg">DMCA</a> • <a href="https://www.buymeacoffee.com/rebelonion">Donate</a> • <a href="https://discord.com/invite/4HPZ5nAWwM">Discord</a> • <a href="https://t.me/+gzBCQExtLQo1YTNh">Telegram</a> • <a href="https://github.com/rebelonion/Dantotsu">Github</a>-->
</center>
</p>
<div class="md:w-full text-center md:text-right">
<button id="openPopup" class="bg-purple-500 hover:bg-purple-600 text-white font-bold py-2 px-4 rounded-full"> Credits </button>
</div>
</div>
</footer>
</body>
<script>
// navbar
window.addEventListener("scroll", function() {
const navbar = document.querySelector("nav");
if (window.scrollY > 0) {
navbar.classList.add("bg-opacity-80");
} else {
navbar.classList.remove("bg-opacity-80");
}
});
// // JavaScript to handle the language dropdown
// const languageDropdown = document.getElementById('languageDropdown');
// const languageOptions = document.getElementById('languageOptions');
// // Toggle the visibility of language options when the dropdown button is clicked
// languageDropdown.addEventListener('click', () => {
// languageOptions.classList.toggle('hidden');
// });
// // // Close the language options when a language is selected
// // const languageLinks = languageOptions.querySelectorAll('a');
// languageLinks.forEach((link) => {
// link.addEventListener('click', () => {
// languageOptions.classList.add('hidden');
// });
// });
// // Close the language options when clicking outside of the dropdown
// window.addEventListener('click', (event) => {
// if (!languageDropdown.contains(event.target) && !languageOptions.contains(event.target)) {
// languageOptions.classList.add('hidden');
// }
// });
// const languageButtons = document.querySelectorAll('.language-button');
// Change the language when a language button is clicked
// keep the language buttons unhidden
// languageButtons.forEach((button) => {
// button.addEventListener('click', () => {
// const language = button.dataset.lang;
// const elements = document.querySelectorAll(`[data-lang]`);
// elements.forEach((element) => {
// element.style.display = 'none';
// });
// const elementsToShow = document.querySelectorAll(`[data-lang=${language}]`);
// elementsToShow.forEach((element) => {
// element.style.display = 'block';
// });
// });
// });
// hero
window.addEventListener("scroll", function() {
const opbg = document.querySelector("#opbg");
if (window.scrollY > 600) {
opbg.classList.add("bg-opacity-100");
} else {
opbg.classList.remove("bg-opacity-100");
}
});
// Open the staff showcase popup
document.getElementById("openPopup").addEventListener("click", function() {
document.getElementById("staffPopup").classList.remove("hidden");
});
// Close the staff showcase popup
document.getElementById("closePopup").addEventListener("click", function() {
document.getElementById("staffPopup").classList.add("hidden");
});
// reviews
const collapsibleButton = document.getElementById("collapsible");
const content = document.getElementById("content");
let isContentVisible = false;
collapsibleButton.addEventListener("click", function() {
isContentVisible = !isContentVisible;
content.style.display = isContentVisible ? "block" : "none";
});
</script>
</html>