chore: update CommonHeader logo comment and profile edit menu label

This commit is contained in:
pradeepkumar
2026-05-05 22:51:57 +05:30
parent 84605b99ea
commit 026fbc348e

View File

@@ -53,7 +53,7 @@ export function CommonHeader() {
// Use fetched profile image, fallback to session image // Use fetched profile image, fallback to session image
const userImage = profileImage || session?.user?.image; const userImage = profileImage || session?.user?.image;
// Logo destination — always lands on the user home / dashboard regardless of role. // Logo destination — always lands on the user dashboard regardless of role.
const dashboardLink = '/user/dashboard'; const dashboardLink = '/user/dashboard';
return ( return (
@@ -229,8 +229,8 @@ export function CommonHeader() {
className="flex items-center gap-3 px-4 py-3 border-b border-black/10 hover:bg-black/5 transition-colors" className="flex items-center gap-3 px-4 py-3 border-b border-black/10 hover:bg-black/5 transition-colors"
onClick={() => setShowProfileMenu(false)} onClick={() => setShowProfileMenu(false)}
> >
<Image src="/assets/icons/edit-icon.svg" alt="Edit profile" width={24} height={24} /> <Image src="/assets/icons/edit-icon.svg" alt="Edit Page" width={24} height={24} />
<p className="font-fractul text-[16px] leading-[18px] text-black">Edit profile</p> <p className="font-fractul text-[16px] leading-[18px] text-black">Edit Page</p>
</Link> </Link>
)} )}