metakgp / gyfe

Get Your Freaking Electives :)
7 stars 8 forks source link

frontend for webapp #10

Closed Dami-18 closed 1 week ago

Dami-18 commented 1 month ago

Fixes #11 Frontend for the webapp created using React typescript

Dami-18 commented 1 month ago

This is the basic layout. CSS still needs to be added and also login form is not yet complete.

Dami-18 commented 1 month ago

I have added basic design. It is minimal. In the empty space, graphics can be added Also, yet to add media queries. Will do it once finalized.

Dami-18 commented 1 month ago

I have tried to create protected route but back navigation is problem. How to solve it? Disable back navigation after login? And to handle user inputs, I used getValues from useForm hook. These values will be then sent to api where they will be saved. Is it correct? What further changes? I will add placeholder handlers for buttons later.

Dami-18 commented 1 month ago

Using session storage, we have access to roll number and password entered in previous form.

Dami-18 commented 3 weeks ago

Integration of api with electives page is left

Dami-18 commented 2 weeks ago

@rohan-b-84 please review this. I have added global state management and completed integration with api. (From latest changes in Prem's PR)

Dami-18 commented 2 weeks ago

I have changed:

  1. Decreased the spacing between logo and header
  2. Changed the the layout of download electives page as mentioned
  3. Switched to dark mode
Dami-18 commented 2 weeks ago

@rohan-b-84 I tried to change the layout to make that input boxes fixed but messed up with responsiveness. So reverted it. Also the two divs in electives page are not responsive in mobile and I am unable to debug it. Can you please work on this if possible? Currently I am trying that user input feature for electives, logout option and a work around for sessionStorage of login status

Dami-18 commented 2 weeks ago

Made electives page responsive.

Dami-18 commented 2 weeks ago

I figured out alignment of boxes and also not showing login button until security question. So, I am working on it

Dami-18 commented 2 weeks ago

Fixed the UI

Dami-18 commented 1 week ago

Need to do some changes in Electives.tsx. I am doing that now