mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2026-02-03 10:34:43 +08:00
[offers][feat] add job type for dashboard cards (#503)
This commit is contained in:
@@ -5,6 +5,7 @@ import {
|
||||
} from '@heroicons/react/20/solid';
|
||||
import { JobType } from '@prisma/client';
|
||||
|
||||
import { JobTypeLabel } from '~/components/offers/constants';
|
||||
import type { JobTitleType } from '~/components/shared/JobTitles';
|
||||
import { getLabelForJobTitleType } from '~/components/shared/JobTitles';
|
||||
|
||||
@@ -33,7 +34,8 @@ export default function DashboardProfileCard({
|
||||
<div className="flex items-end justify-between">
|
||||
<div className="col-span-1 row-span-3">
|
||||
<h4 className="font-medium">
|
||||
{getLabelForJobTitleType(title as JobTitleType)}
|
||||
{getLabelForJobTitleType(title as JobTitleType)}{' '}
|
||||
{jobType && <>({JobTypeLabel[jobType]})</>}
|
||||
</h4>
|
||||
<div className="mt-1 flex flex-col sm:mt-0 sm:flex-row sm:flex-wrap sm:space-x-4">
|
||||
{company?.name && (
|
||||
|
||||
Reference in New Issue
Block a user