refactor: simplify payment workflow by removing amount input and update sidebar profile navigation

This commit is contained in:
sazzadulalambd
2026-05-19 16:00:27 +06:00
parent 3edcfbc654
commit 3297daf124
3 changed files with 80 additions and 109 deletions

View File

@@ -215,7 +215,7 @@ export default function Sidebar() {
</nav>
<div className="absolute bottom-0 left-0 right-0 p-3 border-t border-slate-100 bg-white">
<Link href="/admin/users/USR-001" className="flex items-center gap-3 px-3 py-2 hover:bg-slate-50 rounded-lg -mx-1">
<Link href={isInvestor ? '/investor/profile' : '/admin/users/USR-001'} className="flex items-center gap-3 px-3 py-2 hover:bg-slate-50 rounded-lg -mx-1">
<div className="w-8 h-8 rounded-full bg-accent-light flex items-center justify-center">
<span className="text-sm font-bold text-accent">{userName.charAt(0).toUpperCase()}</span>
</div>