diff --git a/gatsby-config.js b/gatsby-config.js index 283b0e9..f96b193 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -9,7 +9,7 @@ module.exports = { { resolve: 'gatsby-plugin-manifest', options: { - icon: 'src/images/icon.png', + icon: 'src/images/glasses-outline.svg', }, }, 'gatsby-plugin-mdx', diff --git a/package.json b/package.json index 7c3ebf3..f28c799 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "serve": "gatsby serve", "clean": "gatsby clean", "lint-fix": "eslint --fix --ext .jsx,.js src", - "deploy": "yarn build && rsync -rzP --delete public/ chuckdries@droplet.chuckdries.com:www/personal-website-staging" + "deploy": "yarn build && rsync -rzP --delete public/ chuckdries@droplet.chuckdries.com:www/personal-website" }, "dependencies": { "@mdx-js/mdx": "^1.6.22", diff --git a/src/components/GalleryImage.js b/src/components/GalleryImage.js index c4eac7d..9a7dd2f 100644 --- a/src/components/GalleryImage.js +++ b/src/components/GalleryImage.js @@ -23,7 +23,7 @@ const GalleryImage = ({ data }) => { const meta = getMeta(image); const vibrant = getVibrant(image, true); - const orientationClasses = ar > 1 ? 'flex-col mx-auto' : 'portrait:mx-auto landscape:mx-4 landscape:flex-row-reverse portrait:flex-col'; + const orientationClasses = ar > 1 ? 'flex-col mx-auto' : 'portrait:mx-auto landscape:mx-5 landscape:flex-row-reverse portrait:flex-col'; console.log(ar, orientationClasses); const shutterSpeed = React.useMemo(() => getShutterFractionFromExposureTime(meta.exif.ExposureTime || 0), [meta]); return (<> @@ -35,7 +35,7 @@ const GalleryImage = ({ data }) => { /> gallery -
+
{ // minHeight: '500px', }} />
-
-
- {hasName(image) &&

{name}

} -

{meta.iptc.caption}

+
+
+ {hasName(image) &&

{name}

} +

{meta.iptc.caption}

- {shutterSpeed &&

Shutter speed: {shutterSpeed}

} - {meta.exif.FNumber &&

Aperture: f/{meta.exif.FNumber}

} - {meta.exif.ISO &&

ISO: {meta.exif.ISO}

} + {shutterSpeed &&
+ {shutterSpeed} + +
} + {meta.exif.FNumber &&
+ f/{meta.exif.FNumber} + + + +
} + {meta.exif.ISO &&
{meta.exif.ISO}ISO
}
diff --git a/src/components/IndexComponents.js b/src/components/IndexComponents.js index 4f88ad6..5de5f03 100644 --- a/src/components/IndexComponents.js +++ b/src/components/IndexComponents.js @@ -9,7 +9,7 @@ export const HeroA = ({ ...linkProps }) => ( {children} diff --git a/src/html.js b/src/html.js new file mode 100644 index 0000000..71b820d --- /dev/null +++ b/src/html.js @@ -0,0 +1,37 @@ +import React from 'react'; +import PropTypes from 'prop-types'; + +export default function HTML(props) { + return ( + + + + + + {props.headComponents} + + + {props.preBodyComponents} +
+ {props.postBodyComponents} + + + + ); +} + +HTML.propTypes = { + htmlAttributes: PropTypes.object, + headComponents: PropTypes.array, + bodyAttributes: PropTypes.object, + preBodyComponents: PropTypes.array, + body: PropTypes.string, + postBodyComponents: PropTypes.array, +}; diff --git a/src/images/glasses-outline.svg b/src/images/glasses-outline.svg new file mode 100644 index 0000000..9de6f3c --- /dev/null +++ b/src/images/glasses-outline.svg @@ -0,0 +1 @@ +Glasses \ No newline at end of file diff --git a/src/pages/index.js b/src/pages/index.js index 4feed0b..cc6b68c 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -62,14 +62,14 @@ const IndexPage = ({ data: { allFile: { edges } } }) => { // 67vw = 1/1.49253731 = 1/aspect ratio of my camera lol :
}
-
-
-
+
+
+

Chuck Dries

Full stack software engineer & hobbyist photographer

  • Software Developer, Axosoft
  • -
  • chuck@chuckdries.com/602.618.0414
  • +
  • chuck@chuckdries.com/602.618.0414
  • Github/ LinkedIn/ @@ -82,7 +82,7 @@ const IndexPage = ({ data: { allFile: { edges } } }) => {
diff --git a/src/pages/photogallery.js b/src/pages/photogallery.js index c5c793d..89e2bac 100644 --- a/src/pages/photogallery.js +++ b/src/pages/photogallery.js @@ -21,7 +21,7 @@ const GalleryPage = ({ data }) => {
home -

Photo Gallery

+

Photo Gallery