Skip to content

Commit

Permalink
Update Home.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
aelassas committed Dec 15, 2024
1 parent 55c3429 commit 43d3065
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
4 changes: 2 additions & 2 deletions frontend/src/assets/css/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ div.home div.search {

div.home div.search div.home-search {
/* box-shadow: 0 3px 5px -1px #0003, 0 1px 18px 0 #0000001F, 0 6px 10px 0 #00000024; */
box-shadow: 0px 2px 16px 0px rgba(26, 26, 26, .24);
/* box-shadow: 0px 2px 8px 0px rgba(26, 26, 26, .16); */
/* box-shadow: 0px 2px 16px 0px rgba(26, 26, 26, .24); */
box-shadow: 0px 2px 8px 0px rgba(26, 26, 26, .16);
display: flex;
flex-direction: column;
align-items: center;
Expand Down
10 changes: 8 additions & 2 deletions frontend/src/pages/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,12 @@ const Home = () => {
</div>
</div>

<div className="home-suppliers" style={suppliers.length < 4 ? { margin: 0 } : undefined}>
{suppliers.length > 3 && (
<SupplierCarrousel suppliers={suppliers} />
)}
</div>

<div className="why">

{/* <h1>{strings.WHY_TITLE}</h1> */}
Expand Down Expand Up @@ -268,14 +274,14 @@ const Home = () => {
</div>
</div>

<div className="home-suppliers" style={suppliers.length < 4 ? { margin: 0 } : undefined}>
{/* <div className="home-suppliers" style={suppliers.length < 4 ? { margin: 0 } : undefined}>
{suppliers.length > 3 && (
<>
<h1>{strings.SUPPLIERS_TITLE}</h1>
<SupplierCarrousel suppliers={suppliers} />
</>
)}
</div>
</div> */}

{countries.length > 0 && (
<div className="destinations">
Expand Down

0 comments on commit 43d3065

Please sign in to comment.