diff --git a/src/components/GalleryImage/GalleryImage.js b/src/components/GalleryImage/GalleryImage.js index 5784441..57fae77 100644 --- a/src/components/GalleryImage/GalleryImage.js +++ b/src/components/GalleryImage/GalleryImage.js @@ -4,6 +4,8 @@ import { GatsbyImage, getImage } from "gatsby-plugin-image"; import { Helmet } from "react-helmet"; import classnames from "classnames"; +import ChevronLeft from '@spectrum-icons/workflow/ChevronLeft'; +import ChevronRight from '@spectrum-icons/workflow/ChevronRight'; import Calendar from "@spectrum-icons/workflow/Calendar"; import Stopwatch from "@spectrum-icons/workflow/Stopwatch"; import Exposure from "@spectrum-icons/workflow/Exposure"; @@ -36,6 +38,10 @@ const logKeyShortcut = (keyCode) => { } }; +const ArrowLinkClasses = `hover:underline text-vibrant-light hover:text-muted-light +lg:px-4 self-stretch flex items-center hover:bg-black/50 max-h-screen sticky top-0 +`; + const GalleryImage = ({ data, location: { @@ -166,9 +172,11 @@ const GalleryImage = ({ > gallery esc + +
+ {image.base} +
+ {hasName(image) && ( +{meta.Caption}
+ { + try { + window.plausible("Download Wallpaper", { + props: { image: image.base }, + }); + } catch { + // do nothing + } + }} + > + Download wallpaper + +- {image.base} -
- {hasName(image) && ( -{meta.Caption}
- { - try { - window.plausible("Download Wallpaper", { - props: { image: image.base }, - }); - } catch { - // do nothing - } - }} - > - Download wallpaper - -