This commit is contained in:
eric
2026-03-12 03:55:17 -05:00
parent 7e8f0e3e40
commit 2a9bb8330c
18 changed files with 767 additions and 72 deletions

View File

@@ -8,12 +8,13 @@ type VipLayoutProps = {
children: ReactNode;
isLoggedIn: boolean;
userName?: string | null;
onLogout?: () => void;
};
export function VipLayout({ children, isLoggedIn, userName }: VipLayoutProps) {
export function VipLayout({ children, isLoggedIn, userName, onLogout }: VipLayoutProps) {
return (
<div className={styles.root}>
<VipHeader isLoggedIn={isLoggedIn} userName={userName} />
<VipHeader isLoggedIn={isLoggedIn} userName={userName} onLogout={onLogout} />
<main className={styles.main}>{children}</main>
</div>
);