diff --git a/.DS_Store b/.DS_Store index a36a55c..87c014a 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/gatsby/.eslintrc.js b/gatsby/.eslintrc.js index 2778802..d2597b1 100644 --- a/gatsby/.eslintrc.js +++ b/gatsby/.eslintrc.js @@ -2,5 +2,12 @@ module.exports = { globals: { __PATH_PREFIX__: true, }, - extends: `react-app`, + plugins: [ + "react" + ], + extends: [ + `react-app`, + "eslint:recommended", + "plugin:react/recommended" + ] } diff --git a/gatsby/data/gallery/_DSC4767.jpg b/gatsby/data/gallery/_DSC4767.jpg new file mode 100644 index 0000000..05e04cd Binary files /dev/null and b/gatsby/data/gallery/_DSC4767.jpg differ diff --git a/gatsby/data/gallery/_DSC4830.jpg b/gatsby/data/gallery/_DSC4830.jpg new file mode 100644 index 0000000..820e2a7 Binary files /dev/null and b/gatsby/data/gallery/_DSC4830.jpg differ diff --git a/gatsby/data/gallery/_DSC4949.jpg b/gatsby/data/gallery/_DSC4949.jpg index c99de2d..24a399e 100644 Binary files a/gatsby/data/gallery/_DSC4949.jpg and b/gatsby/data/gallery/_DSC4949.jpg differ diff --git a/gatsby/gatsby-browser.js b/gatsby/gatsby-browser.js new file mode 100644 index 0000000..387e300 --- /dev/null +++ b/gatsby/gatsby-browser.js @@ -0,0 +1 @@ +import './src/styles/global.css'; \ No newline at end of file diff --git a/gatsby/gatsby-ssr.js b/gatsby/gatsby-ssr.js new file mode 100644 index 0000000..387e300 --- /dev/null +++ b/gatsby/gatsby-ssr.js @@ -0,0 +1 @@ +import './src/styles/global.css'; \ No newline at end of file diff --git a/gatsby/src/pages/gallery.js b/gatsby/src/pages/gallery.js index 603402b..dbce685 100644 --- a/gatsby/src/pages/gallery.js +++ b/gatsby/src/pages/gallery.js @@ -2,7 +2,7 @@ import * as React from "react" import { graphql, Link } from 'gatsby' import { GatsbyImage, getImage } from "gatsby-plugin-image" import { getMeta } from "../utils" - +import { Helmet } from "react-helmet" const GalleryPage = ({ data }) => { const images = React.useMemo(() => @@ -20,9 +20,13 @@ const GalleryPage = ({ data }) => { } return 0; }) // TODO HERE - , data) - return (
{getMeta(image).iptc.caption}