feat(hikes): explicit cover.jpg for the listing card

A `cover.*` image (jpg/jpeg/png/webp/heic/heif) in a hike's images/ dir
(or hike root) now always becomes the overview-card cover, overriding the
"first public route photo" heuristic. Unlike route photos it needs no
track.gpx waypoint, is always public, and is excluded from the photo strip;
alt text falls back heroAlt → title → "Titelbild". The shared responsive
encoder is extracted from processImage into encodeImageVariant so the cover
reuses it; its outputs join the orphan-cleanup keep-set.
This commit is contained in:
2026-05-23 16:09:14 +02:00
parent 8f843833e0
commit 169f8798f3
2 changed files with 86 additions and 15 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "homepage",
"version": "1.84.1",
"version": "1.85.0",
"private": true,
"type": "module",
"scripts": {