acmucsd/membership-portal-ui-v2

Create Route for User Profiles

Closed this issue · 0 comments

Implementing a new back-end feature to make user profiles more memorable by changing from the implementation on the live portal /profile/[uuid] (e.g. https://members.acmucsd.com/profile/cf6ca1b7-cd3b-4da5-8d2b-28ea55084a06) to /u/[handle] (e.g. https://members.acmucsd.com/u/faris).

The goal for this issue is just to create the relevant route for the profile page by using getServerSideProps to make an API call and pass in the user object to the page props.

Screenshot 2023-04-10 at 11 00 46 PM

To verify it works, we can just print the user profile name on the page for now