Open MatiSalinas opened 1 month ago
Disabled Animations on News Component:
isMobile
). If the device is not mobile, the animations from framer-motion
are still enabled, otherwise, they are disabled for a smoother experience on mobile devices.Added Media Queries for Mobile:
display: flex
styles were adjusted to display: column
, and the width of several components was set to 100vw
to ensure the layout adapts properly on smaller screens.Transformed Navbar into a Menu:
isMobile
flag was again used to provide a different menu layout for mobile devices.Rewrote FormLab with react-hook-form:
register
method from react-hook-form
to handle form data.zod
for schema-based validation, ensuring proper error handling and cleaner code.These changes were made in the front_responsive
branch.
Description
The frontend needs to be responsive to ensure a good user experience. FormLab has to be rewrited to use react-hook-form
Objectives