orientation-website
orientation-website copied to clipboard
Addressed Issue Stop Registration!
Contribution:
I added the stop registration button which doesn't allow users to register after it has been closed. I added the button to work dynamically based on the data returned from an API call effectively conditionally rendering the button based on the team's requirements (this part is commented out in the file but you can comment it back in and route your API calls).
Issue:
After registration closes, hide the "Create Account" button and replace it with "Registration Closed".
There is already some logic in the code that does this, in the following file... client\src\pages\SignUp\SignUp.jsx starting on lines 203.
We want to avoid commenting out the code in the future, so similar to the Landing page https://github.com/UofT-Frosh-Orientation/orientation-website/pull/610#:~:text=added%20wrapper%20with%20variable%20readyForFrosh%20to%20control%20what%20is%20displayed
Accomplishments:
- edited the home page to implement this functionality
Fixes #624
ECE444?