-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
264 lines (243 loc) · 8.22 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>chompyweb</title>
<script src="https://unpkg.com/@tailwindcss/browser@4"></script>
<script src="https://cdn.jsdelivr.net/particles.js/2.0.0/particles.min.js"></script>
<style>
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(to right, #E60001, #FF8B01);
color: #fff;
margin: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
text-align: center;
position: relative;
}
h1 {
font-size: 3em;
margin-bottom: 1em;
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}
.dropdown {
margin: 1em 0;
}
.dropdown a {
background-color: rgba(255, 255, 255, 0.1);
color: white;
padding: 15px 30px;
text-decoration: none;
display: inline-block;
font-size: 18px;
border-radius: 8px;
transition: background-color 0.3s, transform 0.3s;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.dropdown a:hover {
background-color: rgba(255, 255, 255, 0.2);
transform: translateY(-5px);
}
.btn-github {
cursor: pointer;
display: flex;
gap: 0.5rem;
border: none;
transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
border-radius: 100px;
font-weight: 800;
place-content: center;
padding: 0.75rem 1rem;
font-size: 0.825rem;
line-height: 1rem;
background-color: rgba(0, 0, 0, 0.4);
box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.04), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
color: #fff;
position: absolute;
bottom: 20px;
right: 20px;
}
.btn-github:hover {
box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.08), inset 0 0 0 1px rgba(252, 232, 3, 0.08);
color: #fce803;
transform: translate(0, -0.25rem);
background-color: rgba(0, 0, 0, 0.5);
}
#particles-js {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1; /* Place behind all content */
}
.datetime {
position: absolute;
top: 10px;
right: 10px;
font-size: 20px;
font-weight: bold;
}
/* From Uiverse.io by lenfear23 edited a bit */
.cloakbutton {
position: absolute;
top: 10px;
left: 10px;
height: 120px;
width: 120px;
border-radius: 10px;
background: #333;
justify-content: center;
align-items: center;
box-shadow: -5px -5px 15px #444, 5px 5px 15px #222, inset 5px 5px 10px #444,
inset -5px -5px 10px #222;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
cursor: pointer;
border: none;
font-size: 16px;
color: rgb(161, 161, 161);
transition: 500ms;
}
.cloakbutton:hover {
box-shadow: -5px -5px 15px #444, 5px 5px 15px #222, inset 5px 5px 10px #222,
inset -5px -5px 10px #444;
color: #d6d6d6;
transition: 500ms;
}
#quote {
position: fixed;
bottom: 10px;
left: 10px;
color: white;
font-weight: bold;
padding: 10px;
border-radius: 5px;
opacity: 0;
transition: opacity 1.5s ease-in-out;
}
</style>
</head>
<body>
<div id="particles-js"></div>
<h1><b>chompyweb</b></h1>
<div class="datetime" id="datetime"></div>
<button class="cloakbutton" onclick="openCloaker()">Open Cloaker (you must allow pop-ups and redirects)</button>
<div class="dropdown">
<a href="weather.html">Weather</a>
</div>
<div class="dropdown">
<a href="chat.html">Chat</a>
</div>
<div class="dropdown">
<a href="games.html">Games</a>
</div>
<div class="dropdown">
<a href="emulator.html">Emulator</a>
</div>
<div class="dropdown">
<a href="i.html">Chompysurf</a>
</div>
<div class="dropdown">
<a href="win11.html">Windows 11</a>
</div>
<a href="https://github.com/chompypotato/chompyweb" class="btn-github">
<svg
width="16"
height="16"
viewBox="0 0 16 16"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M7.99992 1.33331C7.12444 1.33331 6.25753 1.50575 5.4487 1.84078C4.63986 2.17581 3.90493 2.66688 3.28587 3.28593C2.03563 4.53618 1.33325 6.23187 1.33325 7.99998C1.33325 10.9466 3.24659 13.4466 5.89325 14.3333C6.22659 14.3866 6.33325 14.18 6.33325 14C6.33325 13.8466 6.33325 13.4266 6.33325 12.8733C4.48659 13.2733 4.09325 11.98 4.09325 11.98C3.78659 11.2066 3.35325 11 3.35325 11C2.74659 10.5866 3.39992 10.6 3.39992 10.6C4.06659 10.6466 4.41992 11.2866 4.41992 11.2866C4.99992 12.3 5.97992 12 6.35992 11.84C6.41992 11.4066 6.59325 11.1133 6.77992 10.9466C5.29992 10.78 3.74659 10.2066 3.74659 7.66665C3.74659 6.92665 3.99992 6.33331 4.43325 5.85998C4.36659 5.69331 4.13325 4.99998 4.49992 4.09998C4.49992 4.09998 5.05992 3.91998 6.33325 4.77998C6.85992 4.63331 7.43325 4.55998 7.99992 4.55998C8.56659 4.55998 9.13992 4.63331 9.66659 4.77998C10.9399 3.91998 11.4999 4.09998 11.4999 4.09998C11.8666 4.99998 11.6333 5.69331 11.5666 5.85998C11.9999 6.33331 12.2533 6.92665 12.2533 7.66665C12.2533 10.2133 10.6933 10.7733 9.20659 10.94C9.44659 11.1466 9.66659 11.5533 9.66659 12.1733C9.66659 13.0666 9.66659 13.7866 9.66659 14C9.66659 14.18 9.77325 14.3933 10.1133 14.3333C12.7599 13.44 14.6666 10.9466 14.6666 7.99998C14.6666 7.1245 14.4941 6.25759 14.1591 5.44876C13.8241 4.63992 13.333 3.90499 12.714 3.28593C12.0949 2.66688 11.36 2.17581 10.5511 1.84078C9.7423 1.50575 8.8754 1.33331 7.99992 1.33331V1.33331Z"
fill="currentcolor"
></path>
</svg>
<span>View on Github</span>
</a>
<div id="quote"></div>
<script>
particlesJS('particles-js', {
particles: {
number: { value: 50 },
color: { value: "#000000" },
shape: { type: "circle" },
opacity: { value: 0.5 },
size: { value: 4 },
line_linked: {
enable: true,
distance: 150,
color: "#000000",
opacity: 0.4,
width: 1,
},
move: {
enable: true,
speed: 3,
},
},
interactivity: {
detect_on: "window",
events: {
onhover: { enable: true, mode: "grab" },
onclick: { enable: true, mode: "push" },
},
},
retina_detect: true,
});
</script>
<script>
function updateDateTime() {
const now = new Date();
const formattedDate = now.toLocaleDateString();
const formattedTime = now.toLocaleTimeString();
document.getElementById('datetime').textContent = formattedDate + ' ' + formattedTime;
}
setInterval(updateDateTime, 1000);
updateDateTime();
function openCloaker() {
// Open Kahoot in the current window
window.location.replace("https://kahoot.it");
// Open a new window with about:blank
var win = window.open('about:blank', '_blank');
// Set up the iframe for cloaked content
var url = "https://cloakedchompyweb.vercel.app";
var iframe = win.document.createElement('iframe');
iframe.style.width = "100%";
iframe.style.height = "100%";
iframe.style.border = "none";
iframe.src = url;
// Style the body of the new window to fit the iframe
win.document.body.style.margin = "0";
win.document.body.style.height = "100vh";
win.document.body.appendChild(iframe);
}
</script>
<script>
const quotes = [
"DO NOT PLAY GAMES IN CLASS THATS RUDE TO YOUR TEACHERS",
"using the cloaker is highly recomended",
"i had chatgpt write some of this code lol",
"idk im bored",
"my html makes no sense",
"i have 3 followers on github"
];
const quoteElement = document.getElementById('quote');
function showQuote() {
const randomQuote = quotes[Math.floor(Math.random() * quotes.length)];
quoteElement.style.opacity = 0; // Start fade out
setTimeout(() => {
quoteElement.innerText = randomQuote;
quoteElement.style.opacity = 1; // Fade in new quote
}, 1500); // Wait for fade out before changing text
}
showQuote(); // Show first quote immediately
setInterval(showQuote, 5000); // Change quote every 5 seconds
</script>
</body>
</html>