From a07083f615833e3727da22d4a37a38d024059e8c Mon Sep 17 00:00:00 2001 From: Riba <mrp19@inf.ufpr.br> Date: Wed, 12 Feb 2020 21:23:52 -0300 Subject: [PATCH] =?UTF-8?q?Add=20rotas=20para=20as=20p=C3=A1ginas=20de=20t?= =?UTF-8?q?abs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.js | 12 ++++++++++-- src/Components/MenuBar.js | 8 ++++---- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/src/App.js b/src/App.js index 67aaf3b1..07386a15 100644 --- a/src/App.js +++ b/src/App.js @@ -28,12 +28,16 @@ import Contact from './Pages/Contact'; import Teste from './Pages/Teste'; import AboutPage from './Pages/AboutPage'; import HelpCenter from './Pages/HelpCenter'; - +import TabResoursePub from './Pages/TabsHelp/TabResoursePub'; +import TabResourseFind from './Pages/TabsHelp/TabResourseFind'; +import TabNetPart from './Pages/TabsHelp/TabNetPart'; +import TabManageAc from './Pages/TabsHelp/TabManageAc'; import ResourcePage from './Pages/ResourcePage'; import {BrowserRouter, Switch, Route} from 'react-router-dom'; import { Store } from './Store' import TermsPage from './Pages/TermsPage.js' import PublicationPermissionsPage from './Pages/PublicationPermissionsPage.js' +import TabPlataformaMEC from './Pages/TabsHelp/TabPlataformaMEC'; export default function App(){ @@ -84,7 +88,11 @@ export default function App(){ <Route path="/termos" component={UserTerms}/> <Route path="/teste" component={Teste}/> <Route path="/sobre" component={AboutPage}/> - + <Route path="/publicando-recurso" component={TabResoursePub}/> + <Route path="/encontrando-recurso" component={TabResourseFind}/> + <Route path="/participando-da-rede" component={TabNetPart}/> + <Route path="/gerenciando-conta" component={TabManageAc}/> + <Route path="/plataforma-mec" component={TabPlataformaMEC}/> </Switch> <EcFooter/> diff --git a/src/Components/MenuBar.js b/src/Components/MenuBar.js index 0a1206c9..fdece9ab 100644 --- a/src/Components/MenuBar.js +++ b/src/Components/MenuBar.js @@ -100,10 +100,10 @@ export default function MenuBar(props){ const menuAjuda = [ { name: "Central de Ajuda", href: "ajuda"}, - { name: "Publicando Recursos", href: ""}, - { name: "Encontrando Recursos", href: ""}, - { name: "Participando da Rede", href: ""}, - { name: "Gerenciando a Conta", href: ""} + { name: "Publicando Recursos", href: "publicando-recurso"}, + { name: "Encontrando Recursos", href: "encontrando-recurso"}, + { name: "Participando da Rede", href: "participando-da-rede"}, + { name: "Gerenciando a Conta", href: "gerenciando-conta"} ] const minhaArea = [ -- GitLab