refactor: clean up login-kicker and update button text

remove the unused .login-kicker CSS class and corresponding span element from the login page
update the login button text to "login" from the original "enter maintenance desk" for more accurate labeling
This commit is contained in:
duanshuwen
2026-07-12 09:48:34 +08:00
parent ac9f6b3db1
commit 51dc77ac68
2 changed files with 1 additions and 12 deletions

View File

@@ -31,7 +31,6 @@ export function LoginPage({ onDone }: { onDone: () => void }) {
<main className="login-shell">
<Card className="login-panel">
<CardHeader className="p-0">
<span className="login-kicker"></span>
<CardTitle></CardTitle>
<CardDescription>线</CardDescription>
</CardHeader>
@@ -50,7 +49,7 @@ export function LoginPage({ onDone }: { onDone: () => void }) {
<AlertDescription>{error}</AlertDescription>
</Alert>
) : null}
<Button disabled={loading}>{loading ? "登录中" : "进入维护台"}</Button>
<Button disabled={loading}>{loading ? "登录中" : "登录"}</Button>
</form>
</CardContent>
</Card>

View File

@@ -75,12 +75,6 @@ button {
border-radius: 8px;
}
.login-kicker {
color: #287d79;
font-size: 13px;
font-weight: 700;
}
.login-panel h1 {
margin: 0 0 8px;
font-size: 26px;
@@ -3019,10 +3013,6 @@ section.work-area:has(> .lead-toolbar) .empty-row {
@apply w-full max-w-md rounded-2xl border border-white/80 bg-white/95 p-8 shadow-xl;
}
.login-kicker {
@apply mb-1 w-fit rounded-full border border-teal-200 bg-teal-50 px-3 py-1 text-xs font-bold text-teal-700;
}
.login-panel h3 {
@apply text-3xl font-black leading-tight text-slate-950;
}