Initial commit: Tina Barcelona trip picker
Static Cloudflare Pages site + KV-backed Pages Function for jointly planning Tina's Barcelona visit (7 Jul - 18 Aug 2026). List and calendar views share one client state; dated evening events are radio groups to prevent double-booking, multi-night shows live once in TRIP_DATA.spanning instead of being duplicated per day, and undated collections get optionally date-tagged when picked from the calendar view. Includes a client-side-only password gate and an instructions page. Live at https://summeroffun.hortal.me. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
commit
ddd2db2a52
10 files changed
+1366
No files matched your search
@@ -0,0 +1,41 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title id="page-title">Tina's Lovely Summer in Barcelona</title>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="gate" class="gate">
|
||||
<div class="gate-box">
|
||||
<h1>🔒 Private plan</h1>
|
||||
<p>What's the password?</p>
|
||||
<input id="gate-input" class="gate-input" type="password" autocomplete="off" autocapitalize="off" spellcheck="false">
|
||||
<button id="gate-submit" class="gate-submit">Enter</button>
|
||||
<p id="gate-error" class="gate-error"></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="content" class="gate-hidden">
|
||||
<header class="page-header">
|
||||
<h1 id="title"></h1>
|
||||
<p id="subtitle" class="subtitle"></p>
|
||||
<div id="status" class="status" aria-live="polite"></div>
|
||||
<div id="view-toggle" class="view-toggle"></div>
|
||||
<a href="instructions.html" class="how-it-works">How this page works →</a>
|
||||
</header>
|
||||
|
||||
<main id="app"></main>
|
||||
|
||||
<aside id="shortlist" class="shortlist">
|
||||
<h2>Your shortlist</h2>
|
||||
<ul id="shortlist-list"></ul>
|
||||
<p id="shortlist-empty" class="muted">Nothing picked yet — tap anything above.</p>
|
||||
</aside>
|
||||
</div>
|
||||
|
||||
<script src="data.js"></script>
|
||||
<script src="app.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user