diff --git a/frontend/src/components/login/CosmosView.tsx b/frontend/src/components/login/CosmosView.tsx index 09329f6..850c16e 100644 --- a/frontend/src/components/login/CosmosView.tsx +++ b/frontend/src/components/login/CosmosView.tsx @@ -9,8 +9,8 @@ const KEYFRAMES = ` } @keyframes meteor-fly { - 0% { transform: translateX(0) translateY(0) rotate(-45deg); opacity: 1; } - 100% { transform: translateX(600px) translateY(600px) rotate(-45deg); opacity: 0; } + 0% { transform: translateX(0) translateY(0) rotate(-135deg); opacity: 1; } + 100% { transform: translateX(-600px) translateY(600px) rotate(-135deg); opacity: 0; } } @keyframes planet-rotate { @@ -37,9 +37,9 @@ const KEYFRAMES = ` } @keyframes shooting-star { - 0% { transform: translateX(0) translateY(0) rotate(-35deg) scaleX(1); opacity: 1; } + 0% { transform: translateX(0) translateY(0) rotate(-125deg) scaleX(1); opacity: 1; } 70% { opacity: 0.6; } - 100% { transform: translateX(500px) translateY(500px) rotate(-35deg) scaleX(0.5); opacity: 0; } + 100% { transform: translateX(-500px) translateY(500px) rotate(-125deg) scaleX(0.5); opacity: 0; } } `; @@ -196,17 +196,17 @@ export default function CosmosView(): JSX.Element { /> ))} - {/* ── 流星 ── */} + {/* ── 流星:从右上向左下飞,头部亮尾部暗 ── */}
- {/* ========== Left 40% — Deep Sea Scene ========== */} +
+ {/* Left Panel — 38% Brand Area */}
- {/* --- Deep-sea light shafts --- */} + {/* Subtle decorative gradient orb */}
-
-
- {/* --- 5 Wave layers --- */} - {waveLayers.map((wave, i) => ( + {/* Top brand section */} +
+ {/* Logo mark */}
- ))} + > + + + + + +
- {/* --- 15 Bioluminescent particles --- */} - {biolumParticles.map((p, i) => ( -
- ))} - - {/* --- Brand content (left-aligned, bottom section) --- */} -
- {/* Main title */} -
- SQL审核平台 -
- {/* Subtitle */} -
- 让数据安全如深海般沉静 -
- {/* Feature pills */} -
- {featurePills.map((pill) => ( - - {pill} - - ))} + {/* Stacked large text — left aligned */} +
+
+ SQL审核 +
+
+ 平台 +
+

+ 企业级数据库审核与合规管理解决方案,为团队提供安全可靠的数据管理体验。 +

- {/* --- Keyframes (ocean- prefix) --- */} - + {/* Bottom feature pills */} +
+ {features.map((tag) => ( + + {tag} + + ))} +
- {/* ========== Right 60% — Login Form ========== */} + {/* Right Panel — 62% Login Form */}
- {/* Form title */} -

+

欢迎回来

-

- 登录你的工作空间 +

+ 登录以继续

- {/* Error message */} {error && ( -
+
{error}
)} - {/* Username field */}
-
- {/* Password field */} -
-