forked from boos/BoosAPI
feat: refine BoosAPI console and user workspace
This commit is contained in:
+18
-38
@@ -211,37 +211,15 @@ 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>
|
||||
);
|
||||
}
|
||||
const navItems = [
|
||||
["platform", "平台能力"],
|
||||
["studio", "生产线"],
|
||||
["api", "API"],
|
||||
["workflow", "工作流"],
|
||||
["operations", "运营"],
|
||||
["factory", "创作"],
|
||||
["deploy", "部署"],
|
||||
] as const;
|
||||
|
||||
function HeroSystemStrip() {
|
||||
return (
|
||||
@@ -360,7 +338,6 @@ 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 首页">
|
||||
@@ -368,11 +345,9 @@ export default function Home() {
|
||||
<span>BossAI</span>
|
||||
</Link>
|
||||
<nav className="nav-links" aria-label="官网导航">
|
||||
<a href="#platform">平台能力</a>
|
||||
<a href="#api">API</a>
|
||||
<a href="#workflow">工作流</a>
|
||||
<a href="#operations">运营</a>
|
||||
<a href="#deploy">部署</a>
|
||||
{navItems.map(([id, label]) => (
|
||||
<a href={`#${id}`} key={id}>{label}</a>
|
||||
))}
|
||||
</nav>
|
||||
<div className="nav-actions">
|
||||
<Link className="ghost-link" href="/user/login">
|
||||
@@ -383,6 +358,11 @@ export default function Home() {
|
||||
</Link>
|
||||
</div>
|
||||
</header>
|
||||
<nav className="mobile-nav-rail" aria-label="官网移动导航" data-motion="mobile-nav">
|
||||
{navItems.map(([id, label]) => (
|
||||
<a href={`#${id}`} key={id}>{label}</a>
|
||||
))}
|
||||
</nav>
|
||||
|
||||
<section className="hero-section">
|
||||
<div className="hero-copy" data-motion="hero-copy">
|
||||
@@ -449,7 +429,7 @@ export default function Home() {
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className="studio-section" data-motion="section">
|
||||
<section id="studio" className="studio-section" data-motion="section">
|
||||
<div className="studio-copy">
|
||||
<span>Operating System</span>
|
||||
<h2>从模型供应到内容产出,形成一条能运营的生产线</h2>
|
||||
|
||||
Reference in New Issue
Block a user