From 8a17ac89e475c5ea1203445b060da5693d351ad6 Mon Sep 17 00:00:00 2001 From: aakash2330 Date: Sun, 29 Sep 2024 19:43:29 +0530 Subject: [PATCH] ui-fixes --- src/components/job.tsx | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/src/components/job.tsx b/src/components/job.tsx index 7b1568b0..ee19a5d9 100644 --- a/src/components/job.tsx +++ b/src/components/job.tsx @@ -51,26 +51,14 @@ export const Job = ({ job }: { job: JobType }) => { - {job.minSalary && } + {!!job.minSalary && } {job.minSalary && job.maxSalary ? `${formatSalary(job.minSalary)}-${formatSalary(job.maxSalary)}` : 'Not disclosed'} - -
- -

{job.address}

-
- - {!!job.minSalary && } - {job.minSalary && job.maxSalary - ? `${formatSalary(job.minSalary)}-${formatSalary(job.maxSalary)}` - : 'Not disclosed'} - -

{job.address}

@@ -105,9 +93,12 @@ export const Job = ({ job }: { job: JobType }) => { {/* job description */}
+

+ Job Description +

@@ -115,7 +106,9 @@ export const Job = ({ job }: { job: JobType }) => { {/* about company */}
-

About {job.companyName}

+

+ About {job.companyName} +