feat(ui): replace emoji icons with lucide-react icon components
This commit is contained in:
@@ -1,16 +1,6 @@
|
||||
"use client";
|
||||
/**
|
||||
* Splash 底部按钮组
|
||||
*
|
||||
* 本组件是 splash 鉴权流程的纯 UI 入口:
|
||||
* - 消费 `useAuthState` / `useAuthDispatch`(仅用于 isLoading 显示 + 派事件)
|
||||
* - Skip 按钮 = 显式游客登录入口(派发 `AuthGuestLoginSubmitted`)
|
||||
* - 社交登录按钮仅派发 `AuthFacebookLoginSubmitted` 事件,由状态机负责调 NextAuth
|
||||
*
|
||||
* 派事件策略(单事件):
|
||||
* - 派业务事件(`AuthGuestLoginSubmitted` / `AuthFacebookLoginSubmitted`)→ 状态机开始跑
|
||||
* - `pendingRedirect: true` 在登录成功 onDone 里自动置(auth-machine.ts `onLoginSuccess` helper)
|
||||
* - splash-screen 看到 flag=true + loginStatus 非 notLoggedIn → 跳 /chat
|
||||
*/
|
||||
import { useAuthDispatch, useAuthState } from "@/stores/auth/auth-context";
|
||||
import { LoadingIndicator } from "@/app/_components/core/loading-indicator";
|
||||
|
||||
Reference in New Issue
Block a user