diff --git a/client/pages/dashboards/NexusDashboard.tsx b/client/pages/dashboards/NexusDashboard.tsx index 6b32d46c..a8623e07 100644 --- a/client/pages/dashboards/NexusDashboard.tsx +++ b/client/pages/dashboards/NexusDashboard.tsx @@ -372,41 +372,28 @@ export default function NexusDashboard() { {/* Applications Tab */} - - - My Applications - Track all your bids and applications - - - {applications.length === 0 ? ( -
- -

No applications submitted yet

- -
- ) : ( -
- {applications.map((app: any) => ( -
-
-
-

{app.opportunity?.title}

-

{app.opportunity?.description?.substring(0, 100)}...

-
- {app.status} -
-
- Proposed: ${app.proposed_rate?.toLocaleString()}/hr - Submitted {new Date(app.created_at).toLocaleDateString()} -
-
- ))} -
- )} -
-
+ ({ + id: a.id, + opportunity: a.opportunity, + status: a.status || "submitted", + proposed_rate: a.proposed_rate, + proposed_rate_type: a.proposed_rate_type || "hourly", + cover_letter: a.cover_letter, + created_at: a.created_at, + }))} + title="My Job Applications" + description="Track all your bids and applications" + accentColor="purple" + onViewDetails={(app) => { + if (app.opportunity?.id) { + navigate(`/opportunities/${app.opportunity.id}`); + } + }} + showCTA={applications.length < 5} + ctaText="Browse More Opportunities" + onCTA={() => navigate("/nexus")} + />
{/* Contracts Tab */}