diff --git a/src/Admin/Pages/AdminLabelTabs/LabelTabs.js b/src/Admin/Pages/AdminLabelTabs/LabelTabs.js index 5c23892a36617600cda95d19b60ec7a60f197c1b..b2fc3c52bad282ec479d58002cd232fe014dc915 100644 --- a/src/Admin/Pages/AdminLabelTabs/LabelTabs.js +++ b/src/Admin/Pages/AdminLabelTabs/LabelTabs.js @@ -24,7 +24,8 @@ const TabsItens = [ href: '/admin/home' }, { - label: 'Coleções' + label: 'Coleções', + href: '/admin/Collections', }, { label: "Atividades", @@ -47,6 +48,7 @@ const TabsItens = [ }, { label: "Rating", + href : '/admin/Ratings' }, { label: "Permissões do usuário", diff --git a/src/Admin/Pages/Pages/Admin.js b/src/Admin/Pages/Pages/Admin.js index e96dbb1dcf14ddc9d61a4999616aeba4013a4599..1d8f920ab1a9f039a34f4674546fe7b50778bd04 100644 --- a/src/Admin/Pages/Pages/Admin.js +++ b/src/Admin/Pages/Pages/Admin.js @@ -50,6 +50,14 @@ import EditLanguage from '../../Components/Components/Inputs/EditLanguage'; import CreateLanguage from '../../Components/Components/Inputs/CreateLanguage'; import ActivityCard from '../../Components/Components/DataCards/ActivityCard'; import CommunityQuestions from './SubPages/CommunityQuestions'; +import CommunityCard from '../../Components/Components/DataCards/CommunityQuestionCard'; +import Collections from './SubPages/Collections'; +import CollectionCard from '../../Components/Components/DataCards/CollectionCard'; +import EditCollection from '../../Components/Components/Inputs/EditCollection'; +import Ratings from './SubPages/Rating'; +import RatingCard from '../../Components/Components/DataCards/RatingCard'; +import EditRating from '../../Components/Components/Inputs/EditRating'; +import CreateRating from '../../Components/Components/Inputs/CreateRating'; const useStyles = makeStyles({ list: { @@ -135,7 +143,17 @@ export default function Admin() { <Route path='/admin/languageEdit/:id' component={EditLanguage} /> <Route path='/admin/languageCreate' component={CreateLanguage} /> - <Route path='/admin/CommunityQuestions' component={CommunityQuestions} /> + <Route path='/admin/CommunityQuestions' component={CommunityQuestions}/> + <Route path='/admin/CommunityQuestion/:id' component={CommunityCard}/> + + <Route path='/admin/Collections' component={Collections}/> + <Route path='/admin/Collection/:id' component={CollectionCard}/> + <Route path='/admin/EditCollection/:id' component={EditCollection}/> + + <Route path='/admin/Ratings' component={Ratings}/> + <Route path='/admin/Rating/:id' component={RatingCard}/> + <Route path='/admin/EditRating/:id' component={EditRating}/> + <Route path='/admin/CreateRating' component={CreateRating}/> <Route path='/admin/activities' component={Activity} /> <Route path='/admin/activity/:id' component={ActivityCard} />