feat(遊戲化): 新增大廳、附身、時間流、後日談進度等遊戲化系統功能
新增角色大廳(lobby)邀約與通話、附身(possession)、時鐘(clock)抽象、 時間流與睡眠負債、後日談進度、行為選擇與旁觀反應等模組,並補齊對應冒煙 測試(R~V)與單元測試;同步調整 web/mobile 對應頁面與元件。 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
+3
-17
@@ -1,20 +1,6 @@
|
||||
import Link from "next/link";
|
||||
import { HeartbeatWave } from "../components/HeartbeatWave";
|
||||
import { redirect } from "next/navigation";
|
||||
|
||||
// T19-P2:首頁改為導向大廳——大廳是遊戲化改版後的常駐入口,不再停在單一角色的固定 1:1 聊天。
|
||||
export default function Home() {
|
||||
return (
|
||||
<main className="flex flex-1 flex-col items-center justify-center gap-8 p-8">
|
||||
<h1 className="text-4xl font-bold tracking-wide">
|
||||
心音 <span className="text-[var(--color-heartbeat-pink)]">Kokorone</span>
|
||||
</h1>
|
||||
<HeartbeatWave amplitude={60} className="w-full max-w-md text-[var(--color-heartbeat-pink)]" />
|
||||
<Link
|
||||
href="/chat"
|
||||
className="rounded-full px-6 py-2 text-sm font-bold text-white"
|
||||
style={{ background: "var(--accent-bright)" }}
|
||||
>
|
||||
開始聊天
|
||||
</Link>
|
||||
</main>
|
||||
);
|
||||
redirect("/lobby");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user