Bladeren bron

update order and names in menu

Bernadette Elena Hammerle 3 jaren geleden
bovenliggende
commit
a42585e3bd
2 gewijzigde bestanden met toevoegingen van 14 en 14 verwijderingen
  1. 2 2
      src/App.js
  2. 12 12
      src/config/navLinks.js

+ 2 - 2
src/App.js

@@ -29,8 +29,8 @@ export class App extends React.Component{
             <Switch>
               <Route path="/" exact component={Home} />
 
-              <Route path="/pigeon-map" exact component={Pigeon} />
-              <Route path="/pigeon-map/test" exact component={Pigeons} />
+              <Route path="/pigeon-maps" exact component={Pigeon} />
+              <Route path="/pigeon-maps/test" exact component={Pigeons} />
 
               <Route path="/map-gl" exact component={MapGL} />
               <Route path="/map-gl/test" exact component={MapGLs} />

+ 12 - 12
src/config/navLinks.js

@@ -1,21 +1,21 @@
   export const links = [
     {
-      name: "Pigeon Map",
-      url: "/pigeon-map",
+      name: "Pigeon Maps",
+      url: "/pigeon-maps",
       sublinks: [
         {
-          name: "Pigeon Map Test",
-          url: "/pigeon-map/test"
+          name: "Pigeon Maps Test",
+          url: "/pigeon-maps/test"
         }
       ]
     },
     {
-      name: "Mapbox",
-      url: "/mapbox",
+      name: "Leaflet Map",
+      url: "/leaflet",
       sublinks: [
         {
-          name: "Mapbox Test",
-          url: "/mapbox/test"
+          name: "Leaflet Map Test",
+          url: "/leaflet/test"
         }
       ]
     },
@@ -30,12 +30,12 @@
       ]
     },
     {
-      name: "Leaflet Map",
-      url: "/leaflet",
+      name: "Mapbox",
+      url: "/mapbox",
       sublinks: [
         {
-          name: "Leaflet Map Test",
-          url: "/leaflet/test"
+          name: "Mapbox Test",
+          url: "/mapbox/test"
         }
       ]
     },