I updated the page.tsx file to more closely resemble the design on the Figma. This included moving the sign in button (and its imports) to the Navbar.tsx file, removing DB connection stuff, centering the Calendar, as well as creating a useState for the admin variable passed to the Calendar component.
Modifications
login.tsx - Changed the buttons to Buttons using the ChakraUI
navbar.tsx - Updated styling for navbar so that login button is displayed on top-right
page.tsx - Moved login stuff to the navbar file and removed DB connection code, added styling to center the Calendar
Testing Considerations
This didn't require much testing, I just made sure the page looks like the Figma
Developer: Elaina Lyons
Closes #39
Pull Request Summary
I updated the page.tsx file to more closely resemble the design on the Figma. This included moving the sign in button (and its imports) to the Navbar.tsx file, removing DB connection stuff, centering the Calendar, as well as creating a useState for the admin variable passed to the Calendar component.
Modifications
login.tsx - Changed the buttons to Buttons using the ChakraUI navbar.tsx - Updated styling for navbar so that login button is displayed on top-right page.tsx - Moved login stuff to the navbar file and removed DB connection code, added styling to center the Calendar
Testing Considerations
This didn't require much testing, I just made sure the page looks like the Figma
Pull Request Checklist
Screenshots/Screencast