From 31fbc1594df68e320323ddc0a7e537d518ecca83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Mur=C3=A7a?= Date: Tue, 14 Jun 2022 10:06:03 -0300 Subject: [PATCH] Create new screens for existing routes --- src/AuthenticatedApp.js | 4 ++++ src/screens/Calendar/index.js | 5 +++++ src/screens/Home/index.js | 2 +- src/screens/Information/index.js | 5 +++++ 4 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 src/screens/Calendar/index.js create mode 100644 src/screens/Information/index.js diff --git a/src/AuthenticatedApp.js b/src/AuthenticatedApp.js index 4c3cbca..49f24f6 100644 --- a/src/AuthenticatedApp.js +++ b/src/AuthenticatedApp.js @@ -9,6 +9,8 @@ import { } from '@mui/icons-material'; import MainDrawer from './components/MainDrawer'; import Home from './screens/Home'; +import Information from './screens/Information'; +import Calendar from './screens/Calendar'; function AuthenticatedApp() { const { pathname } = useLocation(); @@ -17,6 +19,8 @@ function AuthenticatedApp() { } /> + } /> + } /> } /> diff --git a/src/screens/Calendar/index.js b/src/screens/Calendar/index.js new file mode 100644 index 0000000..30bbc6f --- /dev/null +++ b/src/screens/Calendar/index.js @@ -0,0 +1,5 @@ +function Calendar() { + return

Calendário Acadêmico

; +} + +export default Calendar; diff --git a/src/screens/Home/index.js b/src/screens/Home/index.js index 6bf7919..c6ea8be 100644 --- a/src/screens/Home/index.js +++ b/src/screens/Home/index.js @@ -6,7 +6,7 @@ function Home() { return (
-

You're logged in!

+

Página inicial

{isPending &&

Loading...

}
diff --git a/src/screens/Information/index.js b/src/screens/Information/index.js new file mode 100644 index 0000000..8dac716 --- /dev/null +++ b/src/screens/Information/index.js @@ -0,0 +1,5 @@ +function Information() { + return

Informações

; +} + +export default Information;