Skip to content

Commit d53caaf

Browse files
authored
Update index.html
1 parent b07465f commit d53caaf

File tree

1 file changed

+66
-5
lines changed

1 file changed

+66
-5
lines changed

index.html

Lines changed: 66 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,57 @@
1515
<meta property="og:url" content="/">
1616
<link rel="shortcut icon" type="image/png" href="/bloxcraft.png">
1717
<link rel="stylesheet" href="/main_home.css">
18-
18+
<style>
19+
.popup-overlay {
20+
display: none;
21+
position: fixed;
22+
inset: 0;
23+
background: rgba(0, 0, 0, 0.6);
24+
backdrop-filter: blur(4px);
25+
justify-content: center;
26+
align-items: center;
27+
z-index: 10;
28+
}
29+
.popup {
30+
background: #1e2633;
31+
border-radius: 16px;
32+
padding: 24px;
33+
width: 90%;
34+
max-width: 400px;
35+
text-align: center;
36+
box-shadow: 0 8px 30px rgba(0,0,0,0.3);
37+
position: relative;
38+
}
39+
.popup h2 {
40+
margin-top: 0;
41+
}
42+
.popup input {
43+
width: 80%;
44+
padding: 10px;
45+
border: none;
46+
border-radius: 8px;
47+
margin: 10px 0;
48+
font-size: 15px;
49+
}
50+
.popup button {
51+
margin-top: 10px;
52+
}
53+
.popup .close {
54+
position: absolute;
55+
top: 10px;
56+
right: 12px;
57+
background: transparent;
58+
border: none;
59+
color: #aaa;
60+
font-size: 20px;
61+
cursor: pointer;
62+
}
63+
.message {
64+
margin-top: 8px;
65+
color: #ff6b6b;
66+
font-weight: bold;
67+
}
68+
</style>
1969
<script type="application/ld+json">
2070
{
2171
"@context": "https://schema.org/",
@@ -99,10 +149,19 @@ <h1>Pop Ups</h1>
99149

100150
<a class="bloxy-btn bloxy-rainbow-btn" onclick="openIframe()">Open Chat In New Window</a>
101151
<a id="palet_blox_open" class="bloxy-btn bloxy-rainbow-btn">Annoucements</a>
102-
103-
104-
<a class="bloxy-btn bloxy-rainbow-btn" onclick="supportWindow_open()">Open Support In New Window</a>
105-
152+
<a class="bloxy-btn bloxy-rainbow-btn" onclick="supportWindow_open()">Open Support In New Window</a>
153+
<a class="bloxy-btn bloxy-rainbow-btn id="openPopup">Enter Secret Code</a>
154+
155+
<div class="popup-overlay" id="popupOverlay">
156+
<div class="popup">
157+
<button class="close" id="closePopup"></button>
158+
<h2>Enter Secret Code</h2>
159+
<input type="text" id="secretInput" placeholder="Type secret code..." />
160+
<br>
161+
<button id="submitCode">Submit</button>
162+
<div class="message" id="message"></div>
163+
</div>
164+
</div>
106165
<p>&nbsp;</p>
107166
<h2>If You Are Finding One That Opens The Game Tab In A Seperate Window, Checkout The Games Tab!</h2>
108167

@@ -423,6 +482,8 @@ <h1>Views:</h1>
423482
palet_blox_popup.style.bottom = '0';
424483
});
425484
</script>
485+
<script src="/assets/timachinecodes.js"></script>
426486
</main>
427487
</body>
428488
</html>
489+

0 commit comments

Comments
 (0)