-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnomad-empty.html
More file actions
275 lines (241 loc) · 11.6 KB
/
Copy pathnomad-empty.html
File metadata and controls
275 lines (241 loc) · 11.6 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
<!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>No Results — Nomad</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); 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;
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; color: var(--ink);
}
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; cursor: pointer; color: var(--ink);
}
.category-pill.active { background: var(--ink); color: var(--bg-color); }
.category-icon-pill { padding: 8px 12px; }
.empty-state {
padding: 60px 0; text-align: center;
display: flex; flex-direction: column; align-items: center;
}
.editorial-illustration {
width: 180px; height: 180px; margin-bottom: 40px;
position: relative; display: flex;
justify-content: center; align-items: center;
}
.illustration-shape {
position: absolute; border: 1px solid var(--ink);
border-radius: 120px 120px 0 0;
width: 120px; height: 160px;
background-color: var(--pastel-sand); opacity: 0.6;
}
.illustration-circle {
position: absolute; width: 40px; height: 40px;
background-color: var(--pastel-blue); border-radius: 50%;
top: 20px; right: 40px; border: 1px solid var(--ink);
}
.poetic-message {
font-family: var(--font-serif); font-size: 2.2rem;
line-height: 1.1; margin-bottom: 16px; font-style: italic;
}
.empty-desc {
font-size: 0.85rem; color: var(--ink-light);
max-width: 240px; line-height: 1.5; margin-bottom: 32px;
}
.suggestion-label {
font-family: var(--font-mono); font-size: 0.65rem;
text-transform: uppercase; letter-spacing: 0.1em;
margin-bottom: 24px; display: block;
}
.itinerary-list {
display: flex; flex-direction: column; gap: 12px; width: 100%;
}
.itinerary-row {
display: flex; align-items: stretch; border: var(--border-style);
border-radius: 8px; overflow: hidden; text-align: left;
}
.itinerary-title {
flex-grow: 1; padding: 16px; font-size: 1rem;
font-weight: 600; letter-spacing: -0.02em;
display: flex; align-items: center;
}
.itinerary-meta {
width: 50px; border-left: var(--border-style);
display: flex; align-items: center; justify-content: center;
font-family: var(--font-mono); font-size: 0.75rem; flex-shrink: 0;
}
.bg-sand { background-color: var(--pastel-sand); }
.bg-green { background-color: var(--pastel-green); }
.bg-lilac { background-color: var(--pastel-lilac); }
.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;
}
.itinerary-row { cursor: pointer; transition: transform 0.15s ease; }
.itinerary-row:active { transform: scale(0.98); }
.empty-state { margin-bottom: 80px; }
</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 width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5">
<circle cx="11" cy="11" r="8"></circle>
<line x1="21" y1="21" x2="16.65" y2="16.65"></line>
</svg>
</button>
<button class="icon-btn" aria-label="Menu">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5">
<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" data-cat="all">All Regions</button>
<button class="category-pill active" data-cat="off-grid">Off-Grid</button>
<button class="category-pill" data-cat="culinary">Culinary</button>
<button class="category-pill" data-cat="architecture">Architecture</button>
</nav>
<section class="empty-state">
<div class="editorial-illustration">
<div class="illustration-shape"></div>
<div class="illustration-circle"></div>
<svg width="100" height="100" viewBox="0 0 24 24" fill="none" stroke="var(--ink)" stroke-width="0.5" style="z-index: 2;">
<path d="M12 2L12 22M2 12L22 12M5 5L19 19M19 5L5 19"></path>
</svg>
</div>
<h2 class="poetic-message">The path remains <br>unwritten here.</h2>
<p class="empty-desc">We couldn't find any off-grid journeys in this region yet. Perhaps the horizon holds something else.</p>
<span class="suggestion-label">Alternative Departures</span>
<div class="itinerary-list">
<div class="itinerary-row bg-green">
<div class="itinerary-title">Highland Stone Shelters</div>
<div class="itinerary-meta">09</div>
</div>
<div class="itinerary-row bg-lilac">
<div class="itinerary-title">Desert Monasticism</div>
<div class="itinerary-meta">11</div>
</div>
<div class="itinerary-row bg-sand">
<div class="itinerary-title">The Quiet Archipelago</div>
<div class="itinerary-meta">06</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.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 === 'all' || cat === 'architecture') {
window.location = '/nomad.html';
} else {
document.querySelectorAll('.category-pill[data-cat]').forEach(function(p) { p.classList.remove('active'); });
pill.classList.add('active');
}
});
document.querySelectorAll('.itinerary-row').forEach(function(row) {
row.addEventListener('click', function() {
window.location = '/nomad-detail.html';
});
});
</script>
</body>
</html>