From 78e5f2665044e21be1ce3f240bcaf902b43363bf Mon Sep 17 00:00:00 2001 From: Chuck Dries Date: Sun, 15 Aug 2021 13:32:11 -0700 Subject: [PATCH] Add pics from east pocket --- data/gallery/_DSC6060.jpg | 3 +++ data/gallery/_DSC6062.jpg | 3 +++ data/gallery/_DSC6066.jpg | 3 +++ src/components/MasonryGallery.js | 2 +- src/pages/index.js | 27 ++++++++++++++------------- 5 files changed, 24 insertions(+), 14 deletions(-) create mode 100644 data/gallery/_DSC6060.jpg create mode 100644 data/gallery/_DSC6062.jpg create mode 100644 data/gallery/_DSC6066.jpg diff --git a/data/gallery/_DSC6060.jpg b/data/gallery/_DSC6060.jpg new file mode 100644 index 0000000..e79a9b0 --- /dev/null +++ b/data/gallery/_DSC6060.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7b4085ad6ac92495201ce7c1577800d7c368387e5b132bde65265d2aee515b25 +size 2651223 diff --git a/data/gallery/_DSC6062.jpg b/data/gallery/_DSC6062.jpg new file mode 100644 index 0000000..f0289ea --- /dev/null +++ b/data/gallery/_DSC6062.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3953bf6f88f7b1f51304c97d40be1454c93585bcb3ea59783e263f04bb3de6c8 +size 4359433 diff --git a/data/gallery/_DSC6066.jpg b/data/gallery/_DSC6066.jpg new file mode 100644 index 0000000..65f42df --- /dev/null +++ b/data/gallery/_DSC6066.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c70b0f6688ee9567284ca4191189023685a1845eedceb9e56d0f0156a12948a5 +size 3456476 diff --git a/src/components/MasonryGallery.js b/src/components/MasonryGallery.js index 69a3446..9a17d1f 100644 --- a/src/components/MasonryGallery.js +++ b/src/components/MasonryGallery.js @@ -49,7 +49,7 @@ const MasonryGallery = ({ images, itemsPerRow: itemsPerRowByBreakpoint }) => { ? // image is only one in row 100 / itemsPerRow : // image is one of several in row - ((ar / rowAspectRatioSum) * 100).toFixed(5); + ((ar / rowAspectRatioSum) * 100).toFixed(7); const width = `${widthNumber}%`; return ( diff --git a/src/pages/index.js b/src/pages/index.js index b0cf1df..865e127 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -197,19 +197,20 @@ export const query = graphql` sourceInstanceName: { eq: "gallery" } base: { in: [ - "20160530-DSC09108.jpg" - "20200215-DSC02694.jpg" - "DSC00201.jpg" - "DSC04905.jpg" - "DSC05761.jpg" - "DSC05851.jpg" - "DSC06245.jpg" - "DSC08511.jpg" - "DSC08521.jpg" - "DSC07490.jpg" - "DSC02538.jpg" - "20190624-DSC00771.jpg" - "DSC00237.jpg" + "20160530-DSC09108.jpg" # portrait red flowers + "DSC00201.jpg" # duck + "DSC04905.jpg" # purple layers + "DSC05761.jpg" # monument valley + "DSC05851.jpg" # utahn highway sunset + "DSC06245.jpg" # snowy milky way + "DSC08521.jpg" # firepit bloom j&e + "DSC07490.jpg" # house on prairie + "DSC02538.jpg" # portrait pink cactus bloom + "20190624-DSC00771.jpg" # glacier forest fog + "DSC00237.jpg" # cotton candy clouds + "_DSC6066.jpg" # wildflowers in rear view + "_DSC6062.jpg" # field of wildflowers + "_DSC6060.jpg" # edge of the world ] } }