From 7d3e407a4d77140f9efef584513459c57d7f222f Mon Sep 17 00:00:00 2001 From: Riccardo Amadio Date: Tue, 4 Apr 2023 23:01:15 +0200 Subject: [PATCH 1/2] change position of joboffer location , remote , salary and when it was published the offer --- .../Jobs/JobOfferCard/JobOfferCard.tsx | 48 +++++++++---------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/src/components/Jobs/JobOfferCard/JobOfferCard.tsx b/src/components/Jobs/JobOfferCard/JobOfferCard.tsx index 13be344..6ac1c96 100644 --- a/src/components/Jobs/JobOfferCard/JobOfferCard.tsx +++ b/src/components/Jobs/JobOfferCard/JobOfferCard.tsx @@ -51,19 +51,17 @@ export const JobOfferCard: FC<{ jobOffer: JobOfferWithTags }> = ({ {jobOffer.companyName}
- {jobOffer.location && ( -
- 📍 {jobOffer.location} -
- )} -
- {jobOffer.remote === RemoteKind.full && `🌎 Remoto`} - {jobOffer.remote === RemoteKind.no && `🖥️ In sede`} - {jobOffer.remote === RemoteKind.partial && `💻 Ibrido`} -
-
- 💰 {jobOffer.salaryRange} -
+
+ {dayjs(jobOffer.createdAt).fromNow(true)} +
= ({ limit={open ? undefined : 3} />
-
- {dayjs(jobOffer.createdAt).fromNow(true)} -
+ {jobOffer.location && ( +
+ 📍 {jobOffer.location} +
+ )} +
+ {jobOffer.remote === RemoteKind.full && `🌎 Remoto`} + {jobOffer.remote === RemoteKind.no && `🖥️ In sede`} + {jobOffer.remote === RemoteKind.partial && `💻 Ibrido`} +
+
+ 💰 {jobOffer.salaryRange} +
Date: Wed, 5 Jul 2023 09:14:03 +0200 Subject: [PATCH 2/2] adjust height and distance between components on job offer items, also for mobile --- src/components/Jobs/JobOfferCard/JobOfferCard.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/Jobs/JobOfferCard/JobOfferCard.tsx b/src/components/Jobs/JobOfferCard/JobOfferCard.tsx index 6ac1c96..88849b3 100644 --- a/src/components/Jobs/JobOfferCard/JobOfferCard.tsx +++ b/src/components/Jobs/JobOfferCard/JobOfferCard.tsx @@ -74,19 +74,22 @@ export const JobOfferCard: FC<{ jobOffer: JobOfferWithTags }> = ({ limit={open ? undefined : 3} /> +
{jobOffer.location && (
📍 {jobOffer.location}
)} -
+
{jobOffer.remote === RemoteKind.full && `🌎 Remoto`} {jobOffer.remote === RemoteKind.no && `🖥️ In sede`} {jobOffer.remote === RemoteKind.partial && `💻 Ibrido`}
-
+
💰 {jobOffer.salaryRange}
+ +