From 7eb70abb22bd550066c51e89893d87f09e1e9f6c Mon Sep 17 00:00:00 2001 From: sebseb7 Date: Sat, 19 Jul 2025 06:19:00 +0200 Subject: [PATCH] Refactor star graphics in MainPageLayout: Replaced div elements with Box components for improved styling and layout control. Adjusted positioning and added drop-shadow effects for enhanced visual appeal. Updated display properties to ensure responsiveness across different screen sizes. --- src/components/MainPageLayout.js | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/src/components/MainPageLayout.js b/src/components/MainPageLayout.js index 8cbb53d..8fdfe62 100644 --- a/src/components/MainPageLayout.js +++ b/src/components/MainPageLayout.js @@ -373,16 +373,18 @@ const MainPageLayout = () => { {/* Multi-pointed star for seeds box - moved to Grid level */} {index === 0 && pageType === "home" && ( -
setStarHovered(true)} onMouseLeave={() => setStarHovered(false)} @@ -484,21 +486,23 @@ const MainPageLayout = () => { > {t('sections.selectSeedRate')}
- + )} {/* Multi-pointed star for stecklinge box - bottom right */} {index === 1 && pageType === "home" && ( -
{/* Background star - slightly larger and rotated */} @@ -574,7 +578,7 @@ const MainPageLayout = () => { > {t('sections.indoorSeason')}
- + )}