Commit 11f4af7
Preload and lazy-load info modal banner
Improve load performance and perceived responsiveness for the info modal banner image. Adds loading="lazy" to the banner image in InfoModal.vue and implements preloadBannerImage in MapView.vue which preloads props.bannerImageUrl. The info button now triggers preloading on @mouseenter to reduce delay when opening the modal.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent e716e6d commit 11f4af7
2 files changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
26 | 31 | | |
27 | 32 | | |
28 | 33 | | |
| |||
634 | 639 | | |
635 | 640 | | |
636 | 641 | | |
| 642 | + | |
637 | 643 | | |
638 | 644 | | |
639 | 645 | | |
| |||
0 commit comments