-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnomad.html
More file actions
369 lines (328 loc) · 15.8 KB
/
Copy pathnomad.html
File metadata and controls
369 lines (328 loc) · 15.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>Nomad — Curated Journeys</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=Instrument+Serif:ital@0;1&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@500&display=swap" rel="stylesheet">
<style>
:root {
--bg-color: #EAEBE6;
--ink: #111111;
--ink-light: #555555;
--pastel-sand: #EAE0CC;
--pastel-blue: #B5C6E8;
--pastel-green: #BBD2BC;
--pastel-lilac: #C4B1D6;
--font-serif: 'Instrument Serif', serif;
--font-sans: 'Inter', sans-serif;
--font-mono: 'JetBrains Mono', monospace;
--border-style: 1px solid var(--ink);
--safe-padding: 20px;
}
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; }
body {
background-color: var(--bg-color);
color: var(--ink);
font-family: var(--font-sans);
min-height: 100vh;
overflow-x: hidden;
}
.top-bar {
display: flex;
justify-content: space-between;
align-items: center;
padding: var(--safe-padding);
padding-top: max(var(--safe-padding), env(safe-area-inset-top));
border-bottom: var(--border-style);
}
.status-pill {
border: var(--border-style);
border-radius: 40px;
padding: 4px 12px;
font-family: var(--font-mono);
font-size: 0.65rem;
font-weight: 500;
letter-spacing: -0.02em;
display: flex;
align-items: center;
gap: 6px;
}
.status-indicator {
width: 6px; height: 6px;
background-color: var(--ink);
border-radius: 50%;
}
.nav-actions { display: flex; gap: 16px; }
.icon-btn {
background: none; border: none; cursor: pointer;
display: flex; align-items: center; justify-content: center;
color: var(--ink);
}
.icon-btn svg { width: 20px; height: 20px; stroke-width: 1.5; }
main { padding: var(--safe-padding); }
.page-title {
font-family: var(--font-serif);
font-size: 3.5rem;
line-height: 1;
margin: 24px 0 32px 0;
letter-spacing: -0.02em;
}
.category-scroll {
display: flex; gap: 8px; overflow-x: auto;
padding-bottom: 24px; border-bottom: var(--border-style);
scrollbar-width: none;
}
.category-scroll::-webkit-scrollbar { display: none; }
.category-pill {
flex: 0 0 auto;
border: var(--border-style); border-radius: 40px;
padding: 8px 16px; font-size: 0.65rem; font-weight: 600;
text-transform: uppercase; letter-spacing: 0.05em;
background: transparent; color: var(--ink); cursor: pointer;
transition: all 0.2s ease;
}
.category-pill.active { background: var(--ink); color: var(--bg-color); }
.category-icon-pill { padding: 8px 12px; }
.feed { display: flex; flex-direction: column; }
.card {
padding: 32px 0; border-bottom: var(--border-style);
display: flex; flex-direction: column; gap: 16px;
}
.card:last-child { border-bottom: none; }
.card-media {
position: relative; width: 100%; aspect-ratio: 4/3;
border-radius: 20px; overflow: hidden; background-color: #ddd;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.badge-cluster {
position: absolute; top: 16px; right: 16px;
display: flex; align-items: center;
}
.metric-badge {
width: 52px; height: 52px; border-radius: 50%;
display: flex; flex-direction: column; justify-content: center; align-items: center;
font-family: var(--font-mono); font-size: 0.65rem; font-weight: 600;
color: var(--ink); line-height: 1.1;
margin-left: -12px;
border: 1px solid rgba(17, 17, 17, 0.1);
}
.metric-badge:first-child { margin-left: 0; z-index: 2; }
.metric-badge.blue { background-color: var(--pastel-blue); }
.metric-badge.green { background-color: var(--pastel-green); }
.metric-badge.lilac { background-color: var(--pastel-lilac); z-index: 1; }
.badge-val {
font-size: 0.9rem; font-family: var(--font-sans);
font-weight: 600; letter-spacing: -0.03em;
}
.card-footer { display: flex; align-items: stretch; min-height: 60px; }
.card-info {
flex-grow: 1; padding-right: 16px;
display: flex; flex-direction: column; justify-content: center;
}
.card-title {
font-family: var(--font-serif); font-size: 2rem;
line-height: 1.1; margin-bottom: 4px;
}
.card-desc {
font-size: 0.75rem; color: var(--ink-light);
line-height: 1.4; max-width: 90%;
}
.card-action {
width: 60px; border-left: var(--border-style);
display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.itineraries-section { margin-top: 48px; margin-bottom: 64px; }
.section-header {
font-family: var(--font-serif); font-size: 2.5rem;
margin-bottom: 24px; line-height: 1;
}
.itinerary-list { display: flex; flex-direction: column; gap: 12px; }
.itinerary-row {
display: flex; align-items: stretch;
border-radius: 8px; overflow: hidden;
}
.itinerary-title {
flex-grow: 1; padding: 20px 16px; font-size: 1.1rem;
font-weight: 600; letter-spacing: -0.02em;
display: flex; align-items: center;
}
.itinerary-meta {
width: 60px; border-left: var(--border-style);
display: flex; align-items: center; justify-content: center;
font-family: var(--font-mono); font-size: 0.85rem;
font-weight: 500; flex-shrink: 0;
}
.bg-sand { background-color: var(--pastel-sand); }
.bg-blue { background-color: var(--pastel-blue); }
.bg-green { background-color: var(--pastel-green); }
.bottom-nav {
position: fixed; bottom: 0; left: 0; right: 0;
background: var(--bg-color);
border-top: var(--border-style);
display: flex; justify-content: space-around; align-items: center;
padding: 12px 0; padding-bottom: max(12px, env(safe-area-inset-bottom));
z-index: 100;
}
.nav-tab {
display: flex; flex-direction: column; align-items: center; gap: 4px;
text-decoration: none; color: var(--ink-light); transition: color 0.2s;
}
.nav-tab.active { color: var(--ink); }
.nav-tab svg { width: 22px; height: 22px; }
.nav-tab span {
font-family: var(--font-mono); font-size: 0.55rem;
text-transform: uppercase; letter-spacing: 0.05em;
}
.heart-toggled svg { fill: var(--ink); }
.itineraries-section { margin-bottom: 100px; }
</style>
</head>
<body>
<header class="top-bar">
<div class="status-pill">
<span class="status-indicator"></span>
LAT 45.4
</div>
<div class="nav-actions">
<button class="icon-btn" aria-label="Search">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor">
<circle cx="11" cy="11" r="8"></circle>
<line x1="21" y1="21" x2="16.65" y2="16.65"></line>
</svg>
</button>
<a href="/nomad-wishlist.html" class="icon-btn" aria-label="Wishlist">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor">
<path d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"></path>
</svg>
</a>
<button class="icon-btn" aria-label="Menu">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor">
<line x1="3" y1="12" x2="21" y2="12"></line>
<line x1="3" y1="6" x2="21" y2="6"></line>
<line x1="3" y1="18" x2="21" y2="18"></line>
</svg>
</button>
</div>
</header>
<main>
<h1 class="page-title">Journeys</h1>
<nav class="category-scroll" id="catNav">
<button class="category-pill category-icon-pill">
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M12 5v14M5 12h14"></path>
</svg>
</button>
<button class="category-pill active" data-cat="all">All Regions</button>
<button class="category-pill" data-cat="architecture">Architecture</button>
<button class="category-pill" data-cat="culinary">Culinary</button>
<button class="category-pill" data-cat="off-grid">Off-Grid</button>
</nav>
<section class="feed">
<article class="card" onclick="window.location='/nomad-detail.html'" style="cursor:pointer;">
<div class="card-media">
<img src="https://images.pexels.com/photos/16301366/pexels-photo-16301366.jpeg?auto=compress&cs=tinysrgb&w=800&q=80" alt="Texture of an ancient stone building in Italy">
<div class="badge-cluster">
<div class="metric-badge lilac">
<span class="badge-val">14</span>
<span>DAYS</span>
</div>
<div class="metric-badge green">
<span class="badge-val">9.2</span>
<span>IDX</span>
</div>
</div>
</div>
<div class="card-footer">
<div class="card-info">
<h2 class="card-title">Umbrian Stone</h2>
<p class="card-desc">Monasteries converted to brutalist retreats. Olive harvests and silent courtyards.</p>
</div>
<button class="icon-btn card-action heart-btn" aria-label="Save" onclick="event.stopPropagation();">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor">
<path d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"></path>
</svg>
</button>
</div>
</article>
<article class="card" onclick="window.location='/nomad-detail.html'" style="cursor:pointer;">
<div class="card-media">
<img src="https://images.pexels.com/photos/3408354/pexels-photo-3408354.jpeg?auto=compress&cs=tinysrgb&w=800&q=80" alt="Minimalist wooden interior in Japan">
<div class="badge-cluster">
<div class="metric-badge blue">
<span class="badge-val">07</span>
<span>DAYS</span>
</div>
<div class="metric-badge lilac">
<span class="badge-val">8.8</span>
<span>IDX</span>
</div>
</div>
</div>
<div class="card-footer">
<div class="card-info">
<h2 class="card-title">Kiso Valley</h2>
<p class="card-desc">Following the Nakasendo trail. Cedar wood baths, tatami, and preserved post towns.</p>
</div>
<button class="icon-btn card-action heart-btn" aria-label="Save" onclick="event.stopPropagation();">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor">
<path d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"></path>
</svg>
</button>
</div>
</article>
</section>
<section class="itineraries-section">
<h2 class="section-header">Curated Routes</h2>
<div class="itinerary-list">
<div class="itinerary-row bg-sand">
<div class="itinerary-title">Nordic Coastal Architecture</div>
<div class="itinerary-meta">12</div>
</div>
<div class="itinerary-row bg-blue">
<div class="itinerary-title">Aegean Modernism</div>
<div class="itinerary-meta">08</div>
</div>
<div class="itinerary-row bg-green">
<div class="itinerary-title">Andalusian Courtyards</div>
<div class="itinerary-meta">14</div>
</div>
</div>
</section>
</main>
<nav class="bottom-nav">
<a href="/nomad.html" class="nav-tab active">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><circle cx="12" cy="12" r="10"/><path d="M12 8v8M8 12h8"/></svg>
<span>Explore</span>
</a>
<a href="/nomad-wishlist.html" class="nav-tab">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><path d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"/></svg>
<span>Wishlist</span>
</a>
<a href="/nomad-setup.html" class="nav-tab">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><circle cx="12" cy="12" r="3"/><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09a1.65 1.65 0 0 0-1-1.51 1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09a1.65 1.65 0 0 0 1.51-1 1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 2.83-2.83l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z"/></svg>
<span>Profile</span>
</a>
</nav>
<script>
document.querySelectorAll('.heart-btn').forEach(function(btn) {
btn.addEventListener('click', function() {
this.classList.toggle('heart-toggled');
});
});
document.getElementById('catNav').addEventListener('click', function(e) {
var pill = e.target.closest('.category-pill[data-cat]');
if (!pill) return;
var cat = pill.dataset.cat;
if (cat === 'off-grid' || cat === 'culinary') {
window.location = '/nomad-empty.html';
} else {
document.querySelectorAll('.category-pill[data-cat]').forEach(function(p) { p.classList.remove('active'); });
pill.classList.add('active');
}
});
</script>
</body>
</html>