feat(web): 前端共享基础(focusRing/proseBody/text-2xs + useBodyScrollLock + Toast撤销 + error/not-found/loading路由边界)

This commit is contained in:
Yaojia Wang
2026-06-30 08:35:52 +02:00
parent 69f3c2a29b
commit a22a16c9c4
9 changed files with 245 additions and 23 deletions

9
apps/web/app/loading.tsx Normal file
View File

@@ -0,0 +1,9 @@
import { ThinkingIndicator } from "@/components/ThinkingIndicator";
export default function Loading() {
return (
<main className="flex min-h-screen items-center justify-center bg-bg px-6 py-16">
<ThinkingIndicator label="加载中…" className="text-ink-soft" />
</main>
);
}