From fd3ed1a01cb941dddae1e1881253a7ca82882013 Mon Sep 17 00:00:00 2001 From: Zhang Ziqing Date: Mon, 31 Oct 2022 11:03:53 +0800 Subject: [PATCH] [offers][style] fix offer card style --- .../components/offers/profile/OfferCard.tsx | 30 ++++++++++++------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/apps/portal/src/components/offers/profile/OfferCard.tsx b/apps/portal/src/components/offers/profile/OfferCard.tsx index 4678ea67..6d02f134 100644 --- a/apps/portal/src/components/offers/profile/OfferCard.tsx +++ b/apps/portal/src/components/offers/profile/OfferCard.tsx @@ -36,12 +36,14 @@ export default function OfferCard({
- + + + {location ? `${companyName}, ${location}` : companyName}
-
+

{jobLevel ? `${jobTitle}, ${jobLevel}` : jobTitle}{' '} {jobType && `(${JobTypeLabel[jobType]})`} @@ -79,15 +81,19 @@ export default function OfferCard({

{(totalCompensation || monthlySalary) && (
- -

- {totalCompensation && `TC: ${totalCompensation}`} - {monthlySalary && `Monthly Salary: ${monthlySalary}`} -

+ + + + +

+ {totalCompensation && `TC: ${totalCompensation}`} + {monthlySalary && `Monthly Salary: ${monthlySalary}`} +

+
)} {totalCompensation && ( -
+

Base / year: {base} ⋅ Stocks / year: {stocks} ⋅ Bonus / year:{' '} {bonus} @@ -98,7 +104,9 @@ export default function OfferCard({ {negotiationStrategy && (

- + + + "{negotiationStrategy}" @@ -108,7 +116,9 @@ export default function OfferCard({ {otherComment && (
- + + + "{otherComment}"