From a232ba7c98a64ac70839f545009435a27f06784e Mon Sep 17 00:00:00 2001 From: sasha-astiadi Date: Fri, 5 Dec 2025 20:33:00 +0100 Subject: [PATCH] adjust Hero mobile centering and spacing, reduce H2 mobile size, tighten H1 mobile line height, reduce vertical gaps on mobile across multiple sections, and add touch support for Team member overlays --- src/app/page.tsx | 2 +- src/components/UI/Texts.tsx | 4 ++-- src/components/home/About.tsx | 2 +- src/components/home/Foundation.tsx | 2 +- src/components/home/Hero.tsx | 13 +++++++++---- src/components/home/Team.tsx | 12 ++++++++---- src/components/home/Ventures.tsx | 2 +- 7 files changed, 23 insertions(+), 14 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 2fdf78e..645b887 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -21,7 +21,7 @@ export default function Home() {
- +
diff --git a/src/components/UI/Texts.tsx b/src/components/UI/Texts.tsx index 7951e54..bdad61a 100644 --- a/src/components/UI/Texts.tsx +++ b/src/components/UI/Texts.tsx @@ -77,12 +77,12 @@ const createTextComponent = ( // Headings default to Quicking font export const H1 = createTextComponent( 'h1', - 'text-5xl lg:text-7xl font-medium lg:leading-tight leading-normal tracking-tight', + 'text-5xl lg:text-7xl font-medium leading-[0.9] lg:leading-tight tracking-tight', { font: 'quicking' } ) export const H2 = createTextComponent( 'h2', - 'text-4xl lg:text-5xl font-medium leading-tight tracking-tight', + 'text-3xl lg:text-5xl font-medium leading-tight tracking-tight', { font: 'quicking' } ) export const H3 = createTextComponent( diff --git a/src/components/home/About.tsx b/src/components/home/About.tsx index 04ed511..7a4b658 100644 --- a/src/components/home/About.tsx +++ b/src/components/home/About.tsx @@ -32,7 +32,7 @@ export function About() {
-
+
{features.map((feature) => (
diff --git a/src/components/home/Foundation.tsx b/src/components/home/Foundation.tsx index 3b32858..045dfd9 100644 --- a/src/components/home/Foundation.tsx +++ b/src/components/home/Foundation.tsx @@ -36,7 +36,7 @@ export function Foundation() { return (
-
+

The Foundation of Every Venture diff --git a/src/components/home/Hero.tsx b/src/components/home/Hero.tsx index 96d682a..0e5c252 100644 --- a/src/components/home/Hero.tsx +++ b/src/components/home/Hero.tsx @@ -14,7 +14,12 @@ type HeroProps = { export function Hero({ className }: HeroProps) { return ( -
+
{/* Video Background */}
-
+
{members.map((member) => (
-
+
{member.alt} -
+

{member.name}

{member.role}

diff --git a/src/components/home/Ventures.tsx b/src/components/home/Ventures.tsx index 65c9837..79ac0fa 100644 --- a/src/components/home/Ventures.tsx +++ b/src/components/home/Ventures.tsx @@ -43,7 +43,7 @@ export function Ventures() {
-
+
{ventures.map((venture) => (