From 132efa70cfc246da323dd4c435704d692d83530d Mon Sep 17 00:00:00 2001 From: pradeepkumar Date: Sun, 18 Jan 2026 20:28:09 +0530 Subject: [PATCH] style: Update agent dashboard UI by replacing icons, adding new SVG assets, and refining component styles and layout. --- .../assets/icons/availability-clock-icon.svg | 3 ++ public/assets/icons/testimonial-star-icon.svg | 3 ++ public/assets/icons/work-environment-icon.svg | 3 ++ .../dashboard/component/ExperienceSection.tsx | 12 ++++---- .../agent/dashboard/component/InfoCard.tsx | 2 +- .../component/SpecializationSection.tsx | 2 +- src/app/(agent)/agent/dashboard/page.tsx | 28 +++++++++---------- 7 files changed, 32 insertions(+), 21 deletions(-) create mode 100644 public/assets/icons/availability-clock-icon.svg create mode 100644 public/assets/icons/testimonial-star-icon.svg create mode 100644 public/assets/icons/work-environment-icon.svg diff --git a/public/assets/icons/availability-clock-icon.svg b/public/assets/icons/availability-clock-icon.svg new file mode 100644 index 0000000..c4d0cd9 --- /dev/null +++ b/public/assets/icons/availability-clock-icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/assets/icons/testimonial-star-icon.svg b/public/assets/icons/testimonial-star-icon.svg new file mode 100644 index 0000000..f35e846 --- /dev/null +++ b/public/assets/icons/testimonial-star-icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/assets/icons/work-environment-icon.svg b/public/assets/icons/work-environment-icon.svg new file mode 100644 index 0000000..011e861 --- /dev/null +++ b/public/assets/icons/work-environment-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 945aa5f..d54a523 100644 --- a/src/app/(agent)/agent/dashboard/component/ExperienceSection.tsx +++ b/src/app/(agent)/agent/dashboard/component/ExperienceSection.tsx @@ -27,6 +27,8 @@ export function ExperienceSection({ experience }: ExperienceSectionProps) {
  • {experience.years}
  • + {/* Horizontal divider */} +

    Number of contract closed

      @@ -56,7 +58,7 @@ export function ExperienceSection({ experience }: ExperienceSectionProps) {

      Areas in expertise & Years

      {experience.expertiseYears.slice(0, 4).map((item, idx) => ( - + {item.area} – {item.years} ))} @@ -64,12 +66,12 @@ export function ExperienceSection({ experience }: ExperienceSectionProps) {
    -

    Certifications

    +

    Certifications

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

      {cert.org}

      +
    • + • {cert.name} +

      {cert.org}

    • ))}
    diff --git a/src/app/(agent)/agent/dashboard/component/InfoCard.tsx b/src/app/(agent)/agent/dashboard/component/InfoCard.tsx index 7c14f49..01ee92c 100644 --- a/src/app/(agent)/agent/dashboard/component/InfoCard.tsx +++ b/src/app/(agent)/agent/dashboard/component/InfoCard.tsx @@ -10,7 +10,7 @@ export function InfoCard({ title, content, icon }: InfoCardProps) { return (
    {icon}
    - {title &&

    {title}

    } + {title &&

    {title}

    }
    {content}
    ); diff --git a/src/app/(agent)/agent/dashboard/component/SpecializationSection.tsx b/src/app/(agent)/agent/dashboard/component/SpecializationSection.tsx index 73253a3..8fbfecb 100644 --- a/src/app/(agent)/agent/dashboard/component/SpecializationSection.tsx +++ b/src/app/(agent)/agent/dashboard/component/SpecializationSection.tsx @@ -19,7 +19,7 @@ export function SpecializationSection({ specialization }: SpecializationSectionP return (
    -

    Specialization

    +

    Specialization

    Area Of Expertise and Focus

    diff --git a/src/app/(agent)/agent/dashboard/page.tsx b/src/app/(agent)/agent/dashboard/page.tsx index 4627602..a770dbd 100644 --- a/src/app/(agent)/agent/dashboard/page.tsx +++ b/src/app/(agent)/agent/dashboard/page.tsx @@ -136,46 +136,46 @@ export default function AgentDashboard() { title="Availability" icon={ Availability } content={
    -

    {agentData.availability.type}

    +

    {agentData.availability.type}

    {agentData.availability.days.map((day) => ( -

    {day}

    +

    {day}

    ))}
    } /> } - content={

    {agentData.preferredWorkEnvironment}

    } + content={

    {agentData.preferredWorkEnvironment}

    } /> } - content={

    “{agentData.testimonialHighlight}”

    } + content={

    “{agentData.testimonialHighlight}”

    } />