diff --git a/src/app/AuthenticatedApp.js b/src/app/AuthenticatedApp.js index 0e4034e..ec032c9 100644 --- a/src/app/AuthenticatedApp.js +++ b/src/app/AuthenticatedApp.js @@ -10,6 +10,7 @@ import Calendar from '../screens/Calendar'; import useLayoutType from '../hooks/useLayoutType'; import Toolbar from '../components/Toolbar'; import Classroom from '../screens/Classroom'; +import Assignment from '../screens/Assignment'; import { avatarMenuOptions, menuOptions } from './data'; @@ -47,6 +48,9 @@ function AuthenticatedApp() { } /> + + } /> + } /> } /> diff --git a/src/screens/Assignment/index.js b/src/screens/Assignment/index.js new file mode 100644 index 0000000..f93290b --- /dev/null +++ b/src/screens/Assignment/index.js @@ -0,0 +1,9 @@ +import { useParams } from 'react-router-dom'; + +function Assignment() { + const params = useParams(); + + return

Assignment id: {params.id}

; +} + +export default Assignment; diff --git a/src/screens/Classroom/AnnouncementsTab/index.js b/src/screens/Classroom/AnnouncementsTab/index.js index 3467841..b10dde0 100644 --- a/src/screens/Classroom/AnnouncementsTab/index.js +++ b/src/screens/Classroom/AnnouncementsTab/index.js @@ -76,7 +76,11 @@ function AnnouncementsTab({ layoutType, announcementsTabData }) {

Próximas Atividades

{announcementsTabData.upcomingAssignments.map(ua => ( - + {ua.title} ))} @@ -173,7 +177,11 @@ function AnnouncementsTab({ layoutType, announcementsTabData }) {

Próximas Atividades

{announcementsTabData.upcomingAssignments.map(ua => ( - + {ua.title} ))}