-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
98 lines (90 loc) · 2.48 KB
/
index.html
File metadata and controls
98 lines (90 loc) · 2.48 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Arkwinger Access Terminal</title>
<style>
body {
background-color: #000;
color: #00ff88;
font-family: 'Courier New', monospace;
padding: 20px;
font-size: 1.1rem;
line-height: 1.5;
overflow: hidden;
}
.cursor {
display: inline-block;
width: 10px;
background: #00ff88;
margin-left: 5px;
animation: blink 0.8s steps(2, start) infinite;
}
@keyframes blink {
to { visibility: hidden; }
}
input {
background: transparent;
border: none;
border-bottom: 1px solid #00ff88;
color: #00ff88;
font-family: inherit;
font-size: 1rem;
outline: none;
width: 200px;
}
#overlay {
position: fixed;
inset: 0;
background: black;
opacity: 0;
pointer-events: none;
transition: opacity 1s ease;
}
</style>
</head>
<body>
<div id="terminal">
Initializing Arkwinger Access Node...<br>
[OK] System Integrity: Verified<br>
[OK] Quantum Session: Stable<br>
-------------------------------------------<br>
Access key required to enter Arkwinger’s World.<br><br>
Enter password: <input type="password" id="pass"><span class="cursor"></span>
</div>
<div id="overlay"></div>
<script>
const pass = document.getElementById("pass");
const overlay = document.getElementById("overlay");
pass.addEventListener("keydown", e => {
if (e.key === "Enter") {
const value = pass.value.trim().toLowerCase();
if (value === "shiro") {
document.body.insertAdjacentHTML(
'beforeend',
"<br>[ACCESS GRANTED] Welcome back, Arkwinger..."
);
// Fade transition before redirect
setTimeout(() => {
overlay.style.opacity = "1";
setTimeout(() => {
// Auto-detect repo path (works with or without /arkworld/)
const path = window.location.pathname.includes("/arkworld/")
? "./home.html"
: "./arkworld/home.html";
window.location.href = path;
}, 1000);
}, 1000);
} else {
document.body.insertAdjacentHTML(
'beforeend',
"<br>[DENIED] Invalid key."
);
pass.value = "";
}
}
});
</script>
</body>
</html>