feat: add light website intro motion

This commit is contained in:
boos
2026-06-06 18:29:10 +08:00
parent def8d7a204
commit 4b757b8250
4 changed files with 276 additions and 86 deletions
+33
View File
@@ -139,6 +139,38 @@ const controlSignals = [
"工作空间归档",
];
const bootLines = [
"初始化统一模型网关",
"加载 Claude Messages 与 OpenAI 兼容入口",
"同步 Comfy Cloud / RunningHub 工作流后端",
"准备日志、计费和工作空间归档",
];
function BootScreen() {
return (
<div className="boot-screen" aria-hidden="true">
<div className="boot-frame">
<div className="boot-brand">
<span className="boot-mark" />
<strong>BossAI</strong>
</div>
<div className="boot-rule" />
<div className="boot-lines">
{bootLines.map((line) => (
<p key={line}>
<span />
{line}
</p>
))}
</div>
<div className="boot-progress">
<span />
</div>
</div>
</div>
);
}
function FlowGlyph() {
return (
<svg className="flow-glyph" viewBox="0 0 520 360" aria-hidden="true">
@@ -233,6 +265,7 @@ export default function Home() {
return (
<BossAiMotion>
<main className="site-shell">
<BootScreen />
<div className="site-noise" aria-hidden="true" />
<header className="site-nav" data-motion="nav">
<Link className="brand-mark" href="/" aria-label="BossAI 首页">