Skip to content

emilkovacevic/nextjs-image-base64-blur-sandbox

Repository files navigation

Next js image sandbox

This project is a Next.js application that utilizes the "https://dummyjson.com" API to list products. Project features a base64 loader as a placeholder image while waiting for the images to load. The project also includes a full-screen modal for viewing product images, complete with thumbnails and support for mouse/keyboard controls.

demo

Features

  • List products with a brief overview on the main page.
  • Clicking on a product redirects to its individual page with detailed information.
  • Images are loaded with a base64 placeholder while the original images are being fetched.
  • Full-screen modal for an immersive viewing experience of product images.
  • Thumbnails and controls for easy navigation within the modal.

Build & Run

  1. Clone this repository to your local machine.

  2. Open a terminal and navigate to the root directory of the sample app.

  3. Install dependencies by running:

    npm install.
  4. To start the development server, run:

    npm run dev.

Author

Emil Kovacevic

Contributions

Contributions are welcome!

Releases

No releases published

Packages

No packages published