diff --git a/apps/portal/src/components/offers/dashboard/DashboardOfferCard.tsx b/apps/portal/src/components/offers/dashboard/DashboardOfferCard.tsx index 1085b7e9..56685302 100644 --- a/apps/portal/src/components/offers/dashboard/DashboardOfferCard.tsx +++ b/apps/portal/src/components/offers/dashboard/DashboardOfferCard.tsx @@ -6,6 +6,7 @@ import { import { JobType } from '@prisma/client'; import { JobTypeLabel } from '~/components/offers/constants'; +import CompanyProfileImage from '~/components/shared/CompanyProfileImage'; import type { JobTitleType } from '~/components/shared/JobTitles'; import { getLabelForJobTitleType } from '~/components/shared/JobTitles'; @@ -31,8 +32,13 @@ export default function DashboardProfileCard({ }: Props) { return (
{jobType === JobType.FULLTIME ? `${convertMoneyToString(income)} / year` diff --git a/apps/portal/src/components/offers/profile/OfferCard.tsx b/apps/portal/src/components/offers/profile/OfferCard.tsx index fd4336dc..ea844207 100644 --- a/apps/portal/src/components/offers/profile/OfferCard.tsx +++ b/apps/portal/src/components/offers/profile/OfferCard.tsx @@ -9,6 +9,7 @@ import { JobType } from '@prisma/client'; import { JobTypeLabel } from '~/components/offers/constants'; import { InternshipCycleValuesToLabels } from '~/components/offers/InternshipCycles'; import type { OfferDisplayData } from '~/components/offers/types'; +import CompanyProfileImage from '~/components/shared/CompanyProfileImage'; import { getLocationDisplayText } from '~/utils/offers/string'; import { getDurationDisplayText } from '~/utils/offers/time'; @@ -21,7 +22,7 @@ export default function OfferCard({ offer: { base, bonus, - companyName, + company, duration, internshipCycle, jobTitle, @@ -40,19 +41,26 @@ export default function OfferCard({ function UpperSection() { return (
Current: - {`${experiences[0].companyName || ''} ${ + {`${experiences[0].company?.name || ''} ${ experiences[0].jobLevel || '' } ${experiences[0].jobTitle || ''} ${ experiences[0].jobType diff --git a/apps/portal/src/components/offers/table/OffersRow.tsx b/apps/portal/src/components/offers/table/OffersRow.tsx index 38961d7d..34300361 100644 --- a/apps/portal/src/components/offers/table/OffersRow.tsx +++ b/apps/portal/src/components/offers/table/OffersRow.tsx @@ -2,6 +2,7 @@ import clsx from 'clsx'; import Link from 'next/link'; import { JobType } from '@prisma/client'; +import CompanyProfileImage from '~/components/shared/CompanyProfileImage'; import type { JobTitleType } from '~/components/shared/JobTitles'; import { getLabelForJobTitleType } from '~/components/shared/JobTitles'; @@ -34,10 +35,19 @@ export default function OfferTableRow({ }: OfferTableRowProps) { return (
- Save your offer profiles to your dashboard to easily access and - edit them later. + Save offer profiles to your dashboard to easily access and edit + them later.
-Loading profile...