From b1c59a9b5af1dcf1ffca43e10c1e4adceeeecff8 Mon Sep 17 00:00:00 2001 From: sasha-astiadi Date: Thu, 6 Nov 2025 14:06:44 +0100 Subject: [PATCH] feat: redesign home page with new hero and layout - Replaced abstract aurora background with hero section featuring image background and call-to-action - Reorganized page sections with new components (HomeHostingDark, HomeBenefits, StackSectionLight) - Changed layout background from #FAFAFA to white and removed conditional aurora rendering --- src/components/Layout.tsx | 8 +--- src/pages/home/HomeAurora.tsx | 75 ++++++++++++++++--------------- src/pages/home/HomeAuroracopy.tsx | 48 -------------------- src/pages/home/HomeAuroraedt.tsx | 43 ++++++++++++++++++ src/pages/home/HomePage.tsx | 62 +++++++++++-------------- 5 files changed, 112 insertions(+), 124 deletions(-) delete mode 100644 src/pages/home/HomeAuroracopy.tsx create mode 100644 src/pages/home/HomeAuroraedt.tsx diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index d7a588b..07684fd 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -1,15 +1,11 @@ -import { Outlet, useLocation } from 'react-router-dom' +import { Outlet } from 'react-router-dom' import { Footer } from './Footer' import { Header } from './Header' -import { HomeAurora } from '../pages/home/HomeAurora' export function Layout() { - const location = useLocation() - const isHomePage = location.pathname === '/' return ( -
- {isHomePage && } +
diff --git a/src/pages/home/HomeAurora.tsx b/src/pages/home/HomeAurora.tsx index 11049cb..2f744be 100644 --- a/src/pages/home/HomeAurora.tsx +++ b/src/pages/home/HomeAurora.tsx @@ -1,41 +1,46 @@ -export function HomeAurora() { +import { H1, H5 } from "@/components/Texts" +import { Button } from "@/components/Button" + + +export function HomeAurora({ onGetStartedClick }: { onGetStartedClick: () => void }) { return (
-
- {/* Top cyan soft blob */} -