feat: Add user profile page and new modular profile components, integrating them into the agent dashboard.

This commit is contained in:
pradeepkumar
2026-01-20 12:17:47 +05:30
parent c8647fbf5c
commit a4dc8bb0fa
14 changed files with 826 additions and 2 deletions

View File

@@ -3,7 +3,7 @@
import { useSession } from 'next-auth/react';
import Image from 'next/image';
// Import components from component folder
// Import shared components
import {
InfoCard,
ExperienceSection,
@@ -12,7 +12,7 @@ import {
TestimonialsSection,
StatusButtons,
ContactInfo,
} from './component';
} from '@/components/profile';
// Mock agent data - in production, this would come from API
const agentData = {
@@ -132,6 +132,10 @@ export default function AgentDashboard() {
memberSince={agentData.memberSince}
bio={agentData.bio}
expertise={agentData.expertise}
showEditButton={true}
editHref="/agent/edit"
messageHref="/agent/message"
requestsHref="/agent/network"
/>
{/* Experience Section */}