Bottom nav: rename Me→Profile, link to settings root instead of edit profile
- "Me" label renamed to "Profile" — clearer intent - Link changed from /settings?section=profile to /settings — lands on the settings root menu so users see all options, not just the edit form Co-authored-by: shakespeare.diy <assistant@shakespeare.diy>
This commit is contained in:
parent
f48844b495
commit
ceff6962ec
1 changed files with 3 additions and 3 deletions
|
|
@ -298,9 +298,9 @@ function MobileNav({
|
||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
|
|
||||||
{/* Profile / Login tab — goes straight to profile section when logged in */}
|
{/* Profile / Login tab — always lands on Settings root */}
|
||||||
<Link
|
<Link
|
||||||
to={isLoggedIn ? "/settings?section=profile" : "/settings"}
|
to="/settings"
|
||||||
className={cn(
|
className={cn(
|
||||||
'relative flex flex-col items-center justify-center gap-0.5 py-1.5 px-1 rounded-xl transition-all duration-150 flex-1 touch-manipulation active:scale-90',
|
'relative flex flex-col items-center justify-center gap-0.5 py-1.5 px-1 rounded-xl transition-all duration-150 flex-1 touch-manipulation active:scale-90',
|
||||||
isActive('/settings') ? 'text-[#ff0040]' : 'text-gray-500'
|
isActive('/settings') ? 'text-[#ff0040]' : 'text-gray-500'
|
||||||
|
|
@ -326,7 +326,7 @@ function MobileNav({
|
||||||
<User className="h-[22px] w-[22px]" />
|
<User className="h-[22px] w-[22px]" />
|
||||||
)}
|
)}
|
||||||
<span className="text-[9px] xs:text-[10px] font-semibold leading-tight tracking-wide uppercase">
|
<span className="text-[9px] xs:text-[10px] font-semibold leading-tight tracking-wide uppercase">
|
||||||
{isLoggedIn ? 'Me' : 'Log In'}
|
{isLoggedIn ? 'Profile' : 'Log In'}
|
||||||
</span>
|
</span>
|
||||||
</Link>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue