From 4543b2d7af9888005270dab2e812f24a35143390 Mon Sep 17 00:00:00 2001
From: Chuck Dries <chuck@chuckdries.com>
Date: Fri, 16 Jul 2021 17:33:06 -0700
Subject: [PATCH] don't flash nav colors on refresh

---
 src/pages/index.js | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/src/pages/index.js b/src/pages/index.js
index 3d10376..a6c3282 100644
--- a/src/pages/index.js
+++ b/src/pages/index.js
@@ -200,7 +200,9 @@ const IndexPage = ({
         >
           <nav
             className={classnames(
-              "text-vibrant-dark px-6 p-2 bg-vibrant-dark blurred-or-opaque-bg-2",
+              isClient &&
+                "text-vibrant-dark bg-vibrant-dark blurred-or-opaque-bg-2",
+              "px-6 p-2",
               ar > 1 || !isClient ? "landscape:w-screen" : "portrait:w-screen"
             )}
             style={{ zIndex: 100 }}
@@ -293,7 +295,15 @@ export const query = graphql`
     allFile(
       filter: {
         sourceInstanceName: { eq: "gallery" }
-        base: { nin: ["DSC4180.jpg", "DSC00887.jpg", "DSC00879.jpg", "DSC02233.jpg", "DSC00340.jpg"] }
+        base: {
+          nin: [
+            "DSC4180.jpg"
+            "DSC00887.jpg"
+            "DSC00879.jpg"
+            "DSC02233.jpg"
+            "DSC00340.jpg"
+          ]
+        }
       }
       sort: { order: DESC, fields: fields___imageMeta___dateTaken }
     ) {