Redesign Frontend with Multi-Page Structure and Improved Navigation #122
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What was changed?
The front end of the application was redesigned to transition from a single-page application into a multi-page structure for better usability and interactivity. New components were added, and existing components were updated to support this change. React Router was integrated to enable navigation between the newly created pages. Additionally, styling improvements were made with new CSS files for modularity and a polished user interface.
Why was it changed?
The single-page structure was cluttered, making the application less user-friendly. By splitting functionalities into separate pages, the application is now more organized and easier to navigate. Adding a Home page provides an introduction to the application, while the About Us page offers details about the developers and SLU OSS.
How was it changed?
Routing and Navigation:
App.tsx
to enable seamless navigation between pages: Home, CustomExamSheetComponent, FileUploadComponent, and AboutUs.Home Page:
Home.tsx
for the Home page and styled it with a newhome.css
file.Custom Sheet Generation Page:
CustomExamSheetComponent.tsx
to fit the new page design and made styling updates inApp.css
.Sheet Upload Page:
FileUploadComponent.tsx
to accommodate the new multi-page structure and made styling changes inApp.css
.About Us Page:
AboutUs.tsx
component to provide details about the developers and organization, with plans to expand it in the future.Header:
Header.tsx
for a navigation bar that allows users to switch between pages.header.css
and added functionality to highlight the current page.Footer:
Footer.tsx
and styled it withfooter.css
to provide a consistent footer on all pages.Styling Enhancements:
App.css
with new styles for components like.scanComponent
and.formComponent
.header.css
,footer.css
, andhome.css
) for better maintainability.Dependency Updates:
react-router-dom
to project dependencies for routing functionality. Updated theDockerfile
to ensure dependencies are correctly installed.