feat: Add user profile page and new modular profile components, integrating them into the agent dashboard.
This commit is contained in:
@@ -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 */}
|
||||
|
||||
Reference in New Issue
Block a user