brandapp-ui
Session Expired Dialog
brandapp-ui - Session Modal
SessionExpiredDialog
세션 상태에 따라 Avatar + Dropdown(로그아웃) 또는 로그인 버튼을 렌더하는 사용자 메뉴. 로딩/비로그인/로그인 3-state 를 자동 분기합니다.
로딩
authClient.useSession()의 isPending 단계. SkeletonAvatar로 placeholder 표시.
비로그인
session === null. 그라디언트 로그인 버튼 클릭 시 signInWithReopt 호출.
로그인
Avatar + Dropdown. 메뉴 내 user.name / user.email 표시 + destructive 로그아웃.
authClient.useSession() 반환값으로 상태를 자동 판단합니다. 이 데모는 상태를 수동 토글로 시연합니다.