Spaces:
Running
Running
adds lotties
Browse files- index.html +596 -613
- static/style.css +15 -16
index.html
CHANGED
|
@@ -1,613 +1,596 @@
|
|
| 1 |
-
<!DOCTYPE html>
|
| 2 |
-
<html lang="en">
|
| 3 |
-
<head>
|
| 4 |
-
<meta charset="utf-8"/>
|
| 5 |
-
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
|
| 6 |
-
<title>PawMap</title>
|
| 7 |
-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.9.4/leaflet.min.css"/>
|
| 8 |
-
<link rel="preconnect" href="https://fonts.googleapis.com"/>
|
| 9 |
-
<link href="https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,400;0,14..32,500;0,14..32,600;0,14..32,700;1,14..32,400&display=swap" rel="stylesheet"/>
|
| 10 |
-
<link rel="stylesheet" href="/static/style.css"/>
|
| 11 |
-
<script src="https://cdn.jsdelivr.net/npm/lucide@0.454.0/dist/umd/lucide.min.js"></script>
|
| 12 |
-
<script src="https://unpkg.com/@lottiefiles/lottie-player@2.0.8/dist/lottie-player.js"></script>
|
| 13 |
-
</head>
|
| 14 |
-
<body>
|
| 15 |
-
<div id="desktop-layout">
|
| 16 |
-
|
| 17 |
-
<!-- ββ LEFT SIDEBAR (desktop only) ββ -->
|
| 18 |
-
<aside id="sidebar-left">
|
| 19 |
-
<div class="sidebar-logo">
|
| 20 |
-
<span class="sidebar-paw">πΎ</span>
|
| 21 |
-
<span class="sidebar-brand">PawMap</span>
|
| 22 |
-
</div>
|
| 23 |
-
<p class="sidebar-tagline">Collaborative stray animal mapping, powered by AI.</p>
|
| 24 |
-
|
| 25 |
-
<div class="sidebar-divider"></div>
|
| 26 |
-
|
| 27 |
-
<div class="sidebar-section">
|
| 28 |
-
<h3>The problem</h3>
|
| 29 |
-
<p>Independent rescuers in BrasΓlia, DF keep track of entire stray animal colonies in their heads β which ones were neutered, which one got hurt last winter, which one hasn't shown up this week. That knowledge lives in WhatsApp groups and fades when people move on.</p>
|
| 30 |
-
<p>PawMap turns those scattered sightings into a shared, persistent map β one photo at a time.</p>
|
| 31 |
-
</div>
|
| 32 |
-
|
| 33 |
-
<div class="sidebar-divider"></div>
|
| 34 |
-
|
| 35 |
-
<div class="sidebar-section">
|
| 36 |
-
<h3>How it works</h3>
|
| 37 |
-
<div class="how-steps">
|
| 38 |
-
<div class="how-step">
|
| 39 |
-
<div class="how-num"><i data-lucide="camera"></i></div>
|
| 40 |
-
<div class="how-content">
|
| 41 |
-
<strong>Snap a photo</strong>
|
| 42 |
-
<span>Point your camera at any stray dog or cat.</span>
|
| 43 |
-
</div>
|
| 44 |
-
</div>
|
| 45 |
-
<div class="how-connector"></div>
|
| 46 |
-
<div class="how-step">
|
| 47 |
-
<div class="how-num"><i data-lucide="scan-line"></i></div>
|
| 48 |
-
<div class="how-content">
|
| 49 |
-
<strong>AI identifies</strong>
|
| 50 |
-
<span>Species, breed, color and condition β automatically.</span>
|
| 51 |
-
</div>
|
| 52 |
-
</div>
|
| 53 |
-
<div class="how-connector"></div>
|
| 54 |
-
<div class="how-step">
|
| 55 |
-
<div class="how-num"><i data-lucide="git-merge"></i></div>
|
| 56 |
-
<div class="how-content">
|
| 57 |
-
<strong>Smart matching</strong>
|
| 58 |
-
<span>Checks if this animal has been seen before.</span>
|
| 59 |
-
</div>
|
| 60 |
-
</div>
|
| 61 |
-
<div class="how-connector"></div>
|
| 62 |
-
<div class="how-step">
|
| 63 |
-
<div class="how-num"><i data-lucide="map-pin"></i></div>
|
| 64 |
-
<div class="how-content">
|
| 65 |
-
<strong>Map updates</strong>
|
| 66 |
-
<span>Sighting linked to the animal's profile β or a new one is created.</span>
|
| 67 |
-
</div>
|
| 68 |
-
</div>
|
| 69 |
-
</div>
|
| 70 |
-
</div>
|
| 71 |
-
|
| 72 |
-
<div class="sidebar-divider"></div>
|
| 73 |
-
|
| 74 |
-
<div class="sidebar-section sidebar-map-legend">
|
| 75 |
-
<h3>Map legend</h3>
|
| 76 |
-
<div class="legend-row"><span class="legend-dot green"></span> Dog β seen recently</div>
|
| 77 |
-
<div class="legend-row"><span class="legend-dot orange"></span> Cat β seen recently</div>
|
| 78 |
-
<div class="legend-row"><span class="legend-dot red"></span> Not seen in +30 days</div>
|
| 79 |
-
</div>
|
| 80 |
-
</aside>
|
| 81 |
-
|
| 82 |
-
<div class="phone-wrap">
|
| 83 |
-
<div class="better-on-mobile"><i data-lucide="smartphone"></i> Better on mobile</div>
|
| 84 |
-
<div class="phone-frame">
|
| 85 |
-
<div class="phone-btn phone-btn-vol-up"></div>
|
| 86 |
-
<div class="phone-btn phone-btn-vol-down"></div>
|
| 87 |
-
<div class="phone-btn phone-btn-power"></div>
|
| 88 |
-
<div id="app">
|
| 89 |
-
|
| 90 |
-
<!-- ββ ONBOARDING ββ -->
|
| 91 |
-
<div id="screen-splash">
|
| 92 |
-
<button id="ob-skip">Skip</button>
|
| 93 |
-
|
| 94 |
-
<!-- Steps -->
|
| 95 |
-
<div id="ob-track">
|
| 96 |
-
|
| 97 |
-
<!-- Step 1 -->
|
| 98 |
-
<div class="ob-step">
|
| 99 |
-
<div class="ob-lottie-wrap">
|
| 100 |
-
<
|
| 101 |
-
<lottie-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
</
|
| 106 |
-
<
|
| 107 |
-
</div>
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
<
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
<
|
| 119 |
-
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
<div class="ob-
|
| 126 |
-
<
|
| 127 |
-
<
|
| 128 |
-
|
| 129 |
-
<
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
</lottie-player>
|
| 140 |
-
<div class="ob-lottie-fallback"><i data-lucide="
|
| 141 |
-
</div>
|
| 142 |
-
<div class="ob-text">
|
| 143 |
-
<div class="ob-step-label">Step
|
| 144 |
-
<h2>
|
| 145 |
-
<p>
|
| 146 |
-
</div>
|
| 147 |
-
</div>
|
| 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 |
-
</div>
|
| 214 |
-
<button
|
| 215 |
-
|
| 216 |
-
|
| 217 |
-
|
| 218 |
-
|
| 219 |
-
|
| 220 |
-
|
| 221 |
-
|
| 222 |
-
|
| 223 |
-
|
| 224 |
-
|
| 225 |
-
|
| 226 |
-
|
| 227 |
-
<
|
| 228 |
-
|
| 229 |
-
<
|
| 230 |
-
|
| 231 |
-
<button
|
| 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 |
-
</div>
|
| 272 |
-
|
| 273 |
-
|
| 274 |
-
|
| 275 |
-
|
| 276 |
-
|
| 277 |
-
|
| 278 |
-
|
| 279 |
-
|
| 280 |
-
|
| 281 |
-
|
| 282 |
-
<div
|
| 283 |
-
|
| 284 |
-
|
| 285 |
-
<div
|
| 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 |
-
<div
|
| 343 |
-
|
| 344 |
-
<
|
| 345 |
-
|
| 346 |
-
<div
|
| 347 |
-
|
| 348 |
-
|
| 349 |
-
<
|
| 350 |
-
|
| 351 |
-
|
| 352 |
-
|
| 353 |
-
|
| 354 |
-
|
| 355 |
-
|
| 356 |
-
|
| 357 |
-
|
| 358 |
-
|
| 359 |
-
<
|
| 360 |
-
<div
|
| 361 |
-
<
|
| 362 |
-
|
| 363 |
-
|
| 364 |
-
|
| 365 |
-
|
| 366 |
-
<div
|
| 367 |
-
|
| 368 |
-
|
| 369 |
-
|
| 370 |
-
|
| 371 |
-
<
|
| 372 |
-
|
| 373 |
-
</div>
|
| 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 |
-
</div>
|
| 399 |
-
|
| 400 |
-
|
| 401 |
-
|
| 402 |
-
<
|
| 403 |
-
|
| 404 |
-
|
| 405 |
-
|
| 406 |
-
|
| 407 |
-
|
| 408 |
-
|
| 409 |
-
|
| 410 |
-
|
| 411 |
-
|
| 412 |
-
|
| 413 |
-
|
| 414 |
-
|
| 415 |
-
|
| 416 |
-
<
|
| 417 |
-
|
| 418 |
-
|
| 419 |
-
|
| 420 |
-
|
| 421 |
-
<span class="help-action-
|
| 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 |
-
</div>
|
| 464 |
-
<div
|
| 465 |
-
<div
|
| 466 |
-
<div>
|
| 467 |
-
<
|
| 468 |
-
<
|
| 469 |
-
|
| 470 |
-
|
| 471 |
-
|
| 472 |
-
|
| 473 |
-
|
| 474 |
-
|
| 475 |
-
<
|
| 476 |
-
<
|
| 477 |
-
|
| 478 |
-
|
| 479 |
-
|
| 480 |
-
|
| 481 |
-
<div
|
| 482 |
-
|
| 483 |
-
<div
|
| 484 |
-
|
| 485 |
-
|
| 486 |
-
|
| 487 |
-
|
| 488 |
-
|
| 489 |
-
|
| 490 |
-
|
| 491 |
-
|
| 492 |
-
|
| 493 |
-
|
| 494 |
-
|
| 495 |
-
|
| 496 |
-
|
| 497 |
-
</
|
| 498 |
-
</div>
|
| 499 |
-
|
| 500 |
-
|
| 501 |
-
|
| 502 |
-
|
| 503 |
-
<button
|
| 504 |
-
<svg viewBox="0 0 24 24"><path d="
|
| 505 |
-
|
| 506 |
-
</button>
|
| 507 |
-
</div>
|
| 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 |
-
<span class="stack-
|
| 556 |
-
|
| 557 |
-
<
|
| 558 |
-
|
| 559 |
-
<span class="stack-
|
| 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 |
-
|
| 586 |
-
|
| 587 |
-
|
| 588 |
-
|
| 589 |
-
|
| 590 |
-
|
| 591 |
-
|
| 592 |
-
|
| 593 |
-
|
| 594 |
-
|
| 595 |
-
|
| 596 |
-
|
| 597 |
-
Field Notes
|
| 598 |
-
</a>
|
| 599 |
-
</div>
|
| 600 |
-
|
| 601 |
-
<div class="sidebar-footer">
|
| 602 |
-
Made in BrasΓlia, DF π§π·<br>
|
| 603 |
-
<span>for every stray that deserves to be seen</span>
|
| 604 |
-
</div>
|
| 605 |
-
</aside>
|
| 606 |
-
|
| 607 |
-
</div><!-- /desktop-layout -->
|
| 608 |
-
|
| 609 |
-
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.9.4/leaflet.min.js"></script>
|
| 610 |
-
<script src="/static/app.js"></script>
|
| 611 |
-
<script src="/static/help-proof.js"></script>
|
| 612 |
-
</body>
|
| 613 |
-
</html>
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="utf-8"/>
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
|
| 6 |
+
<title>PawMap</title>
|
| 7 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.9.4/leaflet.min.css"/>
|
| 8 |
+
<link rel="preconnect" href="https://fonts.googleapis.com"/>
|
| 9 |
+
<link href="https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,400;0,14..32,500;0,14..32,600;0,14..32,700;1,14..32,400&display=swap" rel="stylesheet"/>
|
| 10 |
+
<link rel="stylesheet" href="/static/style.css"/>
|
| 11 |
+
<script src="https://cdn.jsdelivr.net/npm/lucide@0.454.0/dist/umd/lucide.min.js"></script>
|
| 12 |
+
<script src="https://unpkg.com/@lottiefiles/lottie-player@2.0.8/dist/lottie-player.js"></script>
|
| 13 |
+
</head>
|
| 14 |
+
<body>
|
| 15 |
+
<div id="desktop-layout">
|
| 16 |
+
|
| 17 |
+
<!-- ββ LEFT SIDEBAR (desktop only) ββ -->
|
| 18 |
+
<aside id="sidebar-left">
|
| 19 |
+
<div class="sidebar-logo">
|
| 20 |
+
<span class="sidebar-paw">πΎ</span>
|
| 21 |
+
<span class="sidebar-brand">PawMap</span>
|
| 22 |
+
</div>
|
| 23 |
+
<p class="sidebar-tagline">Collaborative stray animal mapping, powered by AI.</p>
|
| 24 |
+
|
| 25 |
+
<div class="sidebar-divider"></div>
|
| 26 |
+
|
| 27 |
+
<div class="sidebar-section">
|
| 28 |
+
<h3>The problem</h3>
|
| 29 |
+
<p>Independent rescuers in BrasΓlia, DF keep track of entire stray animal colonies in their heads β which ones were neutered, which one got hurt last winter, which one hasn't shown up this week. That knowledge lives in WhatsApp groups and fades when people move on.</p>
|
| 30 |
+
<p>PawMap turns those scattered sightings into a shared, persistent map β one photo at a time.</p>
|
| 31 |
+
</div>
|
| 32 |
+
|
| 33 |
+
<div class="sidebar-divider"></div>
|
| 34 |
+
|
| 35 |
+
<div class="sidebar-section">
|
| 36 |
+
<h3>How it works</h3>
|
| 37 |
+
<div class="how-steps">
|
| 38 |
+
<div class="how-step">
|
| 39 |
+
<div class="how-num"><i data-lucide="camera"></i></div>
|
| 40 |
+
<div class="how-content">
|
| 41 |
+
<strong>Snap a photo</strong>
|
| 42 |
+
<span>Point your camera at any stray dog or cat.</span>
|
| 43 |
+
</div>
|
| 44 |
+
</div>
|
| 45 |
+
<div class="how-connector"></div>
|
| 46 |
+
<div class="how-step">
|
| 47 |
+
<div class="how-num"><i data-lucide="scan-line"></i></div>
|
| 48 |
+
<div class="how-content">
|
| 49 |
+
<strong>AI identifies</strong>
|
| 50 |
+
<span>Species, breed, color and condition β automatically.</span>
|
| 51 |
+
</div>
|
| 52 |
+
</div>
|
| 53 |
+
<div class="how-connector"></div>
|
| 54 |
+
<div class="how-step">
|
| 55 |
+
<div class="how-num"><i data-lucide="git-merge"></i></div>
|
| 56 |
+
<div class="how-content">
|
| 57 |
+
<strong>Smart matching</strong>
|
| 58 |
+
<span>Checks if this animal has been seen before.</span>
|
| 59 |
+
</div>
|
| 60 |
+
</div>
|
| 61 |
+
<div class="how-connector"></div>
|
| 62 |
+
<div class="how-step">
|
| 63 |
+
<div class="how-num"><i data-lucide="map-pin"></i></div>
|
| 64 |
+
<div class="how-content">
|
| 65 |
+
<strong>Map updates</strong>
|
| 66 |
+
<span>Sighting linked to the animal's profile β or a new one is created.</span>
|
| 67 |
+
</div>
|
| 68 |
+
</div>
|
| 69 |
+
</div>
|
| 70 |
+
</div>
|
| 71 |
+
|
| 72 |
+
<div class="sidebar-divider"></div>
|
| 73 |
+
|
| 74 |
+
<div class="sidebar-section sidebar-map-legend">
|
| 75 |
+
<h3>Map legend</h3>
|
| 76 |
+
<div class="legend-row"><span class="legend-dot green"></span> Dog β seen recently</div>
|
| 77 |
+
<div class="legend-row"><span class="legend-dot orange"></span> Cat β seen recently</div>
|
| 78 |
+
<div class="legend-row"><span class="legend-dot red"></span> Not seen in +30 days</div>
|
| 79 |
+
</div>
|
| 80 |
+
</aside>
|
| 81 |
+
|
| 82 |
+
<div class="phone-wrap">
|
| 83 |
+
<div class="better-on-mobile"><i data-lucide="smartphone"></i> Better on mobile</div>
|
| 84 |
+
<div class="phone-frame">
|
| 85 |
+
<div class="phone-btn phone-btn-vol-up"></div>
|
| 86 |
+
<div class="phone-btn phone-btn-vol-down"></div>
|
| 87 |
+
<div class="phone-btn phone-btn-power"></div>
|
| 88 |
+
<div id="app">
|
| 89 |
+
|
| 90 |
+
<!-- ββ ONBOARDING ββ -->
|
| 91 |
+
<div id="screen-splash">
|
| 92 |
+
<button id="ob-skip">Skip</button>
|
| 93 |
+
|
| 94 |
+
<!-- Steps -->
|
| 95 |
+
<div id="ob-track">
|
| 96 |
+
|
| 97 |
+
<!-- Step 1 -->
|
| 98 |
+
<div class="ob-step">
|
| 99 |
+
<div class="ob-lottie-wrap">
|
| 100 |
+
<lottie-player src="/static/lottie/step1.json" background="transparent" speed="1" loop autoplay class="ob-lottie"></lottie-player>
|
| 101 |
+
<div class="ob-lottie-fallback"><i data-lucide="camera"></i></div>
|
| 102 |
+
</div>
|
| 103 |
+
<div class="ob-text">
|
| 104 |
+
<div class="ob-step-label">Step 1 of 4</div>
|
| 105 |
+
<h2>Help a stray find its way</h2>
|
| 106 |
+
<p>Every street dog and cat deserves to be seen. PawMap lets your community map them together β one photo at a time.</p>
|
| 107 |
+
</div>
|
| 108 |
+
</div>
|
| 109 |
+
|
| 110 |
+
<!-- Step 2 -->
|
| 111 |
+
<div class="ob-step">
|
| 112 |
+
<div class="ob-lottie-wrap">
|
| 113 |
+
<lottie-player src="/static/lottie/step2.json" background="transparent" speed="1" loop autoplay class="ob-lottie"></lottie-player>
|
| 114 |
+
<div class="ob-lottie-fallback"><i data-lucide="scan-line"></i></div>
|
| 115 |
+
</div>
|
| 116 |
+
<div class="ob-text">
|
| 117 |
+
<div class="ob-step-label">Step 2 of 4</div>
|
| 118 |
+
<h2>Snap a photo β AI does the rest</h2>
|
| 119 |
+
<p>Point your camera and tap. Our AI instantly identifies species, breed, color, and condition. No forms to fill.</p>
|
| 120 |
+
</div>
|
| 121 |
+
</div>
|
| 122 |
+
|
| 123 |
+
<!-- Step 3 -->
|
| 124 |
+
<div class="ob-step">
|
| 125 |
+
<div class="ob-lottie-wrap">
|
| 126 |
+
<lottie-player src="/static/lottie/step3.json" background="transparent" speed="1" loop autoplay class="ob-lottie"></lottie-player>
|
| 127 |
+
<div class="ob-lottie-fallback"><i data-lucide="refresh-cw"></i></div>
|
| 128 |
+
</div>
|
| 129 |
+
<div class="ob-text">
|
| 130 |
+
<div class="ob-step-label">Step 3 of 4</div>
|
| 131 |
+
<h2>AI matches the same animal</h2>
|
| 132 |
+
<p>Seen this dog before? The AI compares your photo with previous sightings and links them automatically β building each animal's story.</p>
|
| 133 |
+
</div>
|
| 134 |
+
</div>
|
| 135 |
+
|
| 136 |
+
<!-- Step 4 -->
|
| 137 |
+
<div class="ob-step">
|
| 138 |
+
<div class="ob-lottie-wrap">
|
| 139 |
+
<lottie-player src="/static/lottie/step4.json" background="transparent" speed="1" loop autoplay class="ob-lottie"></lottie-player>
|
| 140 |
+
<div class="ob-lottie-fallback"><i data-lucide="home"></i></div>
|
| 141 |
+
</div>
|
| 142 |
+
<div class="ob-text">
|
| 143 |
+
<div class="ob-step-label">Step 4 of 4</div>
|
| 144 |
+
<h2>Every map pin is a chance</h2>
|
| 145 |
+
<p>Mapping a dog brings more chances to find a forever family β or get help from the community when it's needed most.</p>
|
| 146 |
+
</div>
|
| 147 |
+
</div>
|
| 148 |
+
|
| 149 |
+
</div><!-- /ob-track -->
|
| 150 |
+
|
| 151 |
+
<!-- Dots -->
|
| 152 |
+
<div id="ob-dots">
|
| 153 |
+
<span class="ob-dot active"></span>
|
| 154 |
+
<span class="ob-dot"></span>
|
| 155 |
+
<span class="ob-dot"></span>
|
| 156 |
+
<span class="ob-dot"></span>
|
| 157 |
+
</div>
|
| 158 |
+
|
| 159 |
+
<!-- Actions -->
|
| 160 |
+
<div id="ob-actions">
|
| 161 |
+
<button id="ob-next">Next β</button>
|
| 162 |
+
</div>
|
| 163 |
+
|
| 164 |
+
</div><!-- /screen-splash -->
|
| 165 |
+
|
| 166 |
+
<!-- ββ HEADER ββ -->
|
| 167 |
+
<header id="header">
|
| 168 |
+
<button class="icon-btn" aria-label="Menu">
|
| 169 |
+
<svg viewBox="0 0 24 24"><line x1="3" y1="6" x2="21" y2="6"/><line x1="3" y1="12" x2="21" y2="12"/><line x1="3" y1="18" x2="21" y2="18"/></svg>
|
| 170 |
+
</button>
|
| 171 |
+
<span class="logo">PawMap</span>
|
| 172 |
+
<button class="icon-btn" aria-label="Options">
|
| 173 |
+
<svg viewBox="0 0 24 24"><circle cx="12" cy="5" r="1.5" fill="#fff" stroke="none"/><circle cx="12" cy="12" r="1.5" fill="#fff" stroke="none"/><circle cx="12" cy="19" r="1.5" fill="#fff" stroke="none"/></svg>
|
| 174 |
+
</button>
|
| 175 |
+
</header>
|
| 176 |
+
|
| 177 |
+
<!-- ββ FILTER ROW ββ -->
|
| 178 |
+
<div id="filter-row">
|
| 179 |
+
<button class="chip active" data-species="all">All</button>
|
| 180 |
+
<button class="chip" data-species="dog"><i data-lucide="dog"></i> Dogs</button>
|
| 181 |
+
<button class="chip" data-species="cat"><i data-lucide="cat"></i> Cats</button>
|
| 182 |
+
<button class="chip" data-timeframe="today">Today</button>
|
| 183 |
+
<button class="chip" data-timeframe="week">This Week</button>
|
| 184 |
+
</div>
|
| 185 |
+
|
| 186 |
+
<!-- ββ SCREEN: MAP ββ -->
|
| 187 |
+
<div id="screen-map" class="screen active">
|
| 188 |
+
<div id="map"></div>
|
| 189 |
+
<div id="map-empty">No sightings yet</div>
|
| 190 |
+
<div id="sighting-card" class="hidden">
|
| 191 |
+
<div class="card-photo" id="card-photo"><i data-lucide="paw-print"></i></div>
|
| 192 |
+
<div class="card-info">
|
| 193 |
+
<div class="card-top"><span class="badge" id="card-badge">Dog</span><span class="card-time" id="card-time"></span></div>
|
| 194 |
+
<div class="card-location" id="card-location"></div>
|
| 195 |
+
<div class="card-sub" id="card-sub"></div>
|
| 196 |
+
</div>
|
| 197 |
+
<button class="btn-ficha" id="card-btn">View profile</button>
|
| 198 |
+
</div>
|
| 199 |
+
</div>
|
| 200 |
+
|
| 201 |
+
<!-- ββ SCREEN: REGISTER ββ -->
|
| 202 |
+
<div id="screen-register" class="screen">
|
| 203 |
+
<input type="file" id="photo-input" accept="image/*" capture="environment"/>
|
| 204 |
+
<div id="viewfinder">
|
| 205 |
+
<div id="gps-pill">
|
| 206 |
+
<svg viewBox="0 0 24 24"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7z"/><circle cx="12" cy="9" r="2.5"/></svg>
|
| 207 |
+
<span id="gps-text">Tap to detect location</span>
|
| 208 |
+
</div>
|
| 209 |
+
<img id="photo-preview" src="" alt="photo"/>
|
| 210 |
+
<div id="camera-placeholder">
|
| 211 |
+
<svg viewBox="0 0 24 24"><path d="M23 19a2 2 0 01-2 2H3a2 2 0 01-2-2V8a2 2 0 012-2h4l2-3h6l2 3h4a2 2 0 012 2z"/><circle cx="12" cy="13" r="4"/></svg>
|
| 212 |
+
<p>Tap the button to take a photo</p>
|
| 213 |
+
</div>
|
| 214 |
+
<button id="shutter-btn" aria-label="Take photo">
|
| 215 |
+
<svg viewBox="0 0 24 24"><path d="M23 19a2 2 0 01-2 2H3a2 2 0 01-2-2V8a2 2 0 012-2h4l2-3h6l2 3h4a2 2 0 012 2z"/><circle cx="12" cy="13" r="4"/></svg>
|
| 216 |
+
</button>
|
| 217 |
+
</div>
|
| 218 |
+
<div id="reg-sheet">
|
| 219 |
+
<div class="drag-handle"></div>
|
| 220 |
+
<div id="notes-row">
|
| 221 |
+
<svg viewBox="0 0 24 24"><path d="M11 4H4a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2v-7"/><path d="M18.5 2.5a2.121 2.121 0 013 3L12 15l-4 1 1-4 9.5-9.5z"/></svg>
|
| 222 |
+
<textarea id="notes-input" rows="1" placeholder="Add a note (optional)"></textarea>
|
| 223 |
+
</div>
|
| 224 |
+
<button class="btn-secondary" id="gps-btn">
|
| 225 |
+
<svg viewBox="0 0 24 24"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7z"/><circle cx="12" cy="9" r="2.5"/></svg>
|
| 226 |
+
Add Location
|
| 227 |
+
</button>
|
| 228 |
+
<button class="btn-primary" id="submit-reg-btn" disabled>
|
| 229 |
+
<svg viewBox="0 0 24 24"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7z"/><circle cx="12" cy="9" r="2.5"/></svg>
|
| 230 |
+
Report Sighting
|
| 231 |
+
</button>
|
| 232 |
+
</div>
|
| 233 |
+
</div>
|
| 234 |
+
|
| 235 |
+
<!-- ββ SCREEN: ANALYSIS ββ -->
|
| 236 |
+
<div id="screen-analysis" class="screen">
|
| 237 |
+
<div class="flow-header">
|
| 238 |
+
<button class="back-btn" id="analysis-back"><svg viewBox="0 0 24 24"><polyline points="15 18 9 12 15 6"/></svg></button>
|
| 239 |
+
<h2>Analyzing Sighting</h2>
|
| 240 |
+
</div>
|
| 241 |
+
<div id="analysis-photo-wrap">
|
| 242 |
+
<img id="analysis-photo" src="" alt="photo"/>
|
| 243 |
+
<div id="ai-badge"><span class="dot"></span><span id="ai-badge-text">AI Analyzing...</span></div>
|
| 244 |
+
<div id="animal-result-badge"><svg viewBox="0 0 24 24"><path d="M20 6L9 17l-5-5"/></svg><span id="result-badge-text">Caramel Dog</span></div>
|
| 245 |
+
</div>
|
| 246 |
+
<div class="analysis-card">
|
| 247 |
+
<h3>Identified Details <button id="edit-btn"><i data-lucide="pencil"></i></button></h3>
|
| 248 |
+
<p class="subtitle">AI filled in these details. Correct if needed.</p>
|
| 249 |
+
<div class="dropdowns-grid">
|
| 250 |
+
<div class="dropdown-field"><label>Species</label><select id="sel-species"><option value="dog">Dog</option><option value="cat">Cat</option></select></div>
|
| 251 |
+
<div class="dropdown-field"><label>Breed (Estimated)</label><select id="sel-breed"></select></div>
|
| 252 |
+
<div class="dropdown-field"><label>Primary Color</label><select id="sel-color"><option value="Caramelo">Caramel</option><option value="Preto">Black</option><option value="Branco">White</option><option value="Cinza">Gray</option><option value="Marrom">Brown</option><option value="Mesclado">Mixed</option></select></div>
|
| 253 |
+
<div class="dropdown-field"><label>Size</label><select id="sel-size"><option value="Pequeno">Small</option><option value="MΓ©dio">Medium</option><option value="Grande">Large</option></select></div>
|
| 254 |
+
</div>
|
| 255 |
+
<div class="condition-label">Condition (Optional)</div>
|
| 256 |
+
<div class="condition-chips">
|
| 257 |
+
<button class="cond-chip" data-val="Injured"><span class="check"><i data-lucide="check"></i></span> Injured</button>
|
| 258 |
+
<button class="cond-chip" data-val="Looks Healthy"><span class="check"><i data-lucide="check"></i></span> Looks Healthy</button>
|
| 259 |
+
<button class="cond-chip" data-val="Has Collar"><span class="check"><i data-lucide="check"></i></span> Has Collar</button>
|
| 260 |
+
</div>
|
| 261 |
+
</div>
|
| 262 |
+
<div class="analysis-card" id="similar-section">
|
| 263 |
+
<h3>Similar animals nearby</h3>
|
| 264 |
+
<p class="subtitle">Found by AI for context β recognition is automatic.</p>
|
| 265 |
+
<div class="similar-scroll" id="similar-scroll"></div>
|
| 266 |
+
</div>
|
| 267 |
+
<div class="analysis-card">
|
| 268 |
+
<div class="dropdown-field">
|
| 269 |
+
<label>Name <span class="optional-tag">optional</span></label>
|
| 270 |
+
<input type="text" id="animal-name-input" placeholder="e.g. Caputino, Bolinha, Lunaβ¦" maxlength="40" autocomplete="off"/>
|
| 271 |
+
</div>
|
| 272 |
+
</div>
|
| 273 |
+
<div id="analysis-actions">
|
| 274 |
+
<button class="btn-primary" id="confirm-btn">Confirm & Report β</button>
|
| 275 |
+
<button class="btn-outline" id="discard-btn">Discard Photo</button>
|
| 276 |
+
</div>
|
| 277 |
+
</div>
|
| 278 |
+
|
| 279 |
+
<!-- ββ SCREEN: CONFIRM ββ -->
|
| 280 |
+
<div id="screen-confirm" class="screen">
|
| 281 |
+
<div id="confirm-inner">
|
| 282 |
+
<div id="confirm-photo-wrap">
|
| 283 |
+
<div id="confirm-photo"><i data-lucide="paw-print"></i></div>
|
| 284 |
+
<div id="confirm-check"><svg viewBox="0 0 24 24"><polyline points="20 6 9 20 4 14"/></svg></div>
|
| 285 |
+
</div>
|
| 286 |
+
<div id="confirm-title">Sighting<br>Reported!</div>
|
| 287 |
+
<div id="confirm-card">
|
| 288 |
+
<div class="confirm-row">
|
| 289 |
+
<span class="confirm-row-label"><svg viewBox="0 0 24 24"><path d="M20 21v-2a4 4 0 00-4-4H8a4 4 0 00-4 4v2"/><circle cx="12" cy="7" r="4"/></svg>Animal:</span>
|
| 290 |
+
<span class="confirm-row-value" id="confirm-animal">β</span>
|
| 291 |
+
</div>
|
| 292 |
+
<div class="confirm-row">
|
| 293 |
+
<span class="confirm-row-label"><svg viewBox="0 0 24 24"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7z"/><circle cx="12" cy="9" r="2.5"/></svg>Location:</span>
|
| 294 |
+
<span class="confirm-row-value" id="confirm-local">β</span>
|
| 295 |
+
</div>
|
| 296 |
+
<div class="confirm-row">
|
| 297 |
+
<span class="confirm-row-label"><svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="10"/><polyline points="12 6 12 12 16 14"/></svg>Time:</span>
|
| 298 |
+
<span class="confirm-row-value" id="confirm-hora">β</span>
|
| 299 |
+
</div>
|
| 300 |
+
</div>
|
| 301 |
+
<div id="confirm-id-grid" class="confirm-id-grid"></div>
|
| 302 |
+
<div class="confirm-btns">
|
| 303 |
+
<button class="btn-primary" id="register-another-btn"><svg viewBox="0 0 24 24"><path d="M23 19a2 2 0 01-2 2H3a2 2 0 01-2-2V8a2 2 0 012-2h4l2-3h6l2 3h4a2 2 0 012 2z"/><circle cx="12" cy="13" r="4"/></svg>Report Another</button>
|
| 304 |
+
<button class="btn-secondary" id="go-map-btn"><svg viewBox="0 0 24 24"><polygon points="3 6 9 3 15 6 21 3 21 18 15 21 9 18 3 21"/></svg>View on Map</button>
|
| 305 |
+
</div>
|
| 306 |
+
</div>
|
| 307 |
+
</div>
|
| 308 |
+
|
| 309 |
+
<!-- ββ SCREEN: SIGHTINGS LIST ββ -->
|
| 310 |
+
<div id="screen-sightings" class="screen">
|
| 311 |
+
<div id="sightings-header">
|
| 312 |
+
<span id="sightings-count">Loading...</span>
|
| 313 |
+
<button id="refresh-btn" title="Refresh"><i data-lucide="refresh-cw"></i></button>
|
| 314 |
+
</div>
|
| 315 |
+
<div id="animals-list"></div>
|
| 316 |
+
</div>
|
| 317 |
+
|
| 318 |
+
<!-- ββ SCREEN: PROFILE / FICHA ββ -->
|
| 319 |
+
<div id="screen-profile" class="screen">
|
| 320 |
+
<div class="profile-scroll">
|
| 321 |
+
<!-- Hero -->
|
| 322 |
+
<div class="profile-hero">
|
| 323 |
+
<img class="profile-hero-img" id="profile-hero-img" src="" alt=""/>
|
| 324 |
+
<div class="hero-gradient"></div>
|
| 325 |
+
<div class="hero-top-btns">
|
| 326 |
+
<button class="hero-btn" id="profile-back-btn"><svg viewBox="0 0 24 24"><polyline points="15 18 9 12 15 6"/></svg></button>
|
| 327 |
+
<button class="hero-btn" id="profile-share-btn"><svg viewBox="0 0 24 24"><circle cx="18" cy="5" r="3"/><circle cx="6" cy="12" r="3"/><circle cx="18" cy="19" r="3"/><line x1="8.59" y1="13.51" x2="15.42" y2="17.49"/><line x1="15.41" y1="6.51" x2="8.59" y2="10.49"/></svg></button>
|
| 328 |
+
</div>
|
| 329 |
+
<div id="profile-sightings-badge">
|
| 330 |
+
<svg viewBox="0 0 24 24"><path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"/><circle cx="12" cy="12" r="3"/></svg>
|
| 331 |
+
<span id="profile-badge-text">0 sightings</span>
|
| 332 |
+
</div>
|
| 333 |
+
</div>
|
| 334 |
+
|
| 335 |
+
<!-- Content -->
|
| 336 |
+
<div class="profile-content">
|
| 337 |
+
<h1 id="profile-title">...</h1>
|
| 338 |
+
<div id="profile-status"><span class="status-dot"></span><span id="profile-status-text">...</span></div>
|
| 339 |
+
<div id="profile-helped-banner" style="display:none">
|
| 340 |
+
<i data-lucide="heart"></i>
|
| 341 |
+
<span>This animal has been helped by the community</span>
|
| 342 |
+
</div>
|
| 343 |
+
<div id="profile-ai-desc" class="ai-desc-callout" style="display:none">
|
| 344 |
+
<span class="ai-label">AI</span>
|
| 345 |
+
<p id="profile-ai-text"></p>
|
| 346 |
+
</div>
|
| 347 |
+
|
| 348 |
+
<!-- Identification -->
|
| 349 |
+
<div class="profile-section">
|
| 350 |
+
<div class="section-title">Identification</div>
|
| 351 |
+
<div class="id-grid">
|
| 352 |
+
<div class="id-cell"><div class="id-cell-label">Species</div><div class="id-cell-value" id="prof-species">β</div></div>
|
| 353 |
+
<div class="id-cell"><div class="id-cell-label">Breed</div><div class="id-cell-value" id="prof-breed">β</div></div>
|
| 354 |
+
<div class="id-cell"><div class="id-cell-label">Size</div><div class="id-cell-value" id="prof-size">β</div></div>
|
| 355 |
+
<div class="id-cell"><div class="id-cell-label">Color</div><div class="id-cell-value" id="prof-color">β</div></div>
|
| 356 |
+
</div>
|
| 357 |
+
</div>
|
| 358 |
+
|
| 359 |
+
<!-- Gallery -->
|
| 360 |
+
<div class="profile-section">
|
| 361 |
+
<div class="gallery-header">
|
| 362 |
+
<div class="section-title" style="margin-bottom:0">Sightings Gallery</div>
|
| 363 |
+
<button class="gallery-see-all">See all</button>
|
| 364 |
+
</div>
|
| 365 |
+
<div class="gallery-scroll" id="profile-gallery"></div>
|
| 366 |
+
</div>
|
| 367 |
+
|
| 368 |
+
<!-- Community Help -->
|
| 369 |
+
<div class="profile-section" id="profile-help-section" style="display:none">
|
| 370 |
+
<div class="section-title help-section-title">
|
| 371 |
+
<svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="var(--green)" stroke-width="2"><path d="M20.84 4.61a5.5 5.5 0 00-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 00-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 000-7.78z"/></svg>
|
| 372 |
+
Community Help
|
| 373 |
+
</div>
|
| 374 |
+
<div id="profile-help-list"></div>
|
| 375 |
+
</div>
|
| 376 |
+
|
| 377 |
+
<!-- Trajectory -->
|
| 378 |
+
<div class="profile-section">
|
| 379 |
+
<div class="section-title">Recent Path</div>
|
| 380 |
+
<div id="trajectory-map"></div>
|
| 381 |
+
</div>
|
| 382 |
+
</div>
|
| 383 |
+
</div>
|
| 384 |
+
|
| 385 |
+
<!-- Footer -->
|
| 386 |
+
<div class="profile-footer">
|
| 387 |
+
<button class="btn-adopt" id="btn-adopt"><i data-lucide="heart"></i> I Want to Adopt / Help</button>
|
| 388 |
+
</div>
|
| 389 |
+
</div>
|
| 390 |
+
|
| 391 |
+
<!-- ββ HELP BOTTOM SHEET ββ -->
|
| 392 |
+
<div id="help-overlay" class="hidden"></div>
|
| 393 |
+
<div id="help-sheet" class="help-sheet hidden">
|
| 394 |
+
<div class="drag-handle"></div>
|
| 395 |
+
<div id="help-animal-row">
|
| 396 |
+
<div id="help-animal-photo"></div>
|
| 397 |
+
<div id="help-animal-info">
|
| 398 |
+
<div id="help-animal-name">β</div>
|
| 399 |
+
<div id="help-animal-sub">β</div>
|
| 400 |
+
</div>
|
| 401 |
+
</div>
|
| 402 |
+
<div class="help-actions">
|
| 403 |
+
<button class="help-action-btn" id="help-share">
|
| 404 |
+
<span class="help-action-icon"><i data-lucide="share-2"></i></span>
|
| 405 |
+
<span class="help-action-text">
|
| 406 |
+
<strong>Share this animal</strong>
|
| 407 |
+
<small>Send via WhatsApp or copy link</small>
|
| 408 |
+
</span>
|
| 409 |
+
<svg class="help-chevron" viewBox="0 0 24 24"><polyline points="9 18 15 12 9 6"/></svg>
|
| 410 |
+
</button>
|
| 411 |
+
<button class="help-action-btn" id="help-directions">
|
| 412 |
+
<span class="help-action-icon"><i data-lucide="map-pin"></i></span>
|
| 413 |
+
<span class="help-action-text">
|
| 414 |
+
<strong>Get directions</strong>
|
| 415 |
+
<small>Navigate to last known location</small>
|
| 416 |
+
</span>
|
| 417 |
+
<svg class="help-chevron" viewBox="0 0 24 24"><polyline points="9 18 15 12 9 6"/></svg>
|
| 418 |
+
</button>
|
| 419 |
+
<button class="help-action-btn" id="help-helped">
|
| 420 |
+
<span class="help-action-icon"><i data-lucide="check-circle"></i></span>
|
| 421 |
+
<span class="help-action-text">
|
| 422 |
+
<strong>I helped this animal</strong>
|
| 423 |
+
<small>Log that you fed, treated, or fostered them</small>
|
| 424 |
+
</span>
|
| 425 |
+
<svg class="help-chevron" viewBox="0 0 24 24"><polyline points="9 18 15 12 9 6"/></svg>
|
| 426 |
+
</button>
|
| 427 |
+
</div>
|
| 428 |
+
<button class="help-cancel" id="help-cancel">Cancel</button>
|
| 429 |
+
</div>
|
| 430 |
+
|
| 431 |
+
<!-- ββ HELPED CONFIRM ββ -->
|
| 432 |
+
<div id="helped-confirm" class="helped-confirm hidden">
|
| 433 |
+
<div class="helped-inner">
|
| 434 |
+
<div class="helped-icon-wrap"><i data-lucide="heart"></i></div>
|
| 435 |
+
<h3>Thank you</h3>
|
| 436 |
+
<p>Your help has been recorded.<br>Every act of care makes a difference.</p>
|
| 437 |
+
<button id="helped-ok">Done</button>
|
| 438 |
+
</div>
|
| 439 |
+
</div>
|
| 440 |
+
|
| 441 |
+
<!-- ββ SCREEN: HELP PROOF ββ -->
|
| 442 |
+
<div id="screen-help-proof" class="screen">
|
| 443 |
+
<div class="flow-header">
|
| 444 |
+
<button class="back-btn" id="help-proof-back"><svg viewBox="0 0 24 24"><polyline points="15 18 9 12 15 6"/></svg></button>
|
| 445 |
+
<h2>I Helped This Animal</h2>
|
| 446 |
+
</div>
|
| 447 |
+
<div id="help-proof-animal-row">
|
| 448 |
+
<div id="help-proof-animal-photo" class="help-proof-thumb"></div>
|
| 449 |
+
<div>
|
| 450 |
+
<div id="help-proof-animal-name" class="help-proof-animal-name">β</div>
|
| 451 |
+
<div id="help-proof-animal-sub" class="help-proof-animal-sub">β</div>
|
| 452 |
+
</div>
|
| 453 |
+
</div>
|
| 454 |
+
<div class="help-proof-section">
|
| 455 |
+
<div class="help-proof-label">What did you do?</div>
|
| 456 |
+
<div class="help-type-chips" id="help-type-chips">
|
| 457 |
+
<button class="help-type-chip active" data-type="fed"><i data-lucide="utensils"></i> Fed</button>
|
| 458 |
+
<button class="help-type-chip" data-type="vet"><i data-lucide="stethoscope"></i> Took to vet</button>
|
| 459 |
+
<button class="help-type-chip" data-type="adopted"><i data-lucide="home"></i> Adopted</button>
|
| 460 |
+
<button class="help-type-chip" data-type="rescued"><i data-lucide="shield-check"></i> Rescued</button>
|
| 461 |
+
<button class="help-type-chip" data-type="other"><i data-lucide="heart"></i> Other</button>
|
| 462 |
+
</div>
|
| 463 |
+
</div>
|
| 464 |
+
<div class="help-proof-section">
|
| 465 |
+
<div class="help-proof-label">Add a photo <span class="optional-tag">optional</span></div>
|
| 466 |
+
<div id="help-proof-viewfinder" class="help-proof-viewfinder">
|
| 467 |
+
<input type="file" id="help-proof-input" accept="image/*" capture="environment"/>
|
| 468 |
+
<img id="help-proof-preview" src="" alt="" class="hidden"/>
|
| 469 |
+
<div id="help-proof-placeholder">
|
| 470 |
+
<svg viewBox="0 0 24 24"><path d="M23 19a2 2 0 01-2 2H3a2 2 0 01-2-2V8a2 2 0 012-2h4l2-3h6l2 3h4a2 2 0 012 2z"/><circle cx="12" cy="13" r="4"/></svg>
|
| 471 |
+
<span>Tap to add photo proof</span>
|
| 472 |
+
</div>
|
| 473 |
+
<div id="help-proof-ai-badge" class="help-proof-ai-badge hidden">
|
| 474 |
+
<span class="dot"></span><span id="help-proof-ai-text">Verifying with AIβ¦</span>
|
| 475 |
+
</div>
|
| 476 |
+
<div id="help-proof-verified-badge" class="help-proof-verified-badge hidden">
|
| 477 |
+
<svg viewBox="0 0 24 24"><path d="M20 6L9 17l-5-5"/></svg>
|
| 478 |
+
<span id="help-proof-verified-text">Same animal confirmed</span>
|
| 479 |
+
</div>
|
| 480 |
+
</div>
|
| 481 |
+
</div>
|
| 482 |
+
<div class="help-proof-section">
|
| 483 |
+
<div class="help-proof-label">Tell the story <span class="optional-tag">optional</span></div>
|
| 484 |
+
<textarea id="help-proof-notes" rows="3" placeholder="What happened? Where did you take them?"></textarea>
|
| 485 |
+
</div>
|
| 486 |
+
<button class="btn-primary help-proof-submit" id="help-proof-submit">
|
| 487 |
+
<svg viewBox="0 0 24 24"><path d="M20.84 4.61a5.5 5.5 0 00-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 00-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 000-7.78z"/></svg>
|
| 488 |
+
Register Help
|
| 489 |
+
</button>
|
| 490 |
+
</div>
|
| 491 |
+
|
| 492 |
+
<!-- ββ PHOTO LIGHTBOX ββ -->
|
| 493 |
+
<div id="photo-lightbox" class="photo-lightbox hidden" role="dialog">
|
| 494 |
+
<div class="lightbox-backdrop"></div>
|
| 495 |
+
<div class="lightbox-inner">
|
| 496 |
+
<img id="lightbox-img" src="" alt="photo" />
|
| 497 |
+
<button id="lightbox-close" aria-label="Close"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round"><line x1="18" y1="6" x2="6" y2="18"/><line x1="6" y1="6" x2="18" y2="18"/></svg></button>
|
| 498 |
+
</div>
|
| 499 |
+
</div>
|
| 500 |
+
|
| 501 |
+
<!-- ββ PHOTO CONTEXT MENU ββ -->
|
| 502 |
+
<div id="photo-menu" class="photo-menu hidden">
|
| 503 |
+
<button id="photo-menu-download">
|
| 504 |
+
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 01-2 2H5a2 2 0 01-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></svg>
|
| 505 |
+
Download photo
|
| 506 |
+
</button>
|
| 507 |
+
</div>
|
| 508 |
+
|
| 509 |
+
<!-- ββ BOTTOM NAV ββ -->
|
| 510 |
+
<nav id="bottom-nav">
|
| 511 |
+
<button class="nav-btn active" data-screen="map"><span class="nav-icon"><i data-lucide="map"></i></span><span>Map</span></button>
|
| 512 |
+
<button class="nav-btn" data-screen="register"><span class="nav-icon"><i data-lucide="camera"></i></span><span>Report</span></button>
|
| 513 |
+
<button class="nav-btn" data-screen="sightings"><span class="nav-icon"><i data-lucide="eye"></i></span><span>Sightings</span></button>
|
| 514 |
+
</nav>
|
| 515 |
+
</div><!-- /#app -->
|
| 516 |
+
</div><!-- /.phone-frame -->
|
| 517 |
+
</div><!-- /.phone-wrap -->
|
| 518 |
+
|
| 519 |
+
<!-- ββ RIGHT SIDEBAR (desktop only) ββ -->
|
| 520 |
+
<aside id="sidebar-right">
|
| 521 |
+
<div class="sidebar-section">
|
| 522 |
+
<div class="sidebar-badge-title">Built for</div>
|
| 523 |
+
<a class="hackathon-badge" href="https://huggingface.co/build-small-hackathon" target="_blank" rel="noopener">
|
| 524 |
+
<span class="hb-icon">π‘</span>
|
| 525 |
+
<span class="hb-text">
|
| 526 |
+
<strong>Build Small Hackathon 2026</strong>
|
| 527 |
+
<small>Backyard AI track Β· Hugging Face</small>
|
| 528 |
+
</span>
|
| 529 |
+
</a>
|
| 530 |
+
</div>
|
| 531 |
+
|
| 532 |
+
<div class="sidebar-divider"></div>
|
| 533 |
+
|
| 534 |
+
<div class="sidebar-section">
|
| 535 |
+
<h3>Tech stack</h3>
|
| 536 |
+
<div class="stack-list">
|
| 537 |
+
<div class="stack-row">
|
| 538 |
+
<span class="stack-label">Vision AI</span>
|
| 539 |
+
<span class="stack-value">Nemotron Omni 30B</span>
|
| 540 |
+
</div>
|
| 541 |
+
<div class="stack-row">
|
| 542 |
+
<span class="stack-label">Embeddings</span>
|
| 543 |
+
<span class="stack-value">all-MiniLM-L6-v2</span>
|
| 544 |
+
</div>
|
| 545 |
+
<div class="stack-row">
|
| 546 |
+
<span class="stack-label">Matching</span>
|
| 547 |
+
<span class="stack-value">Cosine similarity</span>
|
| 548 |
+
</div>
|
| 549 |
+
<div class="stack-row">
|
| 550 |
+
<span class="stack-label">Map</span>
|
| 551 |
+
<span class="stack-value">Leaflet.js + OSM</span>
|
| 552 |
+
</div>
|
| 553 |
+
<div class="stack-row">
|
| 554 |
+
<span class="stack-label">Frontend</span>
|
| 555 |
+
<span class="stack-value">gr.Server SPA</span>
|
| 556 |
+
</div>
|
| 557 |
+
<div class="stack-row">
|
| 558 |
+
<span class="stack-label">Storage</span>
|
| 559 |
+
<span class="stack-value">SQLite</span>
|
| 560 |
+
</div>
|
| 561 |
+
</div>
|
| 562 |
+
</div>
|
| 563 |
+
|
| 564 |
+
<div class="sidebar-divider"></div>
|
| 565 |
+
|
| 566 |
+
<div class="sidebar-section">
|
| 567 |
+
<h3>Help an animal today</h3>
|
| 568 |
+
<p>Open a profile from the map, tap <strong>I Want to Help</strong>, and log what you did β fed, treated, fostered. A photo proves it; the AI verifies it's the same animal.</p>
|
| 569 |
+
</div>
|
| 570 |
+
|
| 571 |
+
<div class="sidebar-divider"></div>
|
| 572 |
+
|
| 573 |
+
<div class="sidebar-section sidebar-links">
|
| 574 |
+
<a href="https://huggingface.co/spaces/build-small-hackathon/viralata-mapper" target="_blank" rel="noopener">
|
| 575 |
+
<svg viewBox="0 0 24 24"><path d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"/></svg>
|
| 576 |
+
View on Hugging Face
|
| 577 |
+
</a>
|
| 578 |
+
<a href="https://huggingface.co/blog/build-small-hackathon/pawmap" target="_blank" rel="noopener">
|
| 579 |
+
<svg viewBox="0 0 24 24"><path d="M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8z"/><polyline points="14 2 14 8 20 8"/></svg>
|
| 580 |
+
Field Notes
|
| 581 |
+
</a>
|
| 582 |
+
</div>
|
| 583 |
+
|
| 584 |
+
<div class="sidebar-footer">
|
| 585 |
+
Made in BrasΓlia, DF π§π·<br>
|
| 586 |
+
<span>for every stray that deserves to be seen</span>
|
| 587 |
+
</div>
|
| 588 |
+
</aside>
|
| 589 |
+
|
| 590 |
+
</div><!-- /desktop-layout -->
|
| 591 |
+
|
| 592 |
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.9.4/leaflet.min.js"></script>
|
| 593 |
+
<script src="/static/app.js"></script>
|
| 594 |
+
<script src="/static/help-proof.js"></script>
|
| 595 |
+
</body>
|
| 596 |
+
</html> |