Giter Club home page Giter Club logo

mobileshopview's Introduction

Project Overview

Project requirements

1 2

Project was created for interview task and it was for limited time

Project Structure

The small project has been developed using React,Next.js,TailwindCSS,Framer-motion to create a seamless and interactive single-page application.

Components

  • Header Component: This component prominently displays the page header text and dynamically updates the number of items in the cart.
  • Category Component: Users can explore a range of categories, enabling them to filter products based on their chosen category and color preference.
  • Products Component: This section showcases a list of products. Users can personalize their view by utilizing filters and sorting options.

Cart Context

A dedicated context has been implemented to offer users insights into their shopping cart's contents. The context also facilitates operations related to product addition. Also it was only needed cart to keep track of added products to the cart.

Functionalities

  • Category Filtering: Users can select a specific category to exclusively display products belonging to that category.
  • Color Filtering: The color filter feature allows users to refine their search, showcasing products only in their preferred color.
  • Product Sorting: users can sort products by price or name, enhancing the shopping experience.
  • Adding Products to Cart: A process allows users to easily add products to their cart, enhancing convenience.
  • Decreasing Product Stock: Whenever a product is added to the cart, the stock availability of that item is appropriately reduced.

Animations

  • Hover Animation: As an engaging user interaction, hovering over a category in the Category component triggers a captivating scaling animation using the Framer Motion library.
  • "Add to Cart" Animation: To emphasize the act of adding a product to the cart, a subtle animation draws attention to the "Add to Cart" button, enhancing user engagement.

Feel free to reach out if you have any questions or would like further details about the project.

-- -- -- -- -- --

-- -- -- -- -- --

-- -- -- -- -- --

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

mobileshopview's People

Contributors

panayotsky-dev avatar

Stargazers

Brian Roach avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.