docs: add human-readable comments to HTML and CSS for the team

This commit is contained in:
Estelle Köhler committed 2026-03-26 11:08:20 +01:00
1 parent ce749915ed
commit 7977792071
2 files changed
+57 -141

No files matched your search

+28 -17
View File
@@ -7,58 +7,69 @@
<link rel="stylesheet" href="stylesheet.css" />
</head>
<body>
<div class="page-wrapper">
<header class="header" aria-label="Hauptnavigation">
<div class="header__brand" aria-label="Logo Platzhalter">LOGO</div>
<div class="header__brand" aria-label="Firmenlogo Invité">LOGO</div>
<nav class="nav" aria-label="Seitennavigation">
<a class="nav__link" href="#" role="link">Event finden</a>
</nav>
<button class="btn btn--outline header__login" aria-label="Login" type="button">Login</button>
<button class="btn btn--outline header__login" aria-label="Zum Login-Bereich" type="button">Login</button>
</header>
<main class="main-content">
<section class="hero" aria-labelledby="hero-title">
<div class="hero__left">
<h1 class="hero__title" id="hero-title">Zu Tisch mit Fremden – bereit für die nächste kulinarische Begegnung?</h1>
<p class="hero__description">Dein Ort um neue Leute kennen zu lernen! Erstelle eigene Events und lade Gäste zu dir nach Hause ein, oder suche nach passenden Events in deiner Umgebung.</p>
<button class="btn btn--primary" aria-label="Anmelden" type="button">Anmelden</button>
<p class="hero__description">
Beschreibung: Erklärt das Konzept von Social Cooking und lädt Nutzer ein, Events zu erstellen oder zu suchen.
</p>
<button class="btn btn--primary" aria-label="Kostenlos Anmelden" type="button">Anmelden</button>
</div>
<div class="hero__right">
<div class="image-card" aria-label="Hero Bild Platzhalter">
<div class="image-card" aria-label="Visualisierung eines Cooking-Events">
<div class="image-card__placeholder" aria-hidden="true"></div>
<div class="social-badge" aria-label="Social Badge mit Teilnehmern">
<span class="social-badge__dot"></span>
<span class="social-badge__dot"></span>
<span class="social-badge__dot"></span>
<div class="social-badge" aria-label="Anzeige der Teilnehmeranzahl">
<span class="social-badge__dot" title="Teilnehmer 1"></span>
<span class="social-badge__dot" title="Teilnehmer 2"></span>
<span class="social-badge__dot" title="Teilnehmer 3"></span>
</div>
</div>
</div>
</section>
<section class="gallery" aria-label="Galerie mit Platzhaltern">
<section class="gallery" aria-label="Vorschau vergangener Events">
<div class="gallery__controls">
<button class="arrow arrow--prev" type="button" aria-label="Vorheriges Bild">&lt;</button>
<button class="arrow arrow--next" type="button" aria-label="Nächstes Bild">&gt;</button>
<button class="arrow arrow--prev" type="button" aria-label="Vorheriges Bild anzeigen">&lt;</button>
<button class="arrow arrow--next" type="button" aria-label="Nächstes Bild anzeigen">&gt;</button>
</div>
<div class="gallery__track">
<article class="gallery__item" data-index="0" aria-label="Galerie Element 1">
<article class="gallery__item" aria-label="Event Foto 1">
<div class="placeholder"></div>
</article>
<article class="gallery__item" data-index="1" aria-label="Galerie Element 2">
<article class="gallery__item" aria-label="Event Foto 2">
<div class="placeholder"></div>
</article>
<article class="gallery__item" data-index="2" aria-label="Galerie Element 3">
<article class="gallery__item" aria-label="Event Foto 3">
<div class="placeholder"></div>
</article>
</div>
<div class="gallery__info">
<div class="profile-badge" aria-label="Profil Badge"></div>
<div class="gallery__handle" aria-label="Instagram Handle">@social_cooking</div>
<div class="profile-badge" aria-label="Profilbild des Hosts"></div>
<div class="gallery__handle" aria-label="Instagram Link zu social_cooking">@social_cooking</div>
</div>
</section>
</main>
</div>