Fix offer card UI

pull/426/head
Ai Ling 3 years ago
parent bf35f97961
commit 2f05149d06

@ -72,18 +72,17 @@ export default function OfferCard({
<HorizontalDivider /> <HorizontalDivider />
<div className="px-8"> <div className="px-8">
<div className="flex flex-col py-2"> <div className="flex flex-col py-2">
{totalCompensation || {(totalCompensation || monthlySalary) && (
(monthlySalary && ( <div className="flex flex-row">
<div className="flex flex-row"> <CurrencyDollarIcon className="mr-1 h-5" />
<CurrencyDollarIcon className="mr-1 h-5" /> <p>
<p> {totalCompensation && `TC: ${totalCompensation}`}
{totalCompensation && `TC: ${totalCompensation}`} {monthlySalary && `Monthly Salary: ${monthlySalary}`}
{monthlySalary && `Monthly Salary: ${monthlySalary}`} </p>
</p> </div>
</div> )}
))}
{totalCompensation && ( {totalCompensation && (
<div className="ml-6 flex flex-row font-light text-slate-400"> <div className="ml-6 flex flex-row font-light">
<p> <p>
Base / year: {base} Stocks / year: {stocks} Bonus / year:{' '} Base / year: {base} Stocks / year: {stocks} Bonus / year:{' '}
{bonus} {bonus}

Loading…
Cancel
Save