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

Add Vision and Mission Components for IET and DAVV #23

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

faroutfarhaan
Copy link

Description:

This pull request introduces two new components that enhance the about page for IET and DAVV:

Vision Component

  • Responsive Layout: Displays vision statements alongside corresponding images for IET and DAVV.
  • Image Overlay: Includes a semi-transparent background over images to improve text visibility.
  • Dynamic Content: Imports vision text and images from constants, allowing for easy updates.

Mission Component

  • Dynamic Tab Navigation: Users can switch between different mission statements via button navigation, with the active mission clearly highlighted.
  • Responsive Grid Layout: Organizes mission descriptions in a grid for improved readability.
  • Reusability: Utilizes the DesCard component for displaying mission descriptions.
  • State Management: Implements React's useState to manage the currently displayed mission details.

Files Modified:

  • Vision.tsx: Implemented the Vision component.
  • Mission.tsx: Implemented the Mission component.
  • Updated constants in about-page/about.ts and about-page/mission.ts.

Screenshots:
Screenshot 2024-10-27 203220
Screenshot 2024-10-27 203235

Testing:

  • Ensure both components render correctly on the about page.
  • Verify that the Mission component allows proper navigation between mission statements.
  • Check responsive design across various screen sizes.

Checklist:

  • Code adheres to coding standards and best practices.
  • Unit tests have been added or updated.
  • Documentation has been updated (if applicable).
  • Review the changes before merging.

@faroutfarhaan
Copy link
Author

Description:

This pull request introduces a new Landmarks component that enhances the user experience on the about page by showcasing important landmarks with a responsive carousel.

Landmarks Component

  • Responsive Carousel: Utilizes react-slick to create a responsive slider that displays multiple landmarks at once.
  • Dynamic Rendering: Maps through a list of landmarks imported from constants, ensuring that the content can be easily updated.
  • Settings Customization: Configures carousel settings such as dots for navigation, scroll speed, and slide visibility for an optimized user experience.
  • Custom Slide Integration: Renders each landmark with the Customslide component, allowing for reusable design and functionality.

Files Modified:

  • Landmarks.tsx: Implemented the Landmarks component and integrated the carousel functionality.
  • Updated constants in about-page/landmarks.ts.

Testing:

  • Ensure the Landmarks component renders correctly on the about page.
  • Verify that the slider functionality works as expected, including navigation and responsiveness.

Screenshots:
Screenshot 2024-10-27 204513

Checklist:

  • Code adheres to coding standards and best practices.
  • Unit tests have been added or updated.
  • Documentation has been updated (if applicable).
  • Review the changes before merging.

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.

1 participant