Skip to content

Commit cca5b76

Browse files
committed
Refactor layout and styling in ListingComponent for improved visual consistency
1 parent 5b5705a commit cca5b76

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

app/[locale]/(user)/components/ListingComponent.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -279,9 +279,9 @@ const ListingComponent: React.FC<ListingProps> = ({
279279
<div className="container">
280280
{/* Optional Category Header */}
281281
{(categoryName || categoryDescription || categoryImage) && (
282-
<div className="flex flex-wrap items-center justify-center gap-6 p-6 lg:flex-nowrap lg:items-start lg:gap-10 lg:pb-10 lg:pt-14">
282+
<div className="flex flex-wrap items-center justify-center gap-6 py-6 lg:flex-nowrap lg:items-start lg:gap-10 lg:pb-10 lg:pt-14">
283283
{categoryImage && (
284-
<div className="flex flex-col items-center justify-center rounded-2 bg-baseGraySlateSolid2 p-2">
284+
<div className="flex flex-col items-center justify-center rounded-6 border-4 border-solid border-greyExtralight p-2">
285285
<Image
286286
src={`/Sectors/${categoryName}.svg`}
287287
width={164}
@@ -290,18 +290,18 @@ const ListingComponent: React.FC<ListingProps> = ({
290290
/>
291291
</div>
292292
)}
293-
<div className="flex-start flex flex-col gap-4 p-2">
293+
<div className="flex-start flex flex-col gap-6 p-2">
294294
{categoryName && (
295295
<Text
296-
variant="heading3xl"
296+
variant="heading2xl"
297297
className="text-primaryBlue"
298298
fontWeight="bold"
299299
>
300300
{categoryName}
301301
</Text>
302302
)}
303303

304-
<Text variant="headingLg" fontWeight="regular">
304+
<Text variant="headingLg" fontWeight="regular" className=' leading-3 '>
305305
{categoryDescription
306306
? categoryDescription
307307
: 'No Description Provided'}

0 commit comments

Comments
 (0)