-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathResh-1-SoC-Terminal.html
208 lines (177 loc) · 6.64 KB
/
Resh-1-SoC-Terminal.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mobile Task Force Beta-7 Dashboard</title>
<style>
body {
background-color: #000;
color: #00ff00;
font-family: 'Courier New', monospace;
padding: 20px;
line-height: 1.6;
margin: 0;
height: 100vh;
display: flex;
flex-direction: column;
}
#terminal-container {
flex-grow: 1;
overflow-y: auto;
padding-right: 20px;
}
#terminal {
white-space: pre-wrap;
word-wrap: break-word;
}
#cursor {
animation: blink 0.7s infinite;
}
@keyframes blink {
0% { opacity: 0; }
50% { opacity: 1; }
100% { opacity: 0; }
}
#scp-logo {
width: 100px;
height: 100px;
margin: 0 auto 20px;
display: block;
}
.typed {
overflow: hidden;
white-space: nowrap;
border-right: 2px solid #00ff00;
animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}
@keyframes typing {
from { width: 0 }
to { width: 100% }
}
@keyframes blink-caret {
from, to { border-color: transparent }
50% { border-color: #00ff00; }
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: #001100;
}
::-webkit-scrollbar-thumb {
background: #00ff00;
}
::-webkit-scrollbar-thumb:hover {
background: #00cc00;
}
.digital-button {
background-color: #001100;
border: 2px solid #00ff00;
color: #00ff00;
padding: 15px 30px;
font-family: 'Courier New', monospace;
font-size: 16px;
cursor: pointer;
margin-top: 20px;
display: block;
width: 300px;
margin: 20px auto;
text-transform: uppercase;
letter-spacing: 2px;
transition: all 0.3s;
}
.digital-button:hover {
background-color: #00ff00;
color: #000;
box-shadow: 0 0 15px #00ff00;
}
</style>
</head>
<body>
<img id="scp-logo" src="https://cdn.discordapp.com/attachments/1289269250451832954/1297262110610559026/saygex.png?ex=671548fd&is=6713f77d&hm=74cf47be16049ed044ff8bfe1915a43641d828a64df4c0805119de560a0eb6d6&" alt="SCP Logo" style="opacity: 0;">
<div id="terminal-container">
<div id="terminal"></div>
<button class="digital-button" onclick="window.location.href='https://armed-research-and-containment-site-omegon.vercel.app/L-5-Dashboard.html'">Access L-5 Main Dashboard</button>
</div>
<script>
const terminal = document.getElementById('terminal');
const terminalContainer = document.getElementById('terminal-container');
const logo = document.getElementById('scp-logo');
const text = ` SCP FOUNDATION
————————————————————————————————————————————————————————————————————————————————————————————————————————————————
> boot
SCP-EPO Booting up
.
.
.
Terminal booted
> login Resh_one.MobileTaskForce.Seat.of.Consciousness
LOGGING IN
.
.
.
PLEASE ENTER PASSWORD.
> pass Romeo.Echo.Charlie.Helios.One.SoC.Head_Heart_Stomach
LOGGING IN…
Welcome Mobile Task Force Resh-1 ("Seat of Consciousness")
YOU HAVE NO NEW NOTIFICATION(S)
`;
let index = 0;
function animateLogo() {
let opacity = 0;
const intervalId = setInterval(() => {
opacity += 0.1;
logo.style.opacity = opacity;
if (opacity >= 1) {
clearInterval(intervalId);
}
}, 100);
}
function typeText() {
if (index < text.length) {
terminal.innerHTML += text.charAt(index);
index++;
terminalContainer.scrollTop = terminalContainer.scrollHeight;
setTimeout(typeText, Math.random() * 50 + 10);
} else {
terminal.innerHTML += '<span id="cursor">█</span>';
}
}
// Check if the image loads successfully
logo.onload = function() {
console.log("Image loaded successfully");
animateLogo();
};
// If there's an error loading the image, log it and try to create a fallback
logo.onerror = function() {
console.error("Error loading image");
createFallbackLogo();
};
function createFallbackLogo() {
const svgLogo = document.createElementNS("http://www.w3.org/2000/svg", "svg");
svgLogo.setAttribute("id", "scp-logo");
svgLogo.setAttribute("xmlns", "http://www.w3.org/2000/svg");
svgLogo.setAttribute("viewBox", "0 0 100 100");
svgLogo.innerHTML = `
<circle cx="50" cy="50" r="45" fill="none" stroke="#00ff00" stroke-width="2">
<animate attributeName="r" from="0" to="45" dur="2s" begin="0s" fill="freeze" />
</circle>
<path d="M30 40 Q50 20 70 40 Q50 60 30 40" fill="none" stroke="#00ff00" stroke-width="2">
<animate attributeName="d" from="M50 50 Q50 50 50 50 Q50 50 50 50" to="M30 40 Q50 20 70 40 Q50 60 30 40" dur="2s" begin="0s" fill="freeze" />
</path>
<path d="M30 60 Q50 80 70 60" fill="none" stroke="#00ff00" stroke-width="2">
<animate attributeName="d" from="M50 60 Q50 60 50 60" to="M30 60 Q50 80 70 60" dur="2s" begin="0s" fill="freeze" />
</path>
`;
logo.parentNode.replaceChild(svgLogo, logo);
animateLogo();
}
typeText();
</script>
</body>
</html>