Update landing page layout, add how-it-works section, and refine hero image styling

This commit is contained in:
Estelle Köhler committed 2026-03-29 16:59:21 +02:00
1 parent a290ec5f88
commit e27b942175
3 files changed
+246 -18

No files matched your search

+37 -9
View File
@@ -8,31 +8,59 @@
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css" integrity="sha512-dU7ZrF1pFq5kVnPzlV9+04YhARzNjCX5Q5P1shgMpuN4s5I8mI8QD4981h7kYtV7sSgNldR0z5pZW5bS2ZpY3Q==" crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
<body>
<!-- Header: uses .header, .header__brand, .header__actions, .btn, and .nav__link to match the Invité top bar style -->
<header class="header">
<div class="header__brand">Invité</div>
<div class="header__actions">
<a class="nav__link" href="#">Event finden</a>
<button class="btn" type="button">Event erstellen</button>
<!-- Header: matches event detail/create with invite logo and pill navigation links -->
<header class="top-nav-wrap">
<div class="top-nav">
<a class="brand" href="index.html" aria-label="Zur Startseite">
<img src="assets/invite-logo.svg" alt="Invité">
</a>
<nav class="top-nav-links" aria-label="Hauptnavigation">
<a class="nav-link" href="event_create.html">Event erstellen</a>
<a class="nav-link nav-link--login" href="login.html">Login</a>
</nav>
</div>
</header>
<main class="main-content">
<!-- Hero: uses .hero, .btn, .image-card, and .image-card__placeholder for a polished first impression -->
<!-- Hero: uses .hero, .btn, .image-card, and .hero-image for a polished first impression -->
<section class="hero">
<div class="hero__left">
<h1>Events entdecken, Plätze sichern, Genuss teilen.</h1>
<p>Finde kulinarische Erlebnisse in deiner Nähe oder erstelle dein eigenes Event – alles in einer warmen, einladenden Invité-Atmosphäre.</p>
<button class="btn" type="button">Anmelden</button>
<a class="btn" href="login.html">Anmelden</a>
</div>
<div class="hero__right">
<div class="image-card">
<div class="image-card__placeholder"></div>
<img class="hero-image" src="assets/Startpage ingredients.jpg" alt="Startpage Ingredients" />
</div>
</div>
</section>
<section class="how-it-works">
<div class="how-it-works__header">
<h2>So funktioniert's</h2>
</div>
<div class="how-it-works__steps">
<article class="how-step">
<div class="how-step__icon"><i class="fas fa-user-plus" aria-hidden="true"></i></div>
<div class="how-step__number">1</div>
<p class="how-step__label">Anmelden</p>
</article>
<article class="how-step">
<div class="how-step__icon"><i class="fas fa-calendar-plus" aria-hidden="true"></i></div>
<div class="how-step__number">2</div>
<p class="how-step__label">Event erstellen</p>
</article>
<article class="how-step">
<div class="how-step__icon"><i class="fas fa-utensils" aria-hidden="true"></i></div>
<div class="how-step__number">3</div>
<p class="how-step__label">Gemeinsam essen</p>
</article>
</div>
</section>
<!-- Main Content: uses .gallery, .gallery__track, .gallery__item, .placeholder, and .gallery__info to present event cards and overview content -->
<section class="gallery">
<div class="gallery__track">