diff --git a/src/components/Header.tsx b/src/components/Header.tsx index 59f4440..75118b9 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -240,18 +240,25 @@ export default function Header() { {/* Language Switcher — Section 18B */}
- - {currentUserId ? "My Account" : "Sign In"} - {!currentUserId && ( - - Register - + <> + + Sign In + + + Register + + )} {currentUserId && ( - - My Profile - + <> + + My Account + + + My Profile + + )} {isAdmin && ( <> @@ -457,16 +464,40 @@ export default function Header() { Reading List - {/* Account mobile link */} - setMobileOpen(false)}> - - Account - + {/* Account / Sign In / Register — anonymous vs authenticated */} + {!currentUserId && ( + <> + setMobileOpen(false)}> + + Sign In + + setMobileOpen(false)}> + + Register + + + )} + {currentUserId && ( + setMobileOpen(false)}> + + My Account + + )} {/* WP Import mobile link */} {isAdmin && (