refactor(app): split page orchestration flows

This commit is contained in:
2026-07-09 11:59:03 +08:00
parent bd840651a4
commit 41d0c121b2
14 changed files with 386 additions and 260 deletions
+4 -15
View File
@@ -1,8 +1,6 @@
"use client";
import { Suspense } from "react";
import { MobileShell } from "@/app/_components/core";
import { PageLoadingFallback } from "@/app/_components/core";
import { ChatScreen } from "@/app/chat/chat-screen";
export default function ChatPage() {
@@ -15,17 +13,8 @@ export default function ChatPage() {
function ChatFallback() {
return (
<MobileShell background="#111111">
<div
style={{
minHeight: "60vh",
display: "grid",
placeItems: "center",
color: "rgba(255, 255, 255, 0.72)",
}}
>
Loading chat...
</div>
</MobileShell>
<PageLoadingFallback background="#111111" tone="dark">
Loading chat...
</PageLoadingFallback>
);
}