diff --git a/src/components/MasonryGallery.tsx b/src/components/MasonryGallery.tsx index 3718a29..aee08f0 100644 --- a/src/components/MasonryGallery.tsx +++ b/src/components/MasonryGallery.tsx @@ -135,6 +135,7 @@ const MasonryGallery = ({ const widthNumber = ((ar / rowAspectRatioSum) * 100).toFixed(7); width = `${widthNumber}%`; } + const vibrant = getVibrant(image); // @ts-ignore const img = getImage(image); return ( @@ -173,13 +174,33 @@ const MasonryGallery = ({ image={img} objectFit="cover" /> - { showPalette &&