Social_Cooking/event_detail.html
viiivo edd601d330 feat: enhance event detail and overview pages with improved UI and functionality
- Refactored event_detail.js to include better date formatting, time normalization, and diet label mapping.
- Improved the event detail rendering logic with a more structured layout, including a lightbox for gallery images.
- Updated event_overview.js to support dynamic filtering by location and date, with improved session storage handling.
- Added new SVG assets for location pin and invite logo to enhance visual elements.
2026-03-27 17:48:03 +01:00

40 lines
1.5 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-Detail</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Bagel+Fat+One&family=Jost:wght@400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/event_overview.css">
</head>
<body>
<!-- Top navigation: shared with overview, highlights current area -->
<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: detail page gets fully injected by JavaScript -->
<main class="container">
<!-- Render target: loading, error state or full detail layout -->
<div id="detail-view">
<p>Lädt Event-Details...</p>
</div>
</main>
<!-- Page logic: fetch by URL id, compose detail UI, handle gallery lightbox -->
<script src="js/event_detail.js"></script>
</body>
</html>