Stage 1 (pure JS). buildShareImage() draws a 9:16 story PNG: track shape (colored glowing line), big Distance/Time/Speed + small elevation/kcal/date, on a transparent or photo background. showShareModal() previews it with a transparent/photo toggle and Share/Save buttons; a 'Похвастаться' button in the track detail opens it. Native export (SAF save + share intent) and the settings background picker come in Stage 2 (needs an APK rebuild); on desktop the export buttons toast an error. |
||
|---|---|---|
| .. | ||
| css | ||
| data | ||
| img | ||
| js | ||
| lib | ||
| index.html | ||