From 45644f78df0a66698d2af137cd7c94891ca26ff2 Mon Sep 17 00:00:00 2001 From: Marco Date: Tue, 30 Jun 2026 20:50:17 +0000 Subject: [PATCH] =?UTF-8?q?fix(Hero):=20exact=20Figma=20structure=20?= =?UTF-8?q?=E2=80=94=20w-[min-content]=20heading,=202px=20avatar=20gap,=20?= =?UTF-8?q?correct=20spans?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- app/components/Hero.tsx | 76 +++++++++++++++++++++-------------------- 1 file changed, 39 insertions(+), 37 deletions(-) diff --git a/app/components/Hero.tsx b/app/components/Hero.tsx index b43c0e1..d767a80 100644 --- a/app/components/Hero.tsx +++ b/app/components/Hero.tsx @@ -1,67 +1,69 @@ import Link from "next/link"; import Image from "next/image"; -const avatars = [ - { src: "/avatar-1.jpg", alt: "Nutzer 1" }, - { src: "/avatar-2.jpg", alt: "Nutzer 2" }, - { src: "/avatar-3.jpg", alt: "Nutzer 3" }, -]; - export function Hero() { return ( -
+
{/* Left: text content */} -
+
-

- Produktivität darf sich leicht anfühlen - . -

+ Produktivität darf sich leicht anfühlen + . +

-

+ {/* Subheading */} +

Für Menschen mit Familie, Verantwortung und zu wenig Zeit

-
- + {/* CTA */} + + Starte mit der 7-Tage-Challenge - {/* eslint-disable-next-line @next/next/no-img-element */} - - -
+ +
+ +
+ -
-
- {avatars.map((avatar, i) => ( + {/* Social proof */} +
+ {/* Avatars — gap 2px, not overlapping */} +
+ {["/avatar-1.jpg", "/avatar-2.jpg", "/avatar-3.jpg"].map((src, i) => (
- {avatar.alt} +
))}
-

- 10.000+ Menschen vertrauen einfach-produktiv +

+ 10.000+ Menschen vertrauen einfach-produktiv

- {/* Right: hero image — fixed Figma dimensions, drives section height */} -
- {/* eslint-disable-next-line @next/next/no-img-element */} + {/* Right: hero image — fixed Figma dimensions drive section height */} +
Notizbuch mit Tagesplan und Kaffee