From e6c0451af36ae44bf973843eae5718384bcaaef3 Mon Sep 17 00:00:00 2001 From: danieldeng2 <danieldeng223@gmail.com> Date: Sat, 8 Aug 2020 06:30:00 +0100 Subject: [PATCH] Change naming of elements --- frontend/src/components/App.tsx | 2 +- frontend/src/components/organisms/LeftBar/index.tsx | 2 +- frontend/src/components/pages/StandardView/index.tsx | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/components/App.tsx b/frontend/src/components/App.tsx index 781725d8e..31a3f2ab0 100644 --- a/frontend/src/components/App.tsx +++ b/frontend/src/components/App.tsx @@ -44,7 +44,7 @@ class App extends React.Component<{}, AppState> { const horizontalBarPages = [ { name: "Home", path: "/home", icon: faHome }, { name: "Modules", path: "/modules", icon: faChalkboardTeacher }, - { name: "Timetable", path: "/timetable", icon: faCalendarWeek }, + { name: "Timeline", path: "/timeline", icon: faCalendarWeek }, { name: "Exams", path: "/exams", icon: faBookOpen }, ]; diff --git a/frontend/src/components/organisms/LeftBar/index.tsx b/frontend/src/components/organisms/LeftBar/index.tsx index bc864ced2..55a99befc 100644 --- a/frontend/src/components/organisms/LeftBar/index.tsx +++ b/frontend/src/components/organisms/LeftBar/index.tsx @@ -8,7 +8,7 @@ export interface LeftBarProps{ const LeftBar: React.FC<LeftBarProps> = ({children}: LeftBarProps) => { return ( <div id={styles.leftbarWrapper}> - <p className={styles.leftbarStatus}>1 UPDATE</p> + <p className={styles.leftbarStatus}>1 DEADLINE</p> {children} </div> ); diff --git a/frontend/src/components/pages/StandardView/index.tsx b/frontend/src/components/pages/StandardView/index.tsx index dd187bb15..9dff5f920 100644 --- a/frontend/src/components/pages/StandardView/index.tsx +++ b/frontend/src/components/pages/StandardView/index.tsx @@ -74,8 +74,8 @@ const StandardView: React.FC<StandardViewProps> = ({ <ModuleCoursework /> </Route> - <Route path="/timetable"> - <ExamplePage name="Timetable" /> + <Route path="/timeline"> + <ExamplePage name="Timeline" /> </Route> <Route path="/exams"> -- GitLab