diff --git a/apps/portal/src/components/offers/dashboard/DashboardProfileCard.tsx b/apps/portal/src/components/offers/dashboard/DashboardProfileCard.tsx index 854686eb..a4e82b69 100644 --- a/apps/portal/src/components/offers/dashboard/DashboardProfileCard.tsx +++ b/apps/portal/src/components/offers/dashboard/DashboardProfileCard.tsx @@ -63,7 +63,7 @@ export default function DashboardProfileCard({ {profileName}
- Created at {formatDate(createdAt)} + Created in {formatDate(createdAt)}
diff --git a/apps/portal/src/components/offers/offerAnalysis/OfferProfileCard.tsx b/apps/portal/src/components/offers/offerAnalysis/OfferProfileCard.tsx index 37f85f8d..ae0d678b 100644 --- a/apps/portal/src/components/offers/offerAnalysis/OfferProfileCard.tsx +++ b/apps/portal/src/components/offers/offerAnalysis/OfferProfileCard.tsx @@ -1,4 +1,10 @@ import { + ArrowTrendingUpIcon, + BuildingOfficeIcon, + MapPinIcon, +} from '@heroicons/react/20/solid'; +import { + ArrowTopRightOnSquareIcon, BuildingOffice2Icon, CalendarDaysIcon, } from '@heroicons/react/24/outline'; @@ -7,9 +13,8 @@ import { JobType } from '@prisma/client'; import type { JobTitleType } from '~/components/shared/JobTitles'; import { getLabelForJobTitleType } from '~/components/shared/JobTitles'; -import { HorizontalDivider } from '~/../../../packages/ui/dist'; +import { Button } from '~/../../../packages/ui/dist'; import { convertMoneyToString } from '~/utils/offers/currency'; -import { getCompanyDisplayText } from '~/utils/offers/string'; import { formatDate } from '~/utils/offers/time'; import { JobTypeLabel } from '../constants'; @@ -36,52 +41,109 @@ export default function OfferProfileCard({ profileId, }, }: OfferProfileCardProps) { - return ( - -{profileName}
- {previousCompanies.length > 0 && ( -
+
- {getLabelForJobTitleType(title as JobTitleType)}{' '} - {`(${JobTypeLabel[jobType]})`} -
-{`Company: ${getCompanyDisplayText(company.name, location)}`}
- {level &&Level: {level}
} -{formatDate(monthYearReceived)}
-- {jobType === JobType.FULLTIME - ? `${convertMoneyToString(income)} / year` - : `${convertMoneyToString(income)} / month`} -
+ function BottomSection() { + return ( ++ {jobType === JobType.FULLTIME + ? `${convertMoneyToString(income)} / year` + : `${convertMoneyToString(income)} / month`} +
++ {formatDate(monthYearReceived)} +
+