diff --git a/client/pages/dashboards/NexusDashboard.tsx b/client/pages/dashboards/NexusDashboard.tsx index ce75ff9b..eaa15c6d 100644 --- a/client/pages/dashboards/NexusDashboard.tsx +++ b/client/pages/dashboards/NexusDashboard.tsx @@ -627,41 +627,49 @@ export default function NexusDashboard() { {/* Opportunities Tab */} - - - My Posted Opportunities - Manage your job postings - - - {postedOpportunities.length === 0 ? ( -
- -

No opportunities posted yet

- -
- ) : ( -
- {postedOpportunities.map((opp: any) => ( -
-
-
-

{opp.title}

-

{opp.description?.substring(0, 100)}...

-
- {opp.status} -
-
- Budget: ${opp.budget?.toLocaleString()} - {opp.applications_count || 0} applications -
-
- ))} -
- )} -
-
+ ({ + id: o.id, + title: o.title, + description: o.description, + category: o.category, + budget: o.budget, + status: o.status || "open", + applications_count: o.applications_count, + created_at: o.created_at, + deadline: o.deadline, + required_skills: o.required_skills, + experience_level: o.experience_level, + }))} + title="My Posted Opportunities" + description="Manage your job postings and track applications" + accentColor="blue" + onViewApplications={(oppId) => { + navigate(`/opportunities/${oppId}/applications`); + }} + onViewDetails={(oppId) => { + navigate(`/opportunities/${oppId}`); + }} + onEdit={(oppId) => { + navigate(`/opportunities/${oppId}/edit`); + }} + /> + + {postedOpportunities.length === 0 && ( + + +

Start Hiring Talent

+

Post opportunities and find the perfect creators for your projects

+ +
+
+ )}
{/* Applicants Tab - Kanban Style */}