From b828292f1538aa0a32d01f12e0b0c96b1560989e Mon Sep 17 00:00:00 2001 From: yusufalperendumlu Date: Tue, 7 May 2024 01:13:51 +0300 Subject: [PATCH] refactor: Update Articles component in Articles.jsx Refactor the Articles component in Articles.jsx to improve the layout and styling. This includes adjusting the width of the ArticleCard components, updating the background colors, and making the text more readable. These changes enhance the visual presentation of the articles section on the home page. --- src/pages/home/container/Articles.jsx | 48 ++++++++++++++------------- src/pages/home/container/Hero.jsx | 4 +-- 2 files changed, 27 insertions(+), 25 deletions(-) diff --git a/src/pages/home/container/Articles.jsx b/src/pages/home/container/Articles.jsx index 8173679..81d1994 100644 --- a/src/pages/home/container/Articles.jsx +++ b/src/pages/home/container/Articles.jsx @@ -4,29 +4,31 @@ import { images } from "@/constants"; const Articles = () => { return (
-
- - - +
+
+ + + +
); diff --git a/src/pages/home/container/Hero.jsx b/src/pages/home/container/Hero.jsx index beef618..68e6b63 100644 --- a/src/pages/home/container/Hero.jsx +++ b/src/pages/home/container/Hero.jsx @@ -15,7 +15,7 @@ const Hero = () => { const [coupon, setCoupon] = useState(false); return ( -
+
{ roasted parts of sentences fly into your mouth.

-
+

Make Your Trip