Spaces:
Running
Running
Update index.html
Browse files- index.html +80 -0
index.html
CHANGED
@@ -18,7 +18,87 @@
|
|
18 |
color: transparent;
|
19 |
}
|
20 |
</style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
</head>
|
|
|
22 |
|
23 |
<body class="min-h-screen bg-gray-50 flex flex-col">
|
24 |
|
|
|
18 |
color: transparent;
|
19 |
}
|
20 |
</style>
|
21 |
+
<style>
|
22 |
+
/* General page styling */
|
23 |
+
body {
|
24 |
+
background-color: #000000;
|
25 |
+
color: #00FF41; /* Classic green terminal color */
|
26 |
+
font-family: 'Courier New', Courier, monospace;
|
27 |
+
display: flex;
|
28 |
+
justify-content: center;
|
29 |
+
align-items: center;
|
30 |
+
height: 100vh;
|
31 |
+
margin: 0;
|
32 |
+
}
|
33 |
+
|
34 |
+
/* The container for our "terminal" window */
|
35 |
+
.terminal-window {
|
36 |
+
width: 80%;
|
37 |
+
max-width: 600px;
|
38 |
+
background-color: #0A0A0A;
|
39 |
+
border: 1px solid #00FF41;
|
40 |
+
border-radius: 5px;
|
41 |
+
padding: 25px;
|
42 |
+
box-shadow: 0 0 15px rgba(0, 255, 65, 0.4);
|
43 |
+
}
|
44 |
+
|
45 |
+
/* The element where the text will be typed */
|
46 |
+
#computer-text {
|
47 |
+
font-size: 1.2rem;
|
48 |
+
white-space: pre-wrap; /* Allows text to wrap but preserves whitespace */
|
49 |
+
}
|
50 |
+
|
51 |
+
/* The blinking cursor effect */
|
52 |
+
#computer-text::after {
|
53 |
+
content: '█'; /* You can also use an underscore: '_' */
|
54 |
+
display: inline-block;
|
55 |
+
animation: blink 1s step-end infinite;
|
56 |
+
}
|
57 |
+
|
58 |
+
@keyframes blink {
|
59 |
+
from, to { color: transparent; }
|
60 |
+
50% { color: #00FF41; }
|
61 |
+
}
|
62 |
+
</style>
|
63 |
+
</head>
|
64 |
+
<body>
|
65 |
+
|
66 |
+
<div class="terminal-window">
|
67 |
+
<div id="computer-text"></div>
|
68 |
+
</div>
|
69 |
+
|
70 |
+
<script>
|
71 |
+
// --- Configuration ---
|
72 |
+
const textToType = `INITIALIZING JOINT VENTURE 3.100_s...\n` +
|
73 |
+
`ACCESSING CORE MODULES...\n` +
|
74 |
+
`[OK] AI Agent Matrix Loaded.\n` +
|
75 |
+
`[OK] Quantum Signature Verified.\n` +
|
76 |
+
`[OK] Fabric Flow Fund Interface Connected.\n\n` +
|
77 |
+
`STATUS: ALL SYSTEMS NOMINAL.\n` +
|
78 |
+
`EXECUTING PRIMARY DIRECTIVE...`;
|
79 |
+
|
80 |
+
const typingSpeed = 50; // Milliseconds between each character
|
81 |
+
|
82 |
+
// --- Logic ---
|
83 |
+
const textElement = document.getElementById('computer-text');
|
84 |
+
let charIndex = 0;
|
85 |
+
|
86 |
+
function type() {
|
87 |
+
if (charIndex < textToType.length) {
|
88 |
+
textElement.textContent += textToType.charAt(charIndex);
|
89 |
+
charIndex++;
|
90 |
+
setTimeout(type, typingSpeed);
|
91 |
+
}
|
92 |
+
}
|
93 |
+
|
94 |
+
// Start the typing effect when the page loads
|
95 |
+
document.addEventListener('DOMContentLoaded', (event) => {
|
96 |
+
type();
|
97 |
+
});
|
98 |
+
</script>
|
99 |
+
|
100 |
</head>
|
101 |
+
|
102 |
|
103 |
<body class="min-h-screen bg-gray-50 flex flex-col">
|
104 |
|