From b6f64761709dcb775e6b7864921ce6467aa48647 Mon Sep 17 00:00:00 2001 From: Chuck Dries Date: Wed, 8 Mar 2023 00:19:07 -0800 Subject: [PATCH] TODO: use gatsby navigate() and location prop for all location based stuff. maybe ditch image hashes? maybe gallery image goes back on escape instead of to image hash also pass proper linking params to recently published --- src/pages/photogallery.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pages/photogallery.tsx b/src/pages/photogallery.tsx index 9af7d19..07e4e4d 100644 --- a/src/pages/photogallery.tsx +++ b/src/pages/photogallery.tsx @@ -217,18 +217,18 @@ const GalleryPage = ({ data, location }: PageProps
-
-

+
+

Recently published

{sortKey !== "datePublished" && ( { // e.preventDefault(); // setSortKey("datePublished") }} to="?sort=datePublished#all" - className="underline cursor-pointer" > show more @@ -249,7 +249,7 @@ const GalleryPage = ({ data, location }: PageProps
-

+

All images