feat: Implement custom scrollbar, refine agent profile edit navigation, and enhance quick link scrolling on the agent edit page.
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
|
||||
import { useSession } from 'next-auth/react';
|
||||
import Image from 'next/image';
|
||||
import Link from 'next/link';
|
||||
|
||||
// Import components from component folder
|
||||
import {
|
||||
@@ -104,17 +103,14 @@ export default function AgentDashboard() {
|
||||
<div className="absolute inset-0 bg-gradient-to-t from-black/50 via-black/20 to-transparent pointer-events-none" />
|
||||
</div>
|
||||
{/* Edit Icon - Top Right Outside */}
|
||||
<Link
|
||||
href="/agent/edit"
|
||||
className="absolute -top-3 -right-3 w-9 h-9 bg-white rounded-[10px] shadow-md flex items-center justify-center hover:bg-gray-50 transition-colors"
|
||||
>
|
||||
<button className="absolute -top-3 -right-3 w-9 h-9 bg-white rounded-[10px] shadow-md flex items-center justify-center hover:bg-gray-50 transition-colors">
|
||||
<Image
|
||||
src="/assets/icons/edit-icon.svg"
|
||||
alt="Edit profile"
|
||||
alt="Edit profile image"
|
||||
width={20}
|
||||
height={20}
|
||||
/>
|
||||
</Link>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
{/* Status Buttons */}
|
||||
|
||||
Reference in New Issue
Block a user