Skip to content
Snippets Groups Projects
Commit 9ec6fffa authored by lfr20's avatar lfr20
Browse files

finish to build the routes to collections, community questions and ratings

parent 62cfabbe
No related branches found
No related tags found
4 merge requests!57Merge of develop into master,!56Fixed buttons reportar, seguir, compartilhar, guardar and entrar (in comments...,!40merge admin into develop,!37Merge sistema_admin into Update_Admin_System
...@@ -24,7 +24,8 @@ const TabsItens = [ ...@@ -24,7 +24,8 @@ const TabsItens = [
href: '/admin/home' href: '/admin/home'
}, },
{ {
label: 'Coleções' label: 'Coleções',
href: '/admin/Collections',
}, },
{ {
label: "Atividades", label: "Atividades",
...@@ -47,6 +48,7 @@ const TabsItens = [ ...@@ -47,6 +48,7 @@ const TabsItens = [
}, },
{ {
label: "Rating", label: "Rating",
href : '/admin/Ratings'
}, },
{ {
label: "Permissões do usuário", label: "Permissões do usuário",
......
...@@ -50,6 +50,14 @@ import EditLanguage from '../../Components/Components/Inputs/EditLanguage'; ...@@ -50,6 +50,14 @@ import EditLanguage from '../../Components/Components/Inputs/EditLanguage';
import CreateLanguage from '../../Components/Components/Inputs/CreateLanguage'; import CreateLanguage from '../../Components/Components/Inputs/CreateLanguage';
import ActivityCard from '../../Components/Components/DataCards/ActivityCard'; import ActivityCard from '../../Components/Components/DataCards/ActivityCard';
import CommunityQuestions from './SubPages/CommunityQuestions'; 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({ const useStyles = makeStyles({
list: { list: {
...@@ -135,7 +143,17 @@ export default function Admin() { ...@@ -135,7 +143,17 @@ export default function Admin() {
<Route path='/admin/languageEdit/:id' component={EditLanguage} /> <Route path='/admin/languageEdit/:id' component={EditLanguage} />
<Route path='/admin/languageCreate' component={CreateLanguage} /> <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/activities' component={Activity} />
<Route path='/admin/activity/:id' component={ActivityCard} /> <Route path='/admin/activity/:id' component={ActivityCard} />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment