-
Notifications
You must be signed in to change notification settings - Fork 2
/
discord.html
263 lines (227 loc) · 8.28 KB
/
discord.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
<link rel="icon" type="image/png" href="/imgs/brunysixlfavicon.png">
<title id="dynamic-title">IXL | Contact</title>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body {
margin: 0;
padding: 0;
background-color: black;
}
canvas {
display: block;
position: absolute;
top: 0;
left: 0;
z-index: -1;
}
</style>
</head>
<body>
<canvas id="canvas"></canvas>
<script>
const canvas = document.getElementById('canvas');
const ctx = canvas.getContext('2d');
canvas.width = window.innerWidth;
canvas.height = document.documentElement.scrollHeight;
let particlesArray;
class Particle {
constructor(x, y, directionX, directionY, size, color) {
this.x = x;
this.y = y;
this.directionX = directionX;
this.directionY = directionY;
this.size = size;
this.color = color;
}
draw() {
ctx.beginPath();
ctx.arc(this.x, this.y, this.size, 0, Math.PI * 2, false);
ctx.fillStyle = this.color;
ctx.fill();
}
update() {
if (this.x + this.size > canvas.width || this.x - this.size < 0) {
this.directionX = -this.directionX;
}
if (this.y + this.size > canvas.height || this.y - this.size < 0) {
this.directionY = -this.directionY;
}
this.x += this.directionX;
this.y += this.directionY;
this.draw();
}
}
function init() {
particlesArray = [];
const numberOfParticles = 100;
for (let i = 0; i < numberOfParticles; i++) {
const size = Math.random() * 5 + 1;
const x = Math.random() * (innerWidth - size * 2) + size;
const y = Math.random() * (canvas.height - size * 2) + size;
const directionX = (Math.random() - 0.5) * 0.5;
const directionY = (Math.random() - 0.5) * 0.5;
const color = 'white';
particlesArray.push(new Particle(x, y, directionX, directionY, size, color));
}
}
function animate() {
requestAnimationFrame(animate);
ctx.clearRect(0, 0, innerWidth, canvas.height);
for (let i = 0; i < particlesArray.length; i++) {
particlesArray[i].update();
}
}
init();
animate();
window.addEventListener('resize', function () {
canvas.width = window.innerWidth;
canvas.height = document.documentElement.scrollHeight;
init();
});
canvas.addEventListener('click', function (event) {
const size = Math.random() * 5 + 1;
const x = event.clientX;
const y = event.clientY;
const directionX = (Math.random() - 0.5) * 0.5;
const directionY = (Math.random() - 0.5) * 0.5;
const color = 'white';
particlesArray.push(new Particle(x, y, directionX, directionY, size, color));
});
</script>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<style>
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
}
footer {
background-color: rgba(18, 18, 18, 0.90);
color: white;
text-align: center;
padding: 20px 0;
position: relative; /* Added for button positioning */
}
.footer-content {
display: flex;
justify-content: center;
align-items: center;
}
.footer-content img:first-child {
width: 50px;
height: 50px;
margin-right: 10px;
}
.footer-content img:last-child {
width: 140px;
height: 27.5px;
margin-left: 10px;
}
/* Style for the fullscreen button */
.fullscreen-button, .custom-button {
padding: 12px 22px;
background-color: black;
color: white;
border: 1px solid white;
border-radius: 10px;
cursor: pointer;
display: inline-block;
margin-right: 10px; /* Added for spacing */
margin-bottom: 10px; /* Added for spacing */
transition: transform 0.1s, box-shadow 0.3s;
}
/* Style for button hover effect */
.fullscreen-button:hover, .custom-button:hover {
transform: scale(1.1); /* Scale up on hover */
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* Add box shadow on hover */
}
/* Center the buttons */
#button-container {
display: flex;
justify-content: center;
align-items: center;
margin-top: 20px;
}
button {
padding: 12px 22px;
background-color: black;
color: white;
border: 1px solid white;
border-radius: 10px;
transition: transform 0.1s, box-shadow 0.3s;
}
button:hover {
transform: scale(1.1);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
</style>
</head>
<body>
<footer>
<div class="footer-content">
<img src="/imgs/brunysixlgif.gif" alt="brunysixl">
<img src="/imgs/brunysixlfont.png" alt="brunysixl">
</div>
</footer>
<div id="embed-container" style="height: calc(100vh - 267px);"> <!-- Adjusted height to make the iframe even smaller and fit within the page -->
<iframe src="https://e.widgetbot.io/channels/1212536662043791450/1212543243817058394" style="width:100%; height:100%; border:none;"></iframe>
</div>
<footer>
<div id="button-container"> <!-- Container for the buttons -->
<button id="fullscreen-enter" class="fullscreen-button">Fullscreen</button>
<button id="fullscreen-exit" class="fullscreen-button" style="display: none;">Exit Fullscreen</button>
<button id="new-button" class="custom-button">Return</button> <!-- New button -->
<button onclick="window.open('https://discord.gg/B9g34nd7yy');">Join The Discord</button>
</div>
</footer>
<script>
var fullscreenEnterButton = document.getElementById('fullscreen-enter');
var fullscreenExitButton = document.getElementById('fullscreen-exit');
fullscreenEnterButton.addEventListener('click', function() {
var element = document.documentElement;
if (element.requestFullscreen) {
element.requestFullscreen();
} else if (element.mozRequestFullScreen) { /* Firefox */
element.mozRequestFullScreen();
} else if (element.webkitRequestFullscreen) { /* Chrome, Safari and Opera */
element.webkitRequestFullscreen();
} else if (element.msRequestFullscreen) { /* IE/Edge */
element.msRequestFullscreen();
}
fullscreenEnterButton.style.display = 'none';
fullscreenExitButton.style.display = 'block';
});
fullscreenExitButton.addEventListener('click', function() {
if (document.exitFullscreen) {
document.exitFullscreen();
} else if (document.mozCancelFullScreen) { /* Firefox */
document.mozCancelFullScreen();
} else if (document.webkitExitFullscreen) { /* Chrome, Safari and Opera */
document.webkitExitFullscreen();
} else if (document.msExitFullscreen) { /* IE/Edge */
document.msExitFullscreen();
}
fullscreenEnterButton.style.display = 'block';
fullscreenExitButton.style.display = 'none';
});
// Add an event listener to the new button to redirect to another page
document.getElementById('new-button').addEventListener('click', function() {
window.location.href = '/'; // Change URL to the desired page
});
</script>
</body>
</html>
<link rel="icon" href="/imgs/brunysixlgif.gif">
<meta property="og:title" content="brunysixl. | Discord">
<meta name="theme-color" content="#000000">
<meta name="msapplication-TileColor" content="#000000">
<meta property="og:image" content="/imgs/brunysixlgif.gif">
<meta name="description" content="brunysixl is ovar 9000!!!">
<meta property="og:description" content="brunysixl. Find Awesome Stuff Online.">