diff --git a/frontend/src/components/organisms/LeftBarModule/index.tsx b/frontend/src/components/organisms/LeftBarModule/index.tsx index 47cb5e0ed89223b16fb0e899d57981b437e5ddf8..c621898ed6d4538ed470d7a4a82b8956ec04c8f0 100644 --- a/frontend/src/components/organisms/LeftBarModule/index.tsx +++ b/frontend/src/components/organisms/LeftBarModule/index.tsx @@ -27,12 +27,12 @@ const LeftBarModule: React.FC = () => { activeURL: "overview", }, { - title: "Coursework", - activeURL: "coursework", + title: "Feedback", + activeURL: "feedback", }, { - title: "Materials", - activeURL: "materials", + title: "Resources", + activeURL: "resources", }, { title: "Piazza", diff --git a/frontend/src/components/pages/ModuleMaterials/index.tsx b/frontend/src/components/pages/ModuleFeedback/index.tsx similarity index 74% rename from frontend/src/components/pages/ModuleMaterials/index.tsx rename to frontend/src/components/pages/ModuleFeedback/index.tsx index d2fa42899011c4224f181c51c52eeb0d2eeb8e80..f10ac1f2ca31282955d15a4ac0c49c695001530e 100644 --- a/frontend/src/components/pages/ModuleMaterials/index.tsx +++ b/frontend/src/components/pages/ModuleFeedback/index.tsx @@ -5,12 +5,12 @@ import Container from "react-bootstrap/Container"; import classNames from "classnames"; import Dandruff from "components/molecules/Dandruff"; -const ModuleMaterials: React.FC = () => { +const ModuleFeedback: React.FC = () => { return ( <Container className={classNames("p-4", styles.moduleContainer)}> - <Dandruff heading="Materials"/> + <Dandruff heading="Feedback"/> </Container> ); }; -export default ModuleMaterials; +export default ModuleFeedback; diff --git a/frontend/src/components/pages/ModuleCoursework/style.module.scss b/frontend/src/components/pages/ModuleFeedback/style.module.scss similarity index 100% rename from frontend/src/components/pages/ModuleCoursework/style.module.scss rename to frontend/src/components/pages/ModuleFeedback/style.module.scss diff --git a/frontend/src/components/pages/ModuleCoursework/index.tsx b/frontend/src/components/pages/ModuleResources/index.tsx similarity index 73% rename from frontend/src/components/pages/ModuleCoursework/index.tsx rename to frontend/src/components/pages/ModuleResources/index.tsx index 156864de14c5807e941d903cbc1c599605e0c100..2d626f3d4ee26f4325ab5ac15173f4bbf09350f7 100644 --- a/frontend/src/components/pages/ModuleCoursework/index.tsx +++ b/frontend/src/components/pages/ModuleResources/index.tsx @@ -5,12 +5,12 @@ import Container from "react-bootstrap/Container"; import classNames from "classnames"; import Dandruff from "components/molecules/Dandruff"; -const ModuleCoursework: React.FC = () => { +const ModuleResources: React.FC = () => { return ( <Container className={classNames("p-4", styles.moduleContainer)}> - <Dandruff heading="Coursework"/> + <Dandruff heading="Resources"/> </Container> ); }; -export default ModuleCoursework; +export default ModuleResources; diff --git a/frontend/src/components/pages/ModuleMaterials/style.module.scss b/frontend/src/components/pages/ModuleResources/style.module.scss similarity index 100% rename from frontend/src/components/pages/ModuleMaterials/style.module.scss rename to frontend/src/components/pages/ModuleResources/style.module.scss diff --git a/frontend/src/components/pages/StandardView/index.tsx b/frontend/src/components/pages/StandardView/index.tsx index aad2d02749a3711ef8f11f22d9b9a578f6e17532..45fd145d571e12f071da94e18157881643f9fbd9 100644 --- a/frontend/src/components/pages/StandardView/index.tsx +++ b/frontend/src/components/pages/StandardView/index.tsx @@ -7,8 +7,8 @@ import "./style.scss"; import RightBar from "components/organisms/RightBar"; import classNames from "classnames"; import ModuleList from "../ModuleList"; -import ModuleMaterials from "../ModuleMaterials"; -import ModuleCoursework from "../ModuleCoursework"; +import ModuleResources from "../ModuleResources"; +import ModuleFeedback from "../ModuleResources"; import LeftBarHome from "components/organisms/LeftBarHome"; import LeftBarModuleList from "components/organisms/LeftBarModuleList"; import LeftBarModule from "components/organisms/LeftBarModule"; @@ -66,12 +66,12 @@ const StandardView: React.FC<StandardViewProps> = ({ <ModuleOverview /> </Route> - <Route path="/modules/:id/materials"> - <ModuleMaterials /> + <Route path="/modules/:id/resources"> + <ModuleResources /> </Route> - <Route path="/modules/:id/coursework"> - <ModuleCoursework /> + <Route path="/modules/:id/feedback"> + <ModuleFeedback /> </Route> <Route path="/timeline">