Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 2 commits into from

Conversation

Priyal208
Copy link
Contributor

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:

  • I have performed a self-review of my code
  • I have added/updated relevant documentation (if needed)
  • I have tested the changes locally and they function as expected
  • I have ensured my code follows the project's coding standards

@@ -25,6 +25,7 @@ import { Donationfront } from './pages/user/Donation/Donationfront/Donationfront
import requestPermission from './utils/Functions/notifyService';
import TeamPage from './pages/shared/team';
import NotFound from './Components/shared/PageNotfound';
import SuccessPage from './pages/user/ReportIncidentPages/SuccessPage';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okk

@Priyal208 Priyal208 closed this by deleting the head repository May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants