Innovateninjas / Paws-frontend

A fast responsive webapp that allows you to report injured stray animals to the nearest NGOs.
https://pawss.vercel.app
GNU General Public License v3.0
60 stars 99 forks source link

made success page and its FAQ component responsive under issue #272 assigned to me #425

Closed Priyal208 closed 3 months ago

Priyal208 commented 3 months ago

Description

Under issue #272 assigned to me , i made success page responsive the one which appears after full animal report, additionaly its FAQ component embeded in success page , i also made it responsive

Summary of Changes Made

  1. SuccessPage Component Centered Content and Added Spacing: Adjusted the layout to center the text content. Added spacing between elements to improve readability. Responsive Design: Used Tailwind CSS to make buttons responsive. Adjusted padding and font size for smaller devices. Ensured that text and other elements scale appropriately on different screen sizes.
  2. CustomizedAccordions Component Styled Components with MUI: Customized the Accordion, AccordionSummary, and AccordionDetails components using styled from MUI. Added a blur effect and semi-transparent background to the Accordion component. Responsive Design: Adjusted padding in AccordionDetails for smaller screens using media queries. Ensured the font size for Typography elements is responsive using the sx prop. Ensured images within AccordionDetails resize appropriately on smaller screens by styling them with styled.
  3. Responsive Adjustments: Overall, I focused on making both components responsive to ensure a good user experience on all device sizes. Added responsive utility classes from Tailwind CSS and media queries for conditional styling.
  4. Improved Layout and Spacing: Ensured proper spacing between different sections for better readability and user experience. Centered content and adjusted layout to look aesthetically pleasing and functional. These changes ensure the components are user-friendly, visually appealing, and functional across various devices, enhancing the overall user experience.

Related Issue

This issue is a sub-part of issue #242

Screenshots / GIFs (if applicable)

BEFORE: DESKTOP AND MOBILE VIEW Screenshot 2024-05-28 211613 Screenshot 2024-05-28 211713 AFTER: DESKTOP AND MOBILE VIEW Screenshot 2024-05-28 215153 Screenshot 2024-05-28 215207 Screenshot 2024-05-28 215832

Checklist: