Commit 4fefffa
committed
feat: improve gallery
organize by year.
preprocess the photo list into an array like this [{year: 2024, photos: [url,url,url]}] sorted by highest year first. Then update the template to organize the photos by year, iterating over them with a header showing the year, followed by the photos.
Also make sure to use the angular or web standard feature that prevents loading the image until its in the viewport.
Update compression script and compress uncompress files.1 parent 6c5dd26 commit 4fefffa
File tree
37 files changed
+99
-23
lines changed- src
- app/gallery
- a/images/gallery
- 2015
- 2017
- 2023
37 files changed
+99
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
0 commit comments