diff --git a/public/assets/icons/location-pin-icon.svg b/public/assets/icons/location-pin-icon.svg new file mode 100644 index 0000000..1501495 --- /dev/null +++ b/public/assets/icons/location-pin-icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/app/(agent)/agent/dashboard/component/ExperienceSection.tsx b/src/app/(agent)/agent/dashboard/component/ExperienceSection.tsx index 0c2868d..f8b8f57 100644 --- a/src/app/(agent)/agent/dashboard/component/ExperienceSection.tsx +++ b/src/app/(agent)/agent/dashboard/component/ExperienceSection.tsx @@ -16,86 +16,24 @@ interface ExperienceSectionProps { export function ExperienceSection({ experience }: ExperienceSectionProps) { return ( - <> - {/* Desktop Layout */} -
-

Experience

-
- {/* Left Column */} -
-
-

Years in Experience

-
    -
  • {experience.years}
  • -
-
-
-

Number of contract closed

-
    -
  • {experience.contracts}
  • -
-
-
-

Licensing & Areas

-
- {experience.licensingAreas.map((area, idx) => ( - - {area} - - ))} - +3 More -
-
-
- - {/* Divider */} -
- - {/* Right Column */} -
-
-

Areas in expertise & Years

-
- {experience.expertiseYears.slice(0, 4).map((item, idx) => ( - - {item.area} – {item.years} - - ))} - +3More -
-
-
-

Certifications

-
    - {experience.certifications.map((cert, idx) => ( -
  • - • {cert.name} -

    {cert.org}

    -
  • - ))} -
-
-
-
-
- - {/* Mobile Layout */} -
-

Experience

-
-
+
+

Experience

+
+ {/* Left Column */} +
+

Years in Experience

-
    +
    • {experience.years}
-
+

Number of contract closed

-
    +
    • {experience.contracts}
-
+

Licensing & Areas

{experience.licensingAreas.map((area, idx) => ( @@ -103,22 +41,26 @@ export function ExperienceSection({ experience }: ExperienceSectionProps) { {area} ))} - - +3 More - + +3 More
-
+
+ + {/* Divider - Hidden on mobile, visible on desktop */} +
+
+ + {/* Right Column */} +
+

Areas in expertise & Years

- {experience.expertiseYears.map((item, idx) => ( - + {experience.expertiseYears.slice(0, 4).map((item, idx) => ( + {item.area} – {item.years} ))} - - +3More - + +3More
@@ -126,14 +68,14 @@ export function ExperienceSection({ experience }: ExperienceSectionProps) {
    {experience.certifications.map((cert, idx) => (
  • - • {cert.name} -

    {cert.org}

    + • {cert.name} +

    {cert.org}

  • ))}
- +
); } diff --git a/src/app/(agent)/agent/dashboard/page.tsx b/src/app/(agent)/agent/dashboard/page.tsx index dff4c45..647ef4f 100644 --- a/src/app/(agent)/agent/dashboard/page.tsx +++ b/src/app/(agent)/agent/dashboard/page.tsx @@ -76,139 +76,13 @@ export default function AgentDashboard() { return (
- {/* Mobile: Profile Image at Top */} -
- {/* Profile Image */} -
-
- Profile - {/* Gradient Overlay */} -
-
- {/* Edit Icon - Top Right Outside */} - -
- - {/* Available/Unavailable Buttons */} -
-
-
- - Available. -
- -
-
-
- - Unavailable. -
- -
-
- - {/* Contact Info Card */} -
-
- Email: - ********brian@gmail.com -
-
- Ph.No: - {agentData.phone} - -
-
- - {/* Name and Info - Centered for Mobile */} -
-
-

- {firstName}{' '} - {lastName} -

- {agentData.isVerified && ( - <> - Verified - - (Verified Expert) - - - )} - -
-

{agentData.title}

-
- - Location - {agentData.location} - - - Calendar - Member Since {agentData.memberSince} - -
-
- - {/* Bio - Centered for Mobile */} -

- {agentData.bio} -

-
- - {/* Desktop: Original Layout - Sidebar + Right Content (Profile + Experience) */} -
+ {/* Main Layout - Responsive: Column on mobile, Row on desktop */} +
{/* Left Sidebar - Status & Contact */} -
+
{/* Profile Image */} -
-
+
+
Profile {/* Status Buttons */} -
-
+
+
Available. @@ -241,7 +115,7 @@ export default function AgentDashboard() { Connect
-
+
Unavailable. @@ -253,7 +127,7 @@ export default function AgentDashboard() {
{/* Contact Info */} -
+
Email: ********brain@gmail.com @@ -281,14 +155,14 @@ export default function AgentDashboard() {
- {/* Right Content - Profile Info + Experience */} + {/* Right Content - Profile Info + Experience + All Sections */}
{/* Profile Card */}
{/* Name and Actions Row */}
-
-
+
+

{firstName}{' '} {lastName} @@ -308,7 +182,7 @@ export default function AgentDashboard() { )}

{agentData.title}

-
+
Location {agentData.location} @@ -339,7 +213,7 @@ export default function AgentDashboard() {
{/* Action Buttons */} -
+