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

Fully Responsive Dishes Page #244

Merged
merged 2 commits into from
Nov 8, 2024
Merged

Conversation

ShivanshPlays
Copy link
Contributor

Pull Request: Fully Responsive Dishes Page

Overview

This PR introduces a fully responsive Dishes page for the website, featuring an abstracted card component that includes a carousel of images. Additionally, a search bar has been implemented for improved user experience, allowing users to easily filter through Dishes.

Key Features

  • Responsive Design: The Dishes page is designed to be fully responsive, providing a seamless experience on both desktop and mobile devices.
  • Abstracted Dish Card: A reusable DishCard component has been created, which displays the Dish details and includes a carousel for images.
  • Image Carousel: Integrated a carousel using Shadcn components, allowing users to navigate through multiple images of a Dish.
  • Search Bar: Added a search bar at the top of the page that allows users to filter Dishes by name, enhancing the usability of the page.
  • Add New Dish Button: An "Add New Dish" button positioned in the top right corner for easy access, enabling users to quickly add new Dishes.

Code Changes

  • DishesPage.tsx: Implemented the main Dishes page structure, including the search bar and button layout.
  • DishCard.tsx: Created a reusable card component for displaying Dish information and images.
  • Styling: Utilized Tailwind CSS classes to ensure a consistent and appealing design across the components.

Screenshots

Screenshot 2024-11-08 060129
image

How to Test

  1. Navigate to the Dishes page in the application.
  2. Test the responsiveness by resizing the browser window.
  3. Click on the "Add New Dish" button to verify it navigates to the correct page.
  4. Test the image carousel functionality on each Dish card.

Related Issues

@ShivanshPlays ShivanshPlays changed the title Dishes page Fully Responsive Dishes Page Nov 8, 2024
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

🚀 Thank you for contributing to this project, your support is much appreciated.

Stay awesome! 😎

@Vimall03 Vimall03 merged commit f8d57a7 into Vimall03:main Nov 8, 2024
1 check passed
@ShivanshPlays ShivanshPlays deleted the DishesPage branch November 8, 2024 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Design and Implement Fully Responsive Dishes Page for Seller
2 participants