Skip to content

A responsive product detail page inspired by ON’s “The Roger” sneaker collection, built with HTML, Tailwind CSS, and JavaScript. Includes GSAP animations and is influenced by this draggable homepage concept from CodeGrid on YouTube: https://youtu.be/CXpY4wHsSCk

Notifications You must be signed in to change notification settings

yarlinlynn/the-roger-product-page

Repository files navigation

The Roger Sneaker Page Clone (Inspired by ON & CodeGrid)

This project is a responsive product detail page inspired by the "The Roger" collection page from ON:
🔗 https://www.on.com/en-ch/collection/the-roger

My goal is to recreate the clean, professional look and feel of the original ON sneaker product layout, using HTML, Tailwind CSS, and JavaScript with GSAP animations.

The idea is to enhance the static design with interactive animations and page transitions inspired by a YouTube tutorial by CodeGrid:
🎬 https://youtu.be/CXpY4wHsSCk


✅ Features

  • Responsive layout using Tailwind CSS
  • Horizontally scrolling image carousel on desktop
  • Stacked layout on mobile for performance and accessibility
  • Clean product details (title, color, price, CTA)
  • Related sneaker recommendations below product info
  • Remote image linking (from ON’s site) to reduce local asset load
  • Basic entry animations using GSAP

🌐 Image Optimization Strategy

To improve performance and reduce project size, all product and recommendation images are linked directly from ON’s official website rather than downloaded and hosted locally.

Benefits:

  • ✅ Faster page load with no image hosting setup
  • ✅ Reduced project size for easier deployment
  • ✅ Immediate access to high-resolution, optimized images
  • ✅ Easier updates by simply replacing the URLs

This keeps the project lightweight and efficient, especially when deployed online.


📦 Tech Stack

  • HTML5
  • Tailwind CSS
  • JavaScript (Vanilla)
  • GSAP (GreenSock Animation Platform)

💡 Inspired By

🎯 Original Product Page (ON)

🎥 Draggable Page Idea (CodeGrid YouTube)

I plan to use this draggable concept in a future homepage that allows users to horizontally drag through products and click to enter the individual product page (this one).


🔮 Future Features

  • GSAP-animated draggable homepage similar to the CodeGrid tutorial
  • Smooth page transitions between homepage and product page
  • Shopping cart drawer with animation
  • Product image zoom or lightbox view
  • Multi-product support using dynamic data (e.g., JSON or CMS)
  • Accessibility enhancements (keyboard nav, ARIA roles)
  • Basic product filtering on homepage (e.g., color, price)

🚀 Getting Started

To run the project locally:

  1. Clone the repo
git clone https://github.com/your-username/the-roger-clone.git
  1. Open index.html in your browser

That’s it! No build steps or installs needed unless you expand to a full app.


📄 License

This is a learning and personal project. All trademarks and images are property of their respective owners.

About

A responsive product detail page inspired by ON’s “The Roger” sneaker collection, built with HTML, Tailwind CSS, and JavaScript. Includes GSAP animations and is influenced by this draggable homepage concept from CodeGrid on YouTube: https://youtu.be/CXpY4wHsSCk

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published