From ec67898bb5d134b20bdc5ac2e4dbacdd4bbe6e20 Mon Sep 17 00:00:00 2001 From: Chuck Dries Date: Fri, 16 Jul 2021 17:30:42 -0700 Subject: [PATCH] simply block images that don't work well out of the box --- src/pages/index.js | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/pages/index.js b/src/pages/index.js index 74b2692..3d10376 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -61,7 +61,8 @@ const ImageButtons = ({ isClient, image, shuffleImage }) => ( edges.map((edge) => edge.node), [edges]); const image = React.useMemo(() => { - console.log("ii", imageIndex); return images[imageIndex]; }, [images, imageIndex]); @@ -149,7 +149,7 @@ const IndexPage = ({ const vibrant = getVibrant(image); const ar = getAspectRatio(image); - console.log("ar", ar); + console.log("bg", image.base); return ( <> @@ -267,7 +267,7 @@ const IndexPage = ({