From 83f58ce9a8782c98034bb76c36e96b85c574b322 Mon Sep 17 00:00:00 2001 From: Shelby Switzer Date: Sun, 18 Apr 2021 21:42:02 -0400 Subject: [PATCH] Update nav links --- justice40-frontend/gatsby-config.js | 14 ++------------ justice40-frontend/src/components/layout.js | 1 - 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/justice40-frontend/gatsby-config.js b/justice40-frontend/gatsby-config.js index 35104bd3..29ee4a53 100644 --- a/justice40-frontend/gatsby-config.js +++ b/justice40-frontend/gatsby-config.js @@ -5,20 +5,10 @@ module.exports = { description: `Front end for Justice40 mappping tool project`, navigation: [ { - items: [{ text: 'Home', link: '/' }], + items: [{ text: 'Leaflet', link: '/' }], }, { - items: [ - { text: 'Document with sidenav', link: '/document-with-sidenav' }, - ], - }, - { - title: 'Document submenu', - items: [ - { text: 'Navigation link', link: '/' }, - { text: 'Navigation link', link: '/' }, - { text: 'Navigation link', link: '/' }, - ], + items: [{ text: 'OpenLayers', link: '/openlayers' }], }, ], secondaryLinks: [ diff --git a/justice40-frontend/src/components/layout.js b/justice40-frontend/src/components/layout.js index adc48153..136e0162 100644 --- a/justice40-frontend/src/components/layout.js +++ b/justice40-frontend/src/components/layout.js @@ -21,7 +21,6 @@ const Layout = ({ children }) => { siteMetadata { title navigation { - title items { text link