Skip to content

Commit

Permalink
asd
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasdavis committed Jan 12, 2025
1 parent c1ab4a6 commit f9d97ef
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions apps/registry/app/[username]/jobs-graph/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,28 @@ export default function Jobs({ params }) {
</button>
</div>
{formatTooltip(jobInfo[activeNode.id])}
<div className="mt-2 flex items-center justify-between gap-2">
<div className="flex-1">
<p className="text-sm text-gray-500">
{jobInfo[activeNode.id]?.location?.city || 'Remote'}{' '}
{jobInfo[activeNode.id]?.type || ''}
</p>
</div>
<a
href={`/jobs/${activeNode.id}`}
target="_blank"
rel="noopener noreferrer"
className="px-3 py-1 text-sm font-medium text-white bg-blue-600 rounded-md hover:bg-blue-700 transition-colors"
onClick={(e) => e.stopPropagation()}
>
View Details
</a>
</div>
{jobInfo[activeNode.id]?.salary && (
<p className="text-sm text-gray-500 mt-1">
Salary: {jobInfo[activeNode.id].salary}
</p>
)}
</div>
</div>
)}
Expand Down

0 comments on commit f9d97ef

Please sign in to comment.