-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
429 lines (369 loc) · 13.6 KB
/
index.html
File metadata and controls
429 lines (369 loc) · 13.6 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
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Vibe Coding 成果展示</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
background: white;
min-height: 100vh;
padding: 20px;
color: #333;
}
.container {
max-width: 100%;
margin: 0 auto;
}
.header {
padding: 40px 0 40px 0;
border-radius: 15px;
text-align: center;
color: white;
background: #4285f4;
position: relative;
}
.github-icon {
position: absolute;
top: 20px;
right: 20px;
width: 40px;
height: 40px;
background: rgba(255, 255, 255, 0.2);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
text-decoration: none;
color: white;
font-size: 20px;
transition: all 0.3s ease;
backdrop-filter: blur(10px);
}
.github-icon:hover {
background: rgba(255, 255, 255, 0.3);
transform: scale(1.1);
color: white;
}
.github-icon svg {
width: 24px;
height: 24px;
fill: currentColor;
}
.header h1 {
font-size: 3.8rem;
font-weight: 800;
color: white;
}
.header p {
font-size: 1.2rem;
opacity: 0.9;
}
.games-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 35px;
padding: 10px 0;
}
.game-card {
background: white;
border: 1px solid #e9ecef;
border-radius: 8px;
padding: 30px 50px;
text-decoration: none;
color: #333;
transition: all 0.2s ease;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.game-card::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
transition: left 0.5s;
}
.game-card:hover::before {
left: 100%;
}
.game-card:hover {
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
border-color: #dee2e6;
}
.game-icon {
width: 60px;
height: 60px;
background: #d1dfeb;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
font-size: 2rem;
margin-bottom: 15px;
color: white;
}
.game-title {
font-size: 1.4rem;
font-weight: bold;
margin-bottom: 10px;
color: #333;
}
.game-description {
color: #666;
line-height: 1.5;
margin-bottom: 15px;
min-height: 80px;
}
.play-button {
background: #1a7de7;
color: white;
border: none;
padding: 10px 20px;
border-radius: 12px;
cursor: pointer;
font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
font-size: 1.1rem;
font-weight: 600;
margin-top: 15px;
transition: all 0.2s ease;
display: inline-block;
text-decoration: none;
}
.play-button:hover {
background: #0056b3;
}
.game-card .play-button {
pointer-events: none;
}
.activity-info {
padding: 20px;
border-radius: 15px;
margin-top: 20px;
backdrop-filter: blur(10px);
}
.activity-info p {
margin: 10px 0;
font-size: 1.3rem;
font-weight: 600;
line-height: 1.6;
color: #333;
}
.section-title {
text-align: center;
margin: 50px 0 20px 0;
color: white;
}
.section-title h2 {
color: #333;
margin: 0;
font-size: 2rem;
font-weight: 600;
}
.section-title p {
font-size: 1.1rem;
opacity: 0.9;
}
.tools-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
margin-bottom: 50px;
}
.footer {
background: rgba(23, 34, 83, 0.3);
padding: 15px;
border-radius: 20px;
margin-top: 50px;
color: white;
backdrop-filter: blur(10px);
}
.footer-content {
text-align: center;
max-width: 800px;
margin: 0 auto;
}
.footer-content h3 {
margin-bottom: 20px;
font-size: 1.6rem;
font-weight: 600;
}
.footer-content h4 {
font-size: 1.2rem;
margin: 10px 0 20px 0;
}
.footer-content p {
margin: 10px;
line-height: 1.6;
opacity: 0.9;
}
.copyright {
margin-top: 30px;
font-size: 0.9rem;
opacity: 0.7;
}
@media (max-width: 768px) {
.header h1 {
font-size: 1.8rem;
}
.github-icon {
top: 15px;
right: 15px;
width: 35px;
height: 35px;
}
.github-icon svg {
width: 20px;
height: 20px;
}
.activity-info {
padding: 15px;
}
.activity-info p {
font-size: 0.9rem;
}
.section-title h2 {
font-size: 1.8rem;
}
.games-grid,
.tools-grid {
grid-template-columns: 1fr;
gap: 20px;
}
.game-card {
padding: 20px;
}
.footer {
padding: 30px 15px;
}
.footer-content h3 {
font-size: 1.5rem;
}
.tool-tag {
font-size: 0.8rem;
padding: 6px 12px;
}
}
</style>
</head>
<body>
<div class="container">
<div class="header">
<a href="https://github.com/FDUCSLG/vibe-coding-highlights.git" class="github-icon" target="_blank" title="访问GitHub仓库">
<svg viewBox="0 0 24 24">
<path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/>
</svg>
</a>
<h1>Vibe Coding 作品展示</h1>
</div>
<div class="section-title">
<h2>🎮 互动游戏</h2>
<p>经典游戏的现代化实现</p>
</div>
<div class="games-grid">
<a href="2048/index.html" class="game-card">
<div class="game-icon icon-puzzle">🧩</div>
<div class="game-title">2048</div>
<div class="game-description">经典数字合成游戏,通过滑动合并相同数字,挑战最高分数</div>
<div class="play-button">开始游戏</div>
</a>
<a href="Teris/index.html" class="game-card">
<div class="game-icon icon-blocks">🧱</div>
<div class="game-title">俄罗斯方块</div>
<div class="game-description">永恒的经典游戏,旋转和移动方块,消除完整的行</div>
<div class="play-button">开始游戏</div>
</a>
<a href="dinosaur-game/index.html" class="game-card">
<div class="game-icon icon-dino">🦕</div>
<div class="game-title">恐龙游戏</div>
<div class="game-description">Chrome浏览器经典离线游戏,控制小恐龙跳跃避开障碍物</div>
<div class="play-button">开始游戏</div>
</a>
<a href="guess-number/guess_number_game.html" class="game-card">
<div class="game-icon icon-number">🔢</div>
<div class="game-title">猜数字</div>
<div class="game-description">经典的数字猜测游戏,根据提示猜出正确的数字</div>
<div class="play-button">开始游戏</div>
</a>
<a href="maze/index.html" class="game-card">
<div class="game-icon icon-maze">🌀</div>
<div class="game-title">迷宫</div>
<div class="game-description">挑战你的方向感,在复杂的迷宫中找到出口</div>
<div class="play-button">开始游戏</div>
</a>
<a href="minesweeper/index.html" class="game-card">
<div class="game-icon icon-mine">💣</div>
<div class="game-title">扫雷</div>
<div class="game-description">经典的逻辑推理游戏,小心避开地雷,找出所有安全区域</div>
<div class="play-button">开始游戏</div>
</a>
<a href="multi-armed-bandit/index.html" class="game-card">
<div class="game-icon icon-slot">🎰</div>
<div class="game-title">多臂老虎机</div>
<div class="game-description">试试你的运气,拉动老虎机臂膀,看看能否中大奖</div>
<div class="play-button">开始游戏</div>
</a>
<a href="pacman/index.html" class="game-card">
<div class="game-icon icon-pacman">👻</div>
<div class="game-title">吃豆人</div>
<div class="game-description">经典街机游戏,控制吃豆人收集豆子,避开幽灵的追捕</div>
<div class="play-button">开始游戏</div>
</a>
<a href="snake/index.html" class="game-card">
<div class="game-icon icon-snake">🐍</div>
<div class="game-title">贪吃蛇</div>
<div class="game-description">经典的贪吃蛇游戏,控制蛇吃食物长大,小心不要撞到自己</div>
<div class="play-button">开始游戏</div>
</a>
<a href="spider-solitaire/index.html" class="game-card">
<div class="game-icon icon-cards">🃏</div>
<div class="game-title">蜘蛛纸牌</div>
<div class="game-description">经典的单人纸牌游戏,按花色和顺序整理所有卡牌</div>
<div class="play-button">开始游戏</div>
</a>
<a href="two-player-tank-battle/index.html" class="game-card">
<div class="game-icon icon-tank">🚗</div>
<div class="game-title">双人坦克大战</div>
<div class="game-description">经典的双人对战游戏,控制坦克与朋友一起战斗</div>
<div class="play-button">开始游戏</div>
</a>
</div>
<div class="section-title">
<h2>🛠️ 实用工具</h2>
<p>日常使用的便捷工具</p>
</div>
<div class="tools-grid">
<a href="countdown/countdown.html" class="game-card">
<div class="game-icon icon-time">⏰</div>
<div class="game-title">倒计时</div>
<div class="game-description">实用的倒计时工具,帮助你管理时间和提醒重要事件</div>
<div class="play-button">开始使用</div>
</a>
<a href="Q&A/index.html" class="game-card">
<div class="game-icon icon-question">❓</div>
<div class="game-title">答题</div>
<div class="game-description">计算机基础知识问答</div>
<div class="play-button">开始答题</div>
</a>
</div>
<div class="footer">
<div class="footer-content">
<p>所有项目均使用现代化 AI IDE,如 Trae AI 编程助手等协作完成</p>
<p class="copyright">© 2025 FDUCSLG</p>
</div>
</div>
</div>
</body>
</html>