Unify portfolio and animal studies galleries

This commit is contained in:
2026-01-31 01:33:07 +01:00
parent 96efd4c942
commit 84dc219a14

View File

@ -239,7 +239,7 @@ function GalleryTile({
const { item, w, h } = tile;
const href = `${hrefBase}/${item.id}?from=${encodeURIComponent(hrefFrom)}`;
const src = `/api/image/thumbnail/${item.fileKey}.webp`;
const src = `/api/image/gallery/${item.fileKey}.webp`;
const style: CSSProperties & { "--dom"?: string } = {};
const dom = normalizeColor(item.dominantHex);