feat: Implement agent profile editing page with new form components, icons, and dashboard integration.

This commit is contained in:
pradeepkumar
2026-01-18 21:21:17 +05:30
parent ba1594e24e
commit 5fc28117d2
27 changed files with 1116 additions and 30 deletions

View File

@@ -2,6 +2,7 @@
import { useSession } from 'next-auth/react';
import Image from 'next/image';
import Link from 'next/link';
// Import components from component folder
import {
@@ -103,14 +104,17 @@ 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 */}
<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">
<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"
>
<Image
src="/assets/icons/edit-icon.svg"
alt="Edit profile"
width={20}
height={20}
/>
</button>
</Link>
</div>
{/* Status Buttons */}