Skip to content

Commit 5e4ee1f

Browse files
彩云彩云
authored andcommitted
feat: release-1.0-2603
1 parent 77450ec commit 5e4ee1f

34 files changed

Lines changed: 5450 additions & 2 deletions

src/assets/style.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,20 @@ html[lang="en"] .hero .subtitle {
417417
background: rgba(255, 255, 255, 1);
418418
}
419419

420+
.btn-version-pill {
421+
background: rgba(46, 125, 220, 1);
422+
color: #ffffff;
423+
border-color: rgba(46, 125, 220, 1);
424+
box-shadow: 0 10px 24px rgba(46, 125, 220, 0.3);
425+
font-weight: 600;
426+
}
427+
428+
.btn-version-pill:hover {
429+
background: rgba(38, 112, 204, 1);
430+
border-color: rgba(38, 112, 204, 1);
431+
box-shadow: 0 14px 30px rgba(38, 112, 204, 0.36);
432+
}
433+
420434
.simple-page-actions {
421435
margin-top: 18px;
422436
display: flex;

src/login.css

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
body {
2+
margin: 0;
3+
}
4+
5+
.login-gate-container {
6+
min-height: 100vh;
7+
display: flex;
8+
align-items: center;
9+
justify-content: center;
10+
background: radial-gradient(circle at top, #1f2937, #020617);
11+
color: #fff;
12+
font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
13+
"Segoe UI", sans-serif;
14+
}
15+
16+
.login-gate-box {
17+
background: rgba(15, 23, 42, 0.9);
18+
padding: 32px 40px;
19+
border-radius: 16px;
20+
box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
21+
min-width: 260px;
22+
max-width: 360px;
23+
}
24+
25+
.login-gate-box h1 {
26+
font-size: 22px;
27+
margin-bottom: 18px;
28+
text-align: center;
29+
}
30+
31+
.login-gate-box form {
32+
display: flex;
33+
flex-direction: column;
34+
gap: 10px;
35+
}
36+
37+
.login-gate-box input {
38+
padding: 10px 12px;
39+
border-radius: 8px;
40+
border: none;
41+
outline: none;
42+
font-size: 14px;
43+
}
44+
45+
.login-gate-box button {
46+
padding: 10px 12px;
47+
border-radius: 8px;
48+
border: none;
49+
cursor: pointer;
50+
background: linear-gradient(135deg, #4f46e5, #22d3ee);
51+
color: #fff;
52+
font-weight: 600;
53+
font-size: 14px;
54+
}
55+
56+
.login-gate-box button:hover {
57+
filter: brightness(1.05);
58+
}
59+
60+
.login-gate-error {
61+
min-height: 1em;
62+
font-size: 12px;
63+
color: #f97373;
64+
text-align: center;
65+
}

src/pages/HomePage.jsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { useEffect, useMemo, useRef, useState } from "react";
2-
import { Link } from "react-router-dom";
32
import {
43
FiGitBranch,
54
FiCpu,
@@ -245,6 +244,12 @@ export default function HomePage() {
245244
{t("cta_report")}
246245
<FiFileText className="btn-icon" size={16} aria-hidden="true" />
247246
</a>
247+
<a
248+
className="btn btn-version-pill"
249+
href={assetUrl("release-1.0-2603/index.html")}
250+
>
251+
Release-1.0-2603
252+
</a>
248253
</div>
249254
</div>
250255
</section>
1.18 MB
Loading
10 KB
Binary file not shown.
8 KB
Binary file not shown.
2.35 MB
Binary file not shown.
2.95 MB
Binary file not shown.
3.52 MB
Binary file not shown.
4.46 MB
Binary file not shown.

0 commit comments

Comments
 (0)