[offers][style] fix offer card style (#469)

* [offers][style] fix offer card style

* [offers][style] fix OEA offer card style
pull/473/head
Zhang Ziqing 2 years ago committed by GitHub
parent 8fdea6b5bc
commit 85fd874769
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -70,7 +70,7 @@ export default function OfferProfileCard({
<p>
Company: {company.name}, {location}
</p>
<p>Level: {level}</p>
{level && <p>Level: {level}</p>}
</div>
<div className="col-span-1 row-span-3">
<p className="text-end">{formatDate(monthYearReceived)}</p>

@ -36,12 +36,14 @@ export default function OfferCard({
<div className="flex justify-between px-8">
<div className="flex flex-col">
<div className="flex flex-row">
<BuildingOffice2Icon className="mr-1 h-5" />
<span>
<BuildingOffice2Icon className="mr-3 h-5" />
</span>
<span className="font-bold">
{location ? `${companyName}, ${location}` : companyName}
</span>
</div>
<div className="ml-6 flex flex-row">
<div className="ml-8 flex flex-row">
<p>
{jobLevel ? `${jobTitle}, ${jobLevel}` : jobTitle}{' '}
{jobType && `(${JobTypeLabel[jobType]})`}
@ -79,15 +81,19 @@ export default function OfferCard({
<div className="flex flex-col py-2">
{(totalCompensation || monthlySalary) && (
<div className="flex flex-row">
<CurrencyDollarIcon className="mr-1 h-5" />
<span>
<CurrencyDollarIcon className="mr-3 h-5" />
</span>
<span>
<p>
{totalCompensation && `TC: ${totalCompensation}`}
{monthlySalary && `Monthly Salary: ${monthlySalary}`}
</p>
</span>
</div>
)}
{totalCompensation && (
<div className="ml-6 flex flex-row font-light">
<div className="ml-8 flex flex-row font-light">
<p>
Base / year: {base} Stocks / year: {stocks} Bonus / year:{' '}
{bonus}
@ -98,7 +104,9 @@ export default function OfferCard({
{negotiationStrategy && (
<div className="flex flex-col py-2">
<div className="flex flex-row">
<span>
<ScaleIcon className="h-5 w-5" />
</span>
<span className="overflow-wrap ml-2">
"{negotiationStrategy}"
</span>
@ -108,7 +116,9 @@ export default function OfferCard({
{otherComment && (
<div className="flex flex-col py-2">
<div className="flex flex-row">
<span>
<ChatBubbleBottomCenterTextIcon className="h-5 w-5" />
</span>
<span className="overflow-wrap ml-2">"{otherComment}"</span>
</div>
</div>

Loading…
Cancel
Save