diff --git a/src/components/GalleryImage.js b/src/components/GalleryImage.js index f5719bb..38dbe34 100644 --- a/src/components/GalleryImage.js +++ b/src/components/GalleryImage.js @@ -1,5 +1,5 @@ import React from 'react'; -import { graphql, Link } from 'gatsby'; +import { graphql, Link, navigate } from 'gatsby'; import { getAspectRatio, getMeta, @@ -39,7 +39,11 @@ const GalleryImage = ({ data }) => { style={getVibrantToHelmetSafeBodyStyle(vibrant)} /> - gallery +
@@ -58,28 +62,33 @@ const GalleryImage = ({ data }) => {
- {hasName(image) &&

{name}

} +

{image.base}

+ {hasName(image) &&

{name}

}

{meta.iptc.caption}

- {(locationString) &&
- + {(locationString) &&
+ {locationString}
} - {shutterSpeed &&
- + {shutterSpeed &&
+ + + {shutterSpeed}
} - {meta.exif.FNumber &&
- + {meta.exif.FNumber &&
+ f/{meta.exif.FNumber}
} - {meta.exif.ISO &&
- ISO - {meta.exif.ISO} + {meta.exif.ISO &&
+ + + + {meta.exif.ISO}
}
diff --git a/src/pages/index.js b/src/pages/index.js index 94f0299..7d9e456 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -115,15 +115,40 @@ const IndexPage = ({ data: { allFile: { edges } } }) => {
-
+
+ + + + {
- home +

Photo Gallery