-
Notifications
You must be signed in to change notification settings - Fork 96
Expand file tree
/
Copy pathindex.html
More file actions
403 lines (348 loc) · 12.4 KB
/
Copy pathindex.html
File metadata and controls
403 lines (348 loc) · 12.4 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
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>NewAPI 自动签到</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
position: relative;
overflow-x: hidden;
}
body::before {
content: '';
position: fixed;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle at 30% 40%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
radial-gradient(circle at 70% 60%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
radial-gradient(circle at 50% 80%, rgba(167, 139, 250, 0.04) 0%, transparent 50%);
animation: bgFloat 20s ease-in-out infinite;
}
@keyframes bgFloat {
0%, 100% { transform: translate(0, 0) rotate(0deg); }
25% { transform: translate(2%, -2%) rotate(1deg); }
50% { transform: translate(-1%, 3%) rotate(-1deg); }
75% { transform: translate(3%, -1%) rotate(0.5deg); }
}
.container {
max-width: 620px;
width: 100%;
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 24px;
overflow: hidden;
backdrop-filter: blur(20px);
box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 120px rgba(99, 102, 241, 0.1);
animation: containerFadeIn 1s ease-out;
}
@keyframes containerFadeIn {
from { opacity: 0; transform: translateY(30px) scale(0.97); }
to { opacity: 1; transform: translateY(0) scale(1); }
}
.header {
background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a78bfa 100%);
color: white;
padding: 50px 40px 45px;
text-align: center;
position: relative;
overflow: hidden;
}
.header::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
animation: pulse 8s ease-in-out infinite;
}
.header::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 60px;
background: linear-gradient(to top, rgba(26, 26, 46, 0.3), transparent);
}
@keyframes pulse {
0%, 100% { transform: scale(1); opacity: 0.5; }
50% { transform: scale(1.05); opacity: 0.8; }
}
.header-icon {
font-size: 56px;
margin-bottom: 16px;
display: inline-block;
animation: iconBounce 3s ease-in-out infinite;
position: relative;
}
@keyframes iconBounce {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-6px); }
}
.header h1 {
font-size: 36px;
font-weight: 700;
margin-bottom: 12px;
letter-spacing: -0.5px;
position: relative;
}
.header p {
opacity: 0.95;
font-size: 17px;
line-height: 1.5;
position: relative;
}
.content {
padding: 40px 35px;
color: rgba(255, 255, 255, 0.85);
}
.feature {
margin-bottom: 28px;
padding: 24px;
background: rgba(255, 255, 255, 0.04);
border: 1px solid rgba(255, 255, 255, 0.06);
border-radius: 16px;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
animation: featureFadeIn 0.6s ease-out backwards;
}
.feature:nth-child(1) { animation-delay: 0.2s; }
.feature:nth-child(2) { animation-delay: 0.35s; }
@keyframes featureFadeIn {
from { opacity: 0; transform: translateX(-20px); }
to { opacity: 1; transform: translateX(0); }
}
.feature:hover {
background: rgba(255, 255, 255, 0.07);
border-color: rgba(99, 102, 241, 0.3);
transform: translateY(-2px);
box-shadow: 0 8px 30px rgba(99, 102, 241, 0.15);
}
.feature h3 {
color: #a78bfa;
margin-bottom: 12px;
font-size: 20px;
font-weight: 600;
display: flex;
align-items: center;
gap: 8px;
}
.feature p {
color: rgba(255, 255, 255, 0.7);
line-height: 1.7;
font-size: 15px;
}
.features-list {
list-style: none;
margin-top: 16px;
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 10px;
}
.features-list li {
padding: 12px 14px;
color: rgba(255, 255, 255, 0.75);
background: rgba(255, 255, 255, 0.03);
border-radius: 10px;
font-size: 14px;
border: 1px solid rgba(255, 255, 255, 0.04);
transition: all 0.3s ease;
display: flex;
align-items: center;
gap: 8px;
}
.features-list li:hover {
background: rgba(99, 102, 241, 0.1);
border-color: rgba(99, 102, 241, 0.2);
transform: translateX(4px);
}
.features-list li::before {
content: '✓';
color: #34d399;
font-weight: bold;
font-size: 13px;
}
.btn-container {
display: flex;
flex-direction: column;
gap: 16px;
margin-top: 36px;
animation: btnFadeIn 0.6s ease-out 0.5s backwards;
}
@keyframes btnFadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
.btn {
display: block;
padding: 18px 28px;
background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
color: white;
text-decoration: none;
text-align: center;
border-radius: 14px;
font-weight: 600;
font-size: 17px;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 6px 24px rgba(99, 102, 241, 0.35);
position: relative;
overflow: hidden;
}
.btn::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;
}
.btn:hover::before {
left: 100%;
}
.btn:hover {
transform: translateY(-3px);
box-shadow: 0 10px 40px rgba(99, 102, 241, 0.45);
}
.btn:active {
transform: translateY(-1px);
}
.btn-secondary {
background: linear-gradient(135deg, #059669 0%, #34d399 100%);
box-shadow: 0 6px 24px rgba(5, 150, 105, 0.35);
}
.btn-secondary:hover {
box-shadow: 0 10px 40px rgba(5, 150, 105, 0.45);
}
.btn-secondary:active {
transform: translateY(-1px);
}
.footer {
text-align: center;
padding: 24px 35px;
background: rgba(255, 255, 255, 0.02);
border-top: 1px solid rgba(255, 255, 255, 0.06);
color: rgba(255, 255, 255, 0.5);
font-size: 14px;
}
.footer a {
color: #a78bfa;
text-decoration: none;
transition: color 0.2s;
position: relative;
}
.footer a::after {
content: '';
position: absolute;
bottom: -2px;
left: 0;
width: 0;
height: 1px;
background: #a78bfa;
transition: width 0.3s;
}
.footer a:hover {
color: #c4b5fd;
}
.footer a:hover::after {
width: 100%;
}
@media (max-width: 480px) {
body { padding: 12px; }
.container { border-radius: 16px; }
.header { padding: 35px 25px 30px; }
.header-icon { font-size: 42px; }
.header h1 { font-size: 28px; }
.header p { font-size: 15px; }
.content { padding: 25px 20px; }
.feature { padding: 18px; }
.features-list { grid-template-columns: 1fr; }
.btn { padding: 16px 24px; font-size: 16px; }
}
</style>
</head>
<body>
<div class="container">
<div class="header">
<div class="header-icon">🚀</div>
<h1>NewAPI 自动签到</h1>
<p>支持多账号、多站点的自动签到解决方案,每日定时执行</p>
</div>
<div class="content">
<div class="feature">
<h3>🎯 项目简介</h3>
<p>基于 HTTP 直连的 NewAPI 自动签到脚本,支持多账号、多站点配置,通过 GitHub Actions 实现每日自动签到。</p>
</div>
<div class="feature">
<h3>✨ 核心功能</h3>
<ul class="features-list">
<li>支持多个不同的 NewAPI 站点</li>
<li>可视化配置工具,无需编写代码</li>
<li>GitHub Actions 自动化执行</li>
<li>详细的签到日志和统计</li>
<li>错误处理和超时控制</li>
<li>钉钉通知推送结果</li>
</ul>
</div>
<div class="btn-container">
<a href="config_generator.html" class="btn">🛠️ 打开配置生成器</a>
<a href="https://github.com/Jasonliu-0/Newapi-checkin" class="btn btn-secondary" target="_blank">📖 查看完整文档</a>
</div>
</div>
<div class="footer">
<p>Made with ❤️ by <a href="https://github.com/Jasonliu-0/Newapi-checkin" target="_blank">Jasonliu-0</a></p>
</div>
</div>
<script>
// ===== 3D Card Tilt Effect =====
const tiltCards = document.querySelectorAll('.feature');
const tiltBtns = document.querySelectorAll('.btn');
tiltCards.forEach(card => {
card.addEventListener('mousemove', (e) => {
const rect = card.getBoundingClientRect();
const x = e.clientX - rect.left;
const y = e.clientY - rect.top;
const centerX = rect.width / 2;
const centerY = rect.height / 2;
const rotateX = (y - centerY) / 20;
const rotateY = (centerX - x) / 20;
card.style.transform = `perspective(1000px) rotateX(${rotateX}deg) rotateY(${rotateY}deg) translateY(-2px) scale(1.02)`;
});
card.addEventListener('mouseleave', () => {
card.style.transform = '';
});
});
// ===== Magnetic Button Hover =====
tiltBtns.forEach(btn => {
btn.addEventListener('mousemove', (e) => {
const rect = btn.getBoundingClientRect();
const x = e.clientX - rect.left - rect.width / 2;
const y = e.clientY - rect.top - rect.height / 2;
btn.style.transform = `translate(${x / 8}px, ${y / 8 - 3}px)`;
btn.style.boxShadow = `0 ${10 + y / 4}px ${40 + Math.abs(x) / 2}px rgba(99, 102, 241, 0.45)`;
});
btn.addEventListener('mouseleave', () => {
btn.style.transform = '';
btn.style.boxShadow = '';
});
});
</script>
</body>
</html>