gfa-cc-after / Pet-Clinic-GilmoreDevs

Pet clinic project made by group 2
https://frontend-production-e146.up.railway.app/
GNU General Public License v3.0
2 stars 0 forks source link

React layout #58

Open markkovari opened 1 month ago

markkovari commented 1 month ago

To achieve a consistent look and feel we might want to introduce a layout system - using the react router. We can avoid repetitive copy pastings after that, like this one:

https://github.com/gfa-cc-after/Pet-Clinic-GilmoreDevs/blob/521b6b80c84688fbf657ce782a3056b215e9cd65/frontend/src/pages/Register.tsx#L86-L87

react layouts: https://youtu.be/l8CS9AMBSIQ?si=QGHHP2c_Zp9OiB5b

AnnaUgrai commented 1 week ago

Eg.: nested router for profile page : default profile data side bar: profile data, pets, find vet

And also a permanenet headbar for home page, etc