From 005d8c35d412123f64707c409e15de0ea9dcf697 Mon Sep 17 00:00:00 2001 From: sasha-astiadi Date: Thu, 6 Nov 2025 01:32:55 +0100 Subject: [PATCH] feat: redesign hero section with card-based layout - Updated hero to use bordered card container with subtle shadow for visual hierarchy - Reduced font sizes and adjusted spacing for better readability and modern aesthetic - Enhanced button styling with larger padding and improved outline variant hover state --- src/components/Button.tsx | 4 ++-- src/components/Layout.tsx | 2 +- src/pages/home/HomeHero.tsx | 36 +++++++++++++++++++----------------- 3 files changed, 22 insertions(+), 20 deletions(-) diff --git a/src/components/Button.tsx b/src/components/Button.tsx index 55835fc..8a2d6a6 100644 --- a/src/components/Button.tsx +++ b/src/components/Button.tsx @@ -3,9 +3,9 @@ import clsx from 'clsx' const baseStyles = { solid: - 'inline-flex justify-center rounded-full py-2 px-4 text-sm font-semibold transition-colors', + 'inline-flex justify-center rounded-full py-2 px-5 text-base font-semibold transition-colors', outline: - 'inline-flex justify-center rounded-full border py-[calc(--spacing(2)-1px)] px-[calc(--spacing(4)-1px)] text-sm transition-colors', + 'inline-flex justify-center bg-white hover:bg-[#fafafa] rounded-full border py-[calc(--spacing(2)-1px)] px-[calc(--spacing(5)-1px)] text-base transition-colors', } const variantStyles = { diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index 485b482..d7a588b 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -8,7 +8,7 @@ export function Layout() { const isHomePage = location.pathname === '/' return ( -
+
{isHomePage && }
diff --git a/src/pages/home/HomeHero.tsx b/src/pages/home/HomeHero.tsx index 68938ed..926dfc9 100644 --- a/src/pages/home/HomeHero.tsx +++ b/src/pages/home/HomeHero.tsx @@ -2,27 +2,29 @@ import { Button } from '@/components/Button' export function HomeHero() { return ( -
-
-

- The Sovereign Agentic Cloud -

+
+
+
+

+ The Sovereign Agentic Cloud +

-

- Host nodes, deploy workloads, or build private AI systems, - all on infrastructure you own and control. -

+

+ Host nodes, deploy workloads, or build private AI systems — + all on infrastructure you own and control. +

-
- +
+ - + +
-
+
) }