auto-save 2026-05-21 15:15 (+2, ~3)

This commit is contained in:
2026-05-21 15:15:07 +08:00
parent b82dad4aa8
commit 7bb4f3ea9f
5 changed files with 30 additions and 18 deletions

View File

@@ -133,7 +133,7 @@ export default function AgentPage() {
}
}
const activeStageIndex = Math.max(0, STAGES.findIndex((item) => item.key === run?.stage))
const activeStageIndex = run ? Math.max(0, STAGES.findIndex((item) => item.key === run.stage)) : -1
const canStart = !!url.trim() && !submitting
const videoSrc = runVideoUrl(run)
const contactSrc = runContactUrl(run)
@@ -144,7 +144,7 @@ export default function AgentPage() {
<header className="flex items-center justify-between rounded-[28px] border border-black/5 bg-white/80 px-5 py-4 shadow-[0_24px_80px_rgba(20,25,38,0.08)] backdrop-blur-xl">
<div>
<div className="text-[12px] font-semibold uppercase tracking-[0.18em] text-[#7b8190]">SKG Agent Cut</div>
<h1 className="mt-1 text-[26px] font-semibold tracking-0 text-[#111318]"></h1>
<h1 className="mt-1 text-[26px] font-semibold tracking-normal text-[#111318]"></h1>
</div>
<div className="hidden items-center gap-2 rounded-full bg-[#111318] px-3 py-2 text-[12px] font-medium text-white md:flex">
<TerminalSquare className="h-4 w-4 text-[#81d4ff]" />