Unify portfolio and animal studies galleries
This commit is contained in:
@ -239,7 +239,7 @@ function GalleryTile({
|
|||||||
const { item, w, h } = tile;
|
const { item, w, h } = tile;
|
||||||
|
|
||||||
const href = `${hrefBase}/${item.id}?from=${encodeURIComponent(hrefFrom)}`;
|
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 style: CSSProperties & { "--dom"?: string } = {};
|
||||||
const dom = normalizeColor(item.dominantHex);
|
const dom = normalizeColor(item.dominantHex);
|
||||||
|
|||||||
Reference in New Issue
Block a user