From 989403b2e128b63e9c82017f4ba658c03f770d98 Mon Sep 17 00:00:00 2001 From: Daniel Strano Date: Tue, 29 Mar 2022 14:21:04 -0400 Subject: [PATCH 01/30] #452: Architecture index and detail views --- src/MainRouter.js | 13 +++ src/components/MainNavLeft.js | 1 + src/views/Architecture.js | 159 +++++++++++++++++++++++++++++++++ src/views/Architectures.js | 163 ++++++++++++++++++++++++++++++++++ 4 files changed, 336 insertions(+) create mode 100644 src/views/Architecture.js create mode 100644 src/views/Architectures.js diff --git a/src/MainRouter.js b/src/MainRouter.js index 8613f371..c4c106c3 100644 --- a/src/MainRouter.js +++ b/src/MainRouter.js @@ -16,10 +16,12 @@ import Token from './views/Token' import Password from './views/Password' import Methods from './views/Methods' import Tasks from './views/Tasks' +import Architectures from './views/Architectures' import Tags from './views/Tags' import Submission from './views/Submission' import Method from './views/Method' import Task from './views/Task' +import Architecture from './views/Architecture' const MainRouter = (props) => { return ( @@ -42,6 +44,12 @@ const MainRouter = (props) => { > + + + { path='/Task/:id' render={(p) => } /> + } + /> ) } diff --git a/src/components/MainNavLeft.js b/src/components/MainNavLeft.js index d59bbaa6..d7eadcf5 100644 --- a/src/components/MainNavLeft.js +++ b/src/components/MainNavLeft.js @@ -6,6 +6,7 @@ const MainNavLeft = () => {