-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathunder-construction.html
More file actions
283 lines (255 loc) · 9.08 KB
/
under-construction.html
File metadata and controls
283 lines (255 loc) · 9.08 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
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
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>WORLDSHELL // UNDER CONSTRUCTION</title>
<!-- Load Google Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans:wght@500;700;900&display=swap" rel="stylesheet">
<!-- Load Three.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"></script>
<style>
:root {
--bg-color: #ffffff;
--text-color: #1a1a1a;
--accent-color: #0066cc;
--secondary-color: #ff3366;
--font-main: 'Helvetica Neue', Helvetica, Arial, sans-serif;
--font-mono: 'Courier New', Courier, monospace;
}
body, html {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
background-color: var(--bg-color);
color: var(--text-color);
font-family: var(--font-main);
overflow: hidden;
}
#canvas-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 0;
opacity: 0.9;
}
.main-container {
position: relative;
z-index: 1;
width: 100%;
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.content-box {
background: rgba(255, 255, 255, 0.9);
border: 1px solid var(--accent-color);
padding: 3rem;
width: 500px;
max-width: 90%;
text-align: center;
backdrop-filter: blur(15px);
box-shadow: 0 0 30px rgba(0, 102, 204, 0.2);
animation: fadeIn 0.8s ease;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(-20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.content-box::before {
content: '';
position: absolute;
top: -2px; left: -2px;
width: 10px; height: 10px;
border-top: 2px solid var(--secondary-color);
border-left: 2px solid var(--secondary-color);
}
.content-box::after {
content: '';
position: absolute;
bottom: -2px; right: -2px;
width: 10px; height: 10px;
border-bottom: 2px solid var(--secondary-color);
border-right: 2px solid var(--secondary-color);
}
h1 {
font-family: 'Orbitron', 'Noto Sans', sans-serif;
font-weight: 900;
font-size: 2.5rem;
margin: 0 0 1rem 0;
letter-spacing: 0.3rem;
text-transform: uppercase;
color: #000;
text-shadow: 0 0 10px rgba(255,255,255,0.8);
}
.description-text {
font-family: var(--font-mono);
font-size: 0.9rem;
color: #666;
margin: 0 0 1.5rem 0;
line-height: 1.6;
text-align: left;
padding: 0 1rem;
}
.status-text {
font-family: var(--font-mono);
font-size: 1rem;
color: var(--accent-color);
text-transform: uppercase;
letter-spacing: 0.1rem;
margin: 1.5rem 0;
line-height: 1.8;
}
.progress-bar {
width: 100%;
height: 4px;
background: rgba(0, 102, 204, 0.1);
margin: 2rem 0;
position: relative;
overflow: hidden;
}
.progress-bar::after {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
animation: progress 2s infinite;
}
@keyframes progress {
0% {
left: -100%;
}
100% {
left: 100%;
}
}
.back-link {
display: inline-block;
margin-top: 2rem;
padding: 10px 30px;
background: transparent;
color: var(--accent-color);
text-decoration: none;
text-transform: uppercase;
font-family: 'Orbitron', var(--font-mono);
font-size: 0.75rem;
letter-spacing: 1.5px;
font-weight: 700;
border: 1px solid var(--accent-color);
transition: all 0.3s;
}
.back-link:hover {
background: rgba(0, 102, 204, 0.05);
color: #00aaff;
border-color: #00aaff;
box-shadow: 0 0 15px rgba(0, 102, 204, 0.5);
}
.scanlines {
position: fixed;
left: 0; top: 0; width: 100vw; height: 100vh;
background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.02) 50%),
linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
background-size: 100% 4px, 6px 100%;
pointer-events: none;
z-index: 100;
}
footer {
position: fixed;
bottom: 20px;
width: 100%;
text-align: center;
font-family: var(--font-mono);
font-size: 0.7rem;
color: #999;
pointer-events: none;
z-index: 2;
}
</style>
</head>
<body>
<div class="scanlines"></div>
<div id="canvas-container"></div>
<div class="main-container">
<div class="content-box">
<h1>UNDER CONSTRUCTION</h1>
<div class="description-text">
本网站是一个个人博客网站,用于分享技术文章、生活随笔和个人思考。网站目前正在建设中,敬请期待。
</div>
<div class="status-text">
> SYSTEM STATUS: BUILDING<br>
> LAYER 0 IS CURRENTLY UNDER CONSTRUCTION<br>
> PLEASE CHECK BACK LATER<br>
> ESTIMATED COMPLETION: [CALCULATING...]
</div>
<div class="progress-bar"></div>
<a href="index.html" class="back-link">RETURN TO INIT</a>
</div>
</div>
<footer>
WORLDSHELL INITIATIVE // TERMINAL_ID: 0x88A // LAYER 0<br>
粤ICP备2025509028号
</footer>
<script>
// THREE.JS SETUP - 简化的背景动画
const container = document.getElementById('canvas-container');
const scene = new THREE.Scene();
scene.fog = new THREE.FogExp2(0xffffff, 0.02);
const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000);
camera.position.z = 5;
const renderer = new THREE.WebGLRenderer({ antialias: true, alpha: true });
renderer.setSize(window.innerWidth, window.innerHeight);
renderer.setPixelRatio(window.devicePixelRatio);
renderer.setClearColor(0xffffff, 0);
container.appendChild(renderer.domElement);
window.addEventListener('resize', () => {
camera.aspect = window.innerWidth / window.innerHeight;
camera.updateProjectionMatrix();
renderer.setSize(window.innerWidth, window.innerHeight);
});
// 简单的粒子效果
const particlesGeometry = new THREE.BufferGeometry();
const particleCount = 800;
const posArray = new Float32Array(particleCount * 3);
for(let i = 0; i < particleCount * 3; i++) {
posArray[i] = (Math.random() - 0.5) * 15;
}
particlesGeometry.setAttribute('position', new THREE.BufferAttribute(posArray, 3));
const particlesMaterial = new THREE.PointsMaterial({
size: 0.04,
color: 0x0066cc,
transparent: true,
opacity: 0.4
});
const particlesMesh = new THREE.Points(particlesGeometry, particlesMaterial);
scene.add(particlesMesh);
// Animation Loop
const clock = new THREE.Clock();
function animate() {
requestAnimationFrame(animate);
const elapsedTime = clock.getElapsedTime();
particlesMesh.rotation.y = -elapsedTime * 0.03;
renderer.render(scene, camera);
}
animate();
</script>
</body>
</html>