diff --git a/App.tsx b/App.tsx index d1d9e46..12e73d4 100644 --- a/App.tsx +++ b/App.tsx @@ -18,6 +18,7 @@ import Revalidation from "./src/routes/Revalidation/Revalidation"; import Activation from "./src/routes/Activation/Activation"; import { useState, useEffect } from "react"; import { QueryClientProvider, QueryClient } from "@tanstack/react-query"; +import StudentInfo from "./src/routes/StudentInfo/StudentInfo"; const Drawer = createDrawerNavigator(); @@ -31,6 +32,7 @@ const linking = { Onboarding: "onboarding", Revalidation: "revalidation", Activation: "activation/:uid?/:token?", + StudentInfo: "student_info", NotFound: "*", }, }, @@ -66,6 +68,7 @@ export default function App() { + diff --git a/src/components/DrawerSettings/CustomDrawerContent.tsx b/src/components/DrawerSettings/CustomDrawerContent.tsx index 74d5a4f..aa7f706 100644 --- a/src/components/DrawerSettings/CustomDrawerContent.tsx +++ b/src/components/DrawerSettings/CustomDrawerContent.tsx @@ -16,6 +16,7 @@ import { RootState } from "../../features/redux/Store/Store"; import LogoutIcon from "../../icons/LogoutIcon/LogoutIcon"; import { logout } from "../../features/redux/slices/StatusSlice/StatusSlice"; import AsyncStorage from "@react-native-async-storage/async-storage"; +import UserIcon from "../../icons/UserIcon/UserIcon"; export default function CustomDrawerContent(props: {}) { const navigation = useNavigation(); @@ -68,6 +69,15 @@ export default function CustomDrawerContent(props: {}) { Home + { + navigation.navigate("Student Info"); + }} + > + + Student Info + { diff --git a/src/routes/StudentInfo/StudentInfo.tsx b/src/routes/StudentInfo/StudentInfo.tsx new file mode 100644 index 0000000..74ac1db --- /dev/null +++ b/src/routes/StudentInfo/StudentInfo.tsx @@ -0,0 +1,14 @@ +import * as React from "react"; +import { View, Text } from "react-native"; +import AnimatedContainer from "../../components/AnimatedContainer/AnimatedContainer"; +import styles from "../../styles"; + +export default function StudentInfo() { + return ( + + + StudentInfo + + + ); +}