Repository navigation
Expand file tree
/
Copy path2.html
More file actions
585 lines (551 loc) · 24.6 KB
/
Copy path2.html
File metadata and controls
585 lines (551 loc) · 24.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
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
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
<!DOCTYPE html>
<html lang="en"><head>
<meta charset="utf-8"/>
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
<link href="https://fonts.googleapis.com/css2?family=Manrope:wght@200;400;600;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap" rel="stylesheet"/>
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap" rel="stylesheet"/>
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap" rel="stylesheet"/>
<script src="https://cdn.tailwindcss.com?plugins=forms,container-queries"></script>
<script id="tailwind-config">
tailwind.config = {
darkMode: "class",
theme: {
extend: {
colors: {
"on-secondary": "#ffffff",
"tertiary-container": "#a4a298",
"primary-container": "#98a68e",
"secondary-fixed-dim": "#e3beba",
"on-error-container": "#93000a",
"surface-dim": "#d8dbd4",
"tertiary-fixed": "#e5e2d8",
"on-secondary-container": "#795b58",
"tertiary": "#605f56",
"inverse-on-surface": "#eff2ea",
"on-secondary-fixed-variant": "#5b403d",
"surface": "#f8faf3",
"outline": "#757870",
"secondary-fixed": "#ffdad6",
"primary": "#55624d",
"on-error": "#ffffff",
"on-primary": "#ffffff",
"secondary-container": "#fed7d2",
"on-tertiary-fixed": "#1c1c15",
"on-tertiary-container": "#393931",
"inverse-surface": "#2e312d",
"surface-container": "#ecefe8",
"primary-fixed": "#d9e7cd",
"primary-fixed-dim": "#bdcbb2",
"on-primary-container": "#2f3c29",
"on-primary-fixed-variant": "#3e4a37",
"error": "#ba1a1a",
"error-container": "#ffdad6",
"on-primary-fixed": "#131e0e",
"background": "#f8faf3",
"surface-container-low": "#f2f4ed",
"on-surface-variant": "#444841",
"tertiary-fixed-dim": "#c9c7bc",
"surface-variant": "#e1e3dc",
"on-tertiary-fixed-variant": "#48473f",
"on-tertiary": "#ffffff",
"on-background": "#191c18",
"surface-tint": "#55624d",
"outline-variant": "#c5c8be",
"surface-container-lowest": "#ffffff",
"on-surface": "#191c18",
"on-secondary-fixed": "#2b1614",
"surface-container-high": "#e7e9e2",
"surface-bright": "#f8faf3",
"secondary": "#755754",
"inverse-primary": "#bdcbb2",
"surface-container-highest": "#e1e3dc"
},
fontFamily: {
"headline": ["Manrope"],
"body": ["Plus Jakarta Sans"],
"label": ["Plus Jakarta Sans"]
},
borderRadius: {"DEFAULT": "0.25rem", "lg": "0.5rem", "xl": "1rem", "2xl": "1.5rem", "full": "9999px"},
},
},
}
</script>
<style>
body { font-family: 'Plus Jakarta Sans', sans-serif; background-color: #f8faf3; color: #191c18; }
.headline { font-family: 'Manrope', sans-serif; }
.material-symbols-outlined {
font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 24;
}
.glass-nav {
background: rgba(248, 250, 243, 0.7);
backdrop-filter: blur(20px);
}
.asymmetric-grid {
display: grid;
grid-template-columns: 1.2fr 0.8fr;
gap: 2.75rem;
}
@media (max-width: 768px) {
.asymmetric-grid {
grid-template-columns: 1fr;
}
}
</style>
<style>
body {
min-height: max(884px, 100dvh);
}
</style>
<style id="impossible-captcha-style">
.impossible-captcha-modal,
.impossible-captcha-modal * {
box-sizing: border-box;
}
.impossible-captcha-modal {
position: fixed;
inset: 0;
z-index: 9999;
display: none;
align-items: center;
justify-content: center;
padding: 24px;
background: rgba(0, 0, 0, 0.68);
-webkit-backdrop-filter: blur(18px);
backdrop-filter: blur(18px);
}
.impossible-captcha-modal.is-open {
display: flex;
}
.impossible-captcha-panel {
position: relative;
width: min(100%, 420px);
max-height: calc(100svh - 48px);
overflow: auto;
border: 1px solid rgba(255, 255, 255, 0.14);
border-radius: 12px;
background: #191a1f;
color: #fff;
box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
font-family: Inter, Manrope, "Plus Jakarta Sans", Arial, sans-serif;
}
.impossible-captcha-close {
position: absolute;
z-index: 2;
top: 16px;
right: 16px;
width: 36px;
height: 36px;
display: grid;
place-items: center;
border: 0;
border-radius: 999px;
background: rgba(255, 255, 255, 0.12);
color: #fff;
cursor: pointer;
font: inherit;
font-size: 22px;
line-height: 1;
}
.impossible-captcha-close:hover,
.impossible-captcha-tool:hover {
background: rgba(255, 255, 255, 0.18);
}
.impossible-captcha-header {
margin: 16px 16px 12px;
padding: 16px 56px 16px 16px;
background: #2563eb;
color: #fff;
}
.impossible-captcha-header span {
display: block;
opacity: 0.82;
font-size: 14px;
line-height: 1.4;
}
.impossible-captcha-header strong {
display: block;
margin-top: 4px;
font-size: 20px;
line-height: 1.2;
font-weight: 700;
}
.impossible-captcha-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 4px;
padding: 0 16px 16px;
}
.impossible-captcha-tile {
position: relative;
aspect-ratio: 1;
overflow: hidden;
border: 2px solid transparent;
border-radius: 0;
background:
linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 40%),
var(--tile-bg, #24262d);
cursor: pointer;
font: inherit;
}
.impossible-captcha-tile:nth-child(1) { --tile-bg: radial-gradient(circle at 70% 25%, #9ca3af, #111827 58%); }
.impossible-captcha-tile:nth-child(2) { --tile-bg: conic-gradient(from 45deg, #1d4ed8, #111827, #7c3aed, #1d4ed8); }
.impossible-captcha-tile:nth-child(3) { --tile-bg: linear-gradient(45deg, #27272a, #0f172a 45%, #f8fafc 46%, #111827 54%); }
.impossible-captcha-tile:nth-child(4) { --tile-bg: repeating-linear-gradient(60deg, #334155 0 8px, #020617 8px 16px); }
.impossible-captcha-tile:nth-child(5) { --tile-bg: radial-gradient(circle at 50% 50%, #c084fc, #1e1b4b 42%, #030712 70%); }
.impossible-captcha-tile:nth-child(6) { --tile-bg: linear-gradient(120deg, #0f766e, #111827 46%, #475569); }
.impossible-captcha-tile:nth-child(7) { --tile-bg: conic-gradient(from 90deg, #111827, #64748b, #020617, #94a3b8, #111827); }
.impossible-captcha-tile:nth-child(8) { --tile-bg: radial-gradient(circle at 20% 80%, #f8fafc, #1f2937 34%, #020617); }
.impossible-captcha-tile:nth-child(9) { --tile-bg: repeating-conic-gradient(from 18deg, #1f2937 0 10deg, #4b5563 10deg 20deg); }
.impossible-captcha-tile.is-selected {
border-color: #60a5fa;
box-shadow: inset 0 0 0 2px rgba(96, 165, 250, 0.45);
}
.impossible-captcha-tile.is-selected::after {
content: "check";
position: absolute;
top: 6px;
right: 6px;
width: 22px;
height: 22px;
display: grid;
place-items: center;
border-radius: 999px;
background: #2563eb;
color: #fff;
font-family: "Material Symbols Outlined";
font-size: 16px;
}
.impossible-captcha-actions {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
margin: 0 16px;
padding: 14px 0 16px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.impossible-captcha-tools {
display: flex;
gap: 10px;
color: #c4c7c8;
}
.impossible-captcha-tool {
width: 32px;
height: 32px;
display: grid;
place-items: center;
border: 0;
border-radius: 6px;
background: transparent;
color: inherit;
cursor: pointer;
font: inherit;
}
.impossible-captcha-verify {
min-width: 96px;
min-height: 36px;
padding: 0 20px;
border: 0;
border-radius: 4px;
background: #2563eb;
color: #fff;
cursor: pointer;
font: inherit;
font-weight: 700;
}
.impossible-captcha-verify:hover {
background: #1d4ed8;
}
.impossible-captcha-error {
min-height: 28px;
padding: 0 16px 18px;
color: #ffb4ab;
font-size: 14px;
line-height: 1.35;
text-align: center;
visibility: hidden;
}
.impossible-captcha-error.is-visible {
visibility: visible;
}
@media (max-width: 480px) {
.impossible-captcha-modal {
padding: 16px;
}
.impossible-captcha-panel {
width: 100%;
}
}
</style>
</head>
<body class="min-h-screen pb-32">
<!-- Top App Bar -->
<header class="sticky top-0 z-50 bg-surface/80 backdrop-blur-md px-6 py-4 flex items-center justify-between">
<div class="flex items-center gap-4">
<span class="material-symbols-outlined text-primary cursor-pointer">menu</span>
<h1 class="headline text-2xl font-extrabold tracking-tight text-primary">CHANGEMEPLS</h1>
</div>
<div class="flex items-center gap-2">
<span class="material-symbols-outlined text-primary text-3xl cursor-pointer">account_circle</span>
</div>
</header>
<main class="max-w-6xl mx-auto px-6 pt-12">
<!-- Hero Mood Moment -->
<section class="mb-16">
<h2 class="headline text-5xl md:text-6xl font-light text-primary mb-2">Community</h2>
<p class="text-on-surface-variant text-lg tracking-wide">Growing together in shared stillness.</p>
</section>
<!-- Main Feed & Discovery Layout -->
<div class="asymmetric-grid">
<!-- Left Column: The Feed -->
<div class="space-y-11">
<!-- Prompt Card: Morning Mindfulness -->
<article class="bg-surface-container-lowest rounded-2xl p-8 shadow-sm">
<div class="flex items-center justify-between mb-6">
<div class="flex items-center gap-3">
<div class="w-10 h-10 rounded-full bg-primary-fixed flex items-center justify-center">
<span class="material-symbols-outlined text-primary">spa</span>
</div>
<div>
<h3 class="font-semibold text-primary">Morning Mindfulness</h3>
<p class="text-xs text-on-surface-variant">Daily Prompt • 2h ago</p>
</div>
</div>
<span class="material-symbols-outlined text-outline-variant">more_horiz</span>
</div>
<p class="text-xl leading-relaxed text-on-surface mb-8 italic">
"What is one small thing you can notice today that usually goes unseen?"
</p>
<div class="flex items-center gap-6">
<button class="flex items-center gap-2 text-on-surface-variant hover:text-primary transition-colors">
<span class="material-symbols-outlined">favorite</span>
<span class="text-sm">124</span>
</button>
<button class="flex items-center gap-2 text-on-surface-variant hover:text-primary transition-colors">
<span class="material-symbols-outlined">chat_bubble</span>
<span class="text-sm">42</span>
</button>
</div>
</article>
<!-- Achievement Card -->
<article class="bg-secondary-container rounded-2xl p-8 relative overflow-hidden">
<div class="relative z-10">
<span class="inline-block px-3 py-1 bg-on-secondary rounded-full text-[10px] font-bold tracking-widest uppercase text-secondary mb-4">Milestone reached</span>
<h3 class="headline text-3xl text-on-secondary-container mb-2">10,000 Collective Breaths</h3>
<p class="text-on-secondary-container/80 mb-6 max-w-sm">Our community just hit a major mindfulness milestone. Thank you for being part of the journey.</p>
<div class="flex -space-x-3">
<img class="w-10 h-10 rounded-full border-2 border-on-secondary object-cover" data-alt="Profile picture of community member" src="https://lh3.googleusercontent.com/aida-public/AB6AXuBDvmbQdyPotP7MzfgtZAGzcNEI5LCcoVaryK89TJPHtj9Xm-zlIPEY-Ijongyqv5-ALZMz6t-4vq2u6t0OFW6xbPo_YwoqEqhml2DVMLoQ3YE4J4x9xlBySb3eozrUO-MfeC0xTiJfkIMOC3K2sl73VO7CEDkxaOWoCs8QBo8dCtybNbZ-Rg3xmCcfD7ysg9ipJY3mk_isVms0qbt_TxEWFCjnfHWf1Vp50eCYJLcZad0BaI5Ps0uSJhe93jyWglV4F4ICdU6PGLY"/>
<img class="w-10 h-10 rounded-full border-2 border-on-secondary object-cover" data-alt="Profile picture of community member" src="https://lh3.googleusercontent.com/aida-public/AB6AXuC2ZinoSuykLMrGzkbGyKf99bmiFxCGft_XSlewxP6hxRDXy5dVegZhMjCgbKzoajuwB9HVA6ooVyHnd3PsaYtq1WHtENpYBw9QpsDRP5BXQHQykOJ-Y6IeLsi2mTFdzoqa0t0MeqAnR_-RNLlESvgnVBWxdFZslFA8YA1ifbisS2Ura8bDoexmcOdKau5ZhBaQNu0RmuimpwsevcqQHmEPP1HSIrkmCIkNkLpYcAZNnVZR-aEkzMckDWzmZjy-_0b2ZL_67fEH_U4"/>
<img class="w-10 h-10 rounded-full border-2 border-on-secondary object-cover" data-alt="Profile picture of community member" src="https://lh3.googleusercontent.com/aida-public/AB6AXuBcHsHJw_X7WiBjO7ysCLU7xSfGEq718JHQCOk1cRGXQ_Sh54O6K3l4VFD-JUXdwasTZcckApabIje_fZ3HRKOOgvRhXIyRl3GqUPR_GkYlDJUA4bvmRnK_BycNF8c-7qhpl3hT8JgS1JSckqy61O8slpMThXE-rVALkfvmfPBwBmLBS02W13N9een8Hery1VF00p1rAA3n94YuxRe84SRdNeCPww96FxKFwMk-ZtoTnw2d8ZbxP0ZiMhcQ6DPDjvPyDhC-P2lWCdo"/>
<div class="w-10 h-10 rounded-full bg-on-secondary flex items-center justify-center text-xs font-bold text-secondary border-2 border-on-secondary">+9k</div>
</div>
</div>
<div class="absolute -right-8 -bottom-8 w-48 h-48 bg-on-secondary opacity-20 rounded-full blur-3xl"></div>
</article>
<!-- Wellness Tip Post -->
<article class="bg-surface-container-low rounded-2xl overflow-hidden">
<img class="w-full h-64 object-cover" data-alt="Close up of a green plant with soft lighting" src="https://lh3.googleusercontent.com/aida-public/AB6AXuDqwObOMNCrm6YBTxwHlEPWlhUVis99TKKoA3PrQN7ZsOoaUhX8lLGfpaam5Sm3ZmO_4xUbNG4HT0wp0_eHnPQT7xMVK1HRF8a88T8SydxzH0R63hrquVflY9Tw4wlSkZNSA2mlr774m2KRm6ZkAGMmsmdZGCEJzrrup-Qriki8PgIGGuyH4JiD0ci6wYqkkGLjDaO1QgvodEUSujM8T2Gqzz_m9xDVT2WhHBuWpWA9UiM2FszDsq_v0txeQs2cRuqlYS8w0ZYvwds"/>
<div class="p-8">
<div class="flex items-center gap-3 mb-4">
<img class="w-8 h-8 rounded-full object-cover" data-alt="Portrait of Julian" src="https://lh3.googleusercontent.com/aida-public/AB6AXuCxjYBFS3JpP5ZU2ptiWSsrSS5eB6FFtbiXb5klASUAmx2lrxQv8dEgfsvLtzT_fJh0bBFTIa4lsCQdde1-fGOWXRnEYQ7l0osS4LPd2Q8_iFm3KAj5zihY5j1DW8RfbNuBWP5J5YKHIfJCxgp9XiCj9KGKtk3AjzD4Ja3weLRFhKHaLGsrtYm6ep_dId4aVS8T3snEgmOnj_Ftvgey47DkVXJTyj4N6K-4AVWr69B924Tm2m9hzdAetyH2rr_SPIsO8887UvPGDxw"/>
<div>
<h4 class="text-sm font-semibold text-on-surface">Julian M.</h4>
<p class="text-[10px] text-on-surface-variant">Wellness Guide</p>
</div>
</div>
<h3 class="text-xl font-medium text-primary mb-3">The Art of Digital Sunset</h3>
<p class="text-on-surface-variant leading-relaxed mb-6">Try turning off all screens 45 minutes before sleep. Read a physical book or try some light stretching. Your circadian rhythm will thank you.</p>
<div class="flex items-center justify-between border-t border-outline-variant/10 pt-6">
<div class="flex gap-4">
<span class="material-symbols-outlined text-primary cursor-pointer">favorite</span>
<span class="material-symbols-outlined text-outline cursor-pointer">chat_bubble</span>
<span class="material-symbols-outlined text-outline cursor-pointer">share</span>
</div>
<span class="material-symbols-outlined text-outline cursor-pointer">bookmark</span>
</div>
</div>
</article>
</div>
<!-- Right Column: Community Pulse -->
<aside class="space-y-11">
<section class="bg-surface-container p-8 rounded-2xl">
<h3 class="headline text-xl text-primary mb-6">Active Circles</h3>
<div class="space-y-6">
<div class="flex items-center justify-between">
<div class="flex items-center gap-4">
<div class="w-12 h-12 rounded-xl bg-surface-container-lowest flex items-center justify-center shadow-sm">
<span class="material-symbols-outlined text-primary">self_improvement</span>
</div>
<div>
<p class="font-medium text-sm">Zen Seekers</p>
<p class="text-xs text-on-surface-variant">1.2k members</p>
</div>
</div>
<span class="material-symbols-outlined text-primary">chevron_right</span>
</div>
<div class="flex items-center justify-between">
<div class="flex items-center gap-4">
<div class="w-12 h-12 rounded-xl bg-surface-container-lowest flex items-center justify-center shadow-sm">
<span class="material-symbols-outlined text-primary">forest</span>
</div>
<div>
<p class="font-medium text-sm">Nature Walkers</p>
<p class="text-xs text-on-surface-variant">850 members</p>
</div>
</div>
<span class="material-symbols-outlined text-primary">chevron_right</span>
</div>
<div class="flex items-center justify-between">
<div class="flex items-center gap-4">
<div class="w-12 h-12 rounded-xl bg-surface-container-lowest flex items-center justify-center shadow-sm">
<span class="material-symbols-outlined text-primary">water_drop</span>
</div>
<div>
<p class="font-medium text-sm">Flow State</p>
<p class="text-xs text-on-surface-variant">2.4k members</p>
</div>
</div>
<span class="material-symbols-outlined text-primary">chevron_right</span>
</div>
</div>
</section>
<section class="bg-primary-fixed/30 p-8 rounded-2xl border border-primary-fixed">
<h3 class="headline text-xl text-on-primary-fixed-variant mb-4">Pulse Tracker</h3>
<p class="text-sm text-on-primary-fixed-variant/70 mb-6">The community is feeling <strong>Calm</strong> today.</p>
<div class="h-2 w-full bg-surface-container-highest rounded-full overflow-hidden mb-2">
<div class="h-full bg-primary w-[78%] rounded-full"></div>
</div>
<div class="flex justify-between text-[10px] text-on-surface-variant font-bold tracking-widest uppercase">
<span>Restless</span>
<span>Tranquil</span>
</div>
</section>
<!-- Featured Member -->
<section class="text-center p-8">
<div class="relative inline-block mb-4">
<img class="w-24 h-24 rounded-full object-cover border-4 border-surface-container-high" data-alt="Featured community member portrait" src="https://lh3.googleusercontent.com/aida-public/AB6AXuA1kBpyokoFtUfFpY9HUp0ciT3eFN2EaIAHkM0EjVS1Fms3Wnyy3txQDVW6bCkMf_i3hnlkC8Vpo8jT7TxWStcqrAbuy0-TN3ETuL6DyMeWPAf4yqvmMbwKmrqPLkpCLQguTLVMsMIUsQaLcaYYWtazV8VP4NUOWBGQ8SEwdi2gBu2qDGVzTm6LL6n8p6six57jiD0Veygl8flsfypdkbr6PiDOk63h-VqYJlsViGXNzPa3U-ztsYzLTxKCZzYiutZxPp3prAQXfwY"/>
<div class="absolute bottom-0 right-0 w-8 h-8 bg-secondary-container rounded-full flex items-center justify-center border-2 border-surface">
<span class="material-symbols-outlined text-xs text-secondary" style="font-variation-settings: 'FILL' 1;">stars</span>
</div>
</div>
<h4 class="headline text-lg text-on-surface">Sienna Grey</h4>
<p class="text-xs text-on-surface-variant mb-4">Community Star • 30 Day Streak</p>
<button class="px-6 py-2 bg-primary text-on-primary rounded-full text-xs font-semibold tracking-wide hover:bg-primary/90 transition-all">View Story</button>
</section>
</aside></div>
</main>
<!-- Floating Action Button -->
<button class="fixed bottom-24 right-8 w-14 h-14 bg-primary text-on-primary rounded-2xl shadow-lg flex items-center justify-center transition-transform hover:scale-110 active:scale-95 z-50">
<span class="material-symbols-outlined text-3xl">add</span>
</button>
<!-- Floating Bottom Navigation -->
<nav class="fixed bottom-6 left-1/2 -translate-x-1/2 w-[90%] max-w-md glass-nav rounded-full px-6 py-3 flex items-center justify-between shadow-xl z-50 border border-white/20">
<a class="flex flex-col items-center gap-1 group" href="#">
<span class="material-symbols-outlined text-outline group-hover:text-primary transition-colors">home_health</span>
<span class="text-[10px] font-bold text-outline group-hover:text-primary transition-colors">Dashboard</span>
</a>
<a class="flex flex-col items-center gap-1 group" href="#">
<span class="material-symbols-outlined text-outline group-hover:text-primary transition-colors">analytics</span>
<span class="text-[10px] font-bold text-outline group-hover:text-primary transition-colors">Insights</span>
</a>
<a class="flex flex-col items-center gap-1 group" href="#">
<span class="material-symbols-outlined text-primary" style="font-variation-settings: 'FILL' 1;">group</span>
<span class="text-[10px] font-bold text-primary">Community</span>
</a>
<a class="flex flex-col items-center gap-1 group" href="#">
<span class="material-symbols-outlined text-outline group-hover:text-primary transition-colors">settings</span>
<span class="text-[10px] font-bold text-outline group-hover:text-primary transition-colors">Settings</span>
</a>
</nav>
<div class="impossible-captcha-modal" id="impossibleCaptchaModal" role="dialog" aria-modal="true" aria-hidden="true" aria-labelledby="impossibleCaptchaTitle">
<div class="impossible-captcha-panel" role="document">
<button class="impossible-captcha-close" id="impossibleCaptchaClose" type="button" aria-label="Close">×</button>
<div class="impossible-captcha-header">
<span>Select all images with</span>
<strong id="impossibleCaptchaTitle">a 4-dimensional object</strong>
</div>
<div class="impossible-captcha-grid" id="impossibleCaptchaGrid">
<button class="impossible-captcha-tile" type="button" aria-label="Captcha tile 1"></button>
<button class="impossible-captcha-tile" type="button" aria-label="Captcha tile 2"></button>
<button class="impossible-captcha-tile" type="button" aria-label="Captcha tile 3"></button>
<button class="impossible-captcha-tile" type="button" aria-label="Captcha tile 4"></button>
<button class="impossible-captcha-tile" type="button" aria-label="Captcha tile 5"></button>
<button class="impossible-captcha-tile" type="button" aria-label="Captcha tile 6"></button>
<button class="impossible-captcha-tile" type="button" aria-label="Captcha tile 7"></button>
<button class="impossible-captcha-tile" type="button" aria-label="Captcha tile 8"></button>
<button class="impossible-captcha-tile" type="button" aria-label="Captcha tile 9"></button>
</div>
<div class="impossible-captcha-actions">
<div class="impossible-captcha-tools">
<button class="impossible-captcha-tool" id="impossibleCaptchaRefresh" type="button" aria-label="Refresh challenge">
<span class="material-symbols-outlined text-lg">refresh</span>
</button>
<button class="impossible-captcha-tool" type="button" aria-label="Play audio challenge">
<span class="material-symbols-outlined text-lg">volume_up</span>
</button>
<button class="impossible-captcha-tool" type="button" aria-label="Captcha information">
<span class="material-symbols-outlined text-lg">info</span>
</button>
</div>
<button class="impossible-captcha-verify" id="impossibleCaptchaVerify" type="button">Verify</button>
</div>
<div class="impossible-captcha-error" id="impossibleCaptchaError" aria-live="polite">Verification failed. Please select every impossible object and try again.</div>
</div>
</div>
<script id="impossible-captcha-script">
(() => {
const modal = document.getElementById("impossibleCaptchaModal");
const closeButton = document.getElementById("impossibleCaptchaClose");
const refreshButton = document.getElementById("impossibleCaptchaRefresh");
const verifyButton = document.getElementById("impossibleCaptchaVerify");
const error = document.getElementById("impossibleCaptchaError");
const tiles = [...document.querySelectorAll(".impossible-captcha-tile")];
const triggerSelector = "button, a[href], [role='button'], .cursor-pointer";
const triggers = [...document.querySelectorAll(triggerSelector)].filter((trigger) => !trigger.closest("#impossibleCaptchaModal"));
const resetChallenge = (hideError = true) => {
tiles.forEach((tile) => tile.classList.remove("is-selected"));
if (hideError) {
error.classList.remove("is-visible");
}
};
const openCaptcha = (event) => {
if (event) {
event.preventDefault();
event.stopPropagation();
}
resetChallenge();
modal.classList.add("is-open");
modal.setAttribute("aria-hidden", "false");
verifyButton.focus({ preventScroll: true });
};
const closeCaptcha = () => {
modal.classList.remove("is-open");
modal.setAttribute("aria-hidden", "true");
};
triggers.forEach((trigger) => {
trigger.addEventListener("click", openCaptcha);
});
tiles.forEach((tile) => {
tile.addEventListener("click", () => {
tile.classList.toggle("is-selected");
});
});
refreshButton.addEventListener("click", () => resetChallenge());
closeButton.addEventListener("click", closeCaptcha);
verifyButton.addEventListener("click", () => {
error.classList.add("is-visible");
window.setTimeout(() => resetChallenge(false), 900);
});
modal.addEventListener("click", (event) => {
if (event.target === modal) {
closeCaptcha();
}
});
document.addEventListener("keydown", (event) => {
if (event.key === "Escape" && modal.classList.contains("is-open")) {
closeCaptcha();
}
});
})();
</script>
</body></html>