From 03f012845ed7ad08fbe276a7b8824047ebe68d8c Mon Sep 17 00:00:00 2001 From: Chuck Dries Date: Sun, 20 Jun 2021 02:42:24 -0700 Subject: [PATCH] Improve mobile landing page --- gatsby-node.js | 2 -- src/pages/index.js | 10 +++++----- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/gatsby-node.js b/gatsby-node.js index 5e5deb0..435a9e5 100644 --- a/gatsby-node.js +++ b/gatsby-node.js @@ -171,8 +171,6 @@ exports.createPages = async ({ graphql, actions, reporter }) => { new Date(R.path(['node', 'childImageSharp', 'fields', 'imageMeta', 'dateTaken'], edge))), galleryImages.data.allFile.edges); - console.log(R.map(R.path(['node', 'childImageSharp', 'fields', 'imageMeta', 'dateTaken']), edges)); - edges.forEach(({ node }, index) => { const nextImage = index === edges.length - 1 ? null diff --git a/src/pages/index.js b/src/pages/index.js index 52f4da6..1e60026 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -97,11 +97,11 @@ const IndexPage = ({ data: { allFile: { edges } } }) => { // 67vw = 1/1.49253731 = 1/aspect ratio of my camera lol :
}
-
+
-

Chuck Dries

-

Full stack software engineer & hobbyist photographer

+

Chuck Dries

+

Full stack software engineer & hobbyist photographer

{
}
    @@ -117,7 +117,7 @@ const IndexPage = ({ data: { allFile: { edges } } }) => {
-
+
{