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
@@ -0,0 +1,20 @@
import { MobileShell } from "./mobile-shell";
import styles from "./page-loading-fallback.module.css";
export interface PageLoadingFallbackProps {
children: string;
background?: string;
tone?: "neutral" | "dark" | "warm";
}
export function PageLoadingFallback({
children,
background,
tone = "neutral",
}: PageLoadingFallbackProps) {
return (
<MobileShell background={background}>
<div className={`${styles.content} ${styles[tone]}`}>{children}</div>
</MobileShell>
);
}