-
Notifications
You must be signed in to change notification settings - Fork 0
Frontend Architecture
johnnywhite612 edited this page Apr 14, 2020
·
1 revision
This route displays the 'UserSubmissionPage.tsx' component. This component, depending on the page state, will switch between different views.
Initially, the user is shown the 'LoginView.tsx' component. Once they enter their details and click 'Login', the 'VoteView.tsx' component will be shown. This displays a slider, allowing them to state their preference about the temperature. After submitting, the page will show the 'VoteConfirmationView.tsx' component.
This page has 3 main sections:
- Top Bar
- Side Bar with 2 buttons
- Display View
This shows the logo and a 'close' button to return to the vote page.
This section has 2 buttons to switch between the 'notification view' and the 'floor plan view'.
This shows the view that has been selected in the side bar