-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththanks.html
66 lines (60 loc) · 2.13 KB
/
thanks.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Thank You for Inviting Seraphis!</title>
<link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
<link rel="stylesheet" href="/css/style.css">
<style>
body {
overflow-x: hidden;
}
.confetti {
position: absolute;
width: 10px;
height: 10px;
background-color: red;
animation: fall 5s infinite;
}
@keyframes fall {
0% {
transform: translateY(-100vh);
opacity: 1;
}
100% {
transform: translateY(100vh);
opacity: 0;
}
}
</style>
</head>
<body class="bg-gradient-to-b from-green-400 to-teal-500 text-white text-center flex flex-col justify-center items-center h-screen overflow-hidden">
<h1 class="text-6xl font-bold animate-bounce">🎉 Thank You for Inviting Seraphis! 🎉</h1>
<p class="text-2xl mt-4">We're excited to help you manage your server!</p>
<p>If you are here because no invite Seraphis, then click <a href="/sadge" class="text-blue-500">here</a>.</p>
<div class="mt-8">
<a href="/" class="px-6 py-3 bg-indigo-600 hover:bg-indigo-800 text-white rounded-full transition">Go to Homepage</a>
</div>
<div id="confetti-container"></div>
<audio id="tab-sound" src="https://www.soundjay.com/button/beep-07.wav"></audio>
<script>
function createConfetti() {
for (let i = 0; i < 150; i++) {
const confetti = document.createElement('div');
confetti.classList.add('confetti');
confetti.style.backgroundColor = `hsl(${Math.random() * 360}, 100%, 50%)`;
confetti.style.left = `${Math.random() * 100}vw`;
confetti.style.animationDuration = `${Math.random() * 3 + 2}s`;
document.getElementById('confetti-container').appendChild(confetti);
}
}
createConfetti();
// Trigger sound on user interaction
document.body.addEventListener('click', function() {
const sound = document.getElementById('tab-sound');
sound.play();
});
</script>
</body>
</html>