feat(splash): add latest message entry

This commit is contained in:
2026-07-08 17:05:36 +08:00
parent c46b9b4cdd
commit 2704c7f307
10 changed files with 274 additions and 73 deletions
+6 -21
View File
@@ -4,16 +4,14 @@ import type { CSSProperties } from "react";
import { useEffect, useMemo, useRef } from "react";
import Image from "next/image";
import {
Camera,
ImageIcon,
LockKeyhole,
MessageCircle,
RefreshCw,
Sparkles,
} from "lucide-react";
import type { PrivateRoomMoment } from "@/data/dto/private-room";
import { MobileShell } from "@/app/_components/core";
import { AppBottomNav, MobileShell } from "@/app/_components/core";
import { useGuestLoginBootstrap } from "@/hooks/use-guest-login-bootstrap";
import { ROUTES } from "@/router/routes";
import { useAppNavigator } from "@/router/use-app-navigator";
@@ -235,24 +233,11 @@ export function PrivateRoomScreen() {
) : null}
</section>
<nav className={styles.bottomNav} aria-label="Private room navigation">
<button
type="button"
className={styles.navButton}
onClick={() => navigator.openChat({ replace: false })}
>
<MessageCircle size={20} aria-hidden="true" />
<span>Chat</span>
</button>
<button
type="button"
className={`${styles.navButton} ${styles.navButtonActive}`}
aria-current="page"
>
<Camera size={20} aria-hidden="true" />
<span>Elio Private room</span>
</button>
</nav>
<AppBottomNav
activeItem="privateRoom"
onChatClick={() => navigator.openChat({ replace: false })}
onPrivateRoomClick={() => undefined}
/>
{pendingMoment ? (
<UnlockConfirmDialog