Social_Cooking/event_overview.html
2026-03-28 17:27:41 +01:00

72 lines
2.8 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Event-Overview</title>
<!-- Stylesheet für diese Seite-->
<link rel="stylesheet" href="css/stylesheet_global.css">
<!-- Globales Stylesheet -->
<link rel="stylesheet" href="stylesheet.css">
</head>
<body>
<!-- Top navigation: global entry points and current page indicator -->
<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="Invite Logo">
</a>
<nav class="top-nav-links" aria-label="Hauptnavigation">
<a class="nav-link active" href="event_overview.html" aria-current="page">Event finden</a>
<a class="nav-link" href="event_create.html">Event erstellen</a>
<a class="profile-pill" href="login.html" aria-label="Profil">M</a>
</nav>
</div>
</header>
<!-- Main content: page headline, filter controls and dynamic event list -->
<main class="container">
<!-- Page headline -->
<h1 class="overview-title">Events</h1>
<!-- Filter section: category chips + location/date filters -->
<section class="filter-section">
<p class="filter-label">Was darf es sein?</p>
<div class="filter-row">
<!-- Primary category filter buttons -->
<div class="category-group">
<button class="category-item" type="button" data-cat="BRUNCH">BRUNCH</button>
<button class="category-item" type="button" data-cat="LUNCH">LUNCH</button>
<button class="category-item" type="button" data-cat="DINNER">DINNER</button>
<button class="category-item" type="button" data-cat="COFFEE">COFFEE</button>
<button class="category-item active" type="button" data-cat="ALLE">ALLE</button>
</div>
<!-- Secondary filters populated/handled by JavaScript -->
<div class="meta-filter-group" aria-label="Weitere Filter">
<label class="meta-filter" for="location-filter">
<span>Ort</span>
<select id="location-filter">
<option value="ALLE_ORTE">Alle Orte</option>
</select>
</label>
<label class="meta-filter" for="date-filter">
<span>Datum</span>
<input id="date-filter" type="date">
</label>
</div>
</div>
</section>
<!-- Render target: event cards or empty state -->
<section id="event-grid" class="event-list"></section>
</main>
<!-- Page logic: data loading, filtering and card rendering -->
<script src="js/event_overview.js"></script>
</body>
</html>