152 lines
3.7 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Encore Discover Events</title>
<!-- Bootstrap -->
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css"
rel="stylesheet">
<!-- CSS -->
<link rel="stylesheet" href="css/components.css">
<link rel="stylesheet" href="css/main.css">
</head>
<body>
<!-- HEADER -->
<header class="site-header">
<nav class="container d-flex justify-content-between align-items-center">
<h1 class="site-logo">Encore</h1>
<ul class="nav">
<li class="nav-item">
<a class="nav-link" href="#" id="nav-events">Events</a>
</li>
<li class="nav-item">
<a class="nav-link d-none" href="#" id="nav-my-events">My Events</a>
</li>
<li class="nav-item">
<a class="nav-link d-none" href="#" id="nav-invitations">Invitations</a>
</li>
</ul>
<!-- LOGIN AREA -->
<div id="auth-area">
<input id="username" placeholder="Username" class="form-control d-inline w-auto">
<input id="password" type="password" placeholder="Password" class="form-control d-inline w-auto">
<button id="login-btn" class="btn btn-success">Login</button>
<button id="register-btn" class="btn btn-secondary">Register</button>
</div>
<!-- USER AREA -->
<div id="user-area" class="d-none">
<span id="user-name"></span>
<button id="logout-btn" class="btn btn-danger btn-sm">Logout</button>
</div>
</nav>
</header>
<!-- MAIN CONTENT -->
<main class="container mt-4">
<!-- SEARCH / FILTER SECTION -->
<section class="search mb-4" id="search-section">
<h2>Find Events</h2>
<div class="search__controls">
<!-- City -->
<input
id="city-input"
type="text"
class="form-control"
placeholder="Enter city (e.g. Zurich)"
>
<!-- Date -->
<label for="date-from">From</label>
<input id="date-from" type="date">
<label for="date-to">To</label>
<input id="date-to" type="date">
<!-- Category -->
<select id="category-input" class="form-control">
<option value="">All categories</option>
<option value="music">Music</option>
<option value="sports">Sports</option>
<option value="arts & theatre">Arts & Theatre</option>
</select>
<!-- Button -->
<button id="load-events" class="btn btn-primary">
Search
</button>
</div>
</section>
<!-- EVENTS LIST -->
<section class="events" id="events-section">
<h2>Upcoming Events</h2>
<div id="event-list">
<p class="text-muted">Search for events to begin.</p>
</div>
</section>
<!-- ========================= -->
<!-- MY EVENTS -->
<!-- ========================= -->
<section id="saved-section" class="d-none">
<h2>My Events</h2>
<div id="saved-list">
<p class="text-muted">No saved events yet.</p>
</div>
</section>
<!-- ========================= -->
<!-- INVITATIONS -->
<!-- ========================= -->
<section id="invitations-section" class="d-none">
<h2>My Invitations</h2>
<div id="invitation-list">
<p class="text-muted">No invitations yet.</p>
</div>
</section>
</main>
<!-- FOOTER -->
<footer class="site-footer text-center mt-5 p-3">
<p>© 2026 Encore Event Discovery</p>
</footer>
<!-- JS -->
<script type="module" src="js/app.js"></script>
</body>
</html>