Skip to content

bpnace/curious

Repository files navigation

curious - UI/UX gallery prototype

CI Version Status Security License Next.js React TypeScript Tailwind CSS pnpm

curious gallery prototype

curious is a UI/UX gallery prototype inspired by design discovery platforms. It uses the Next.js App Router, Tailwind CSS, and React Server Components to showcase masonry browsing, image-focused detail views, and an intercepted modal route without turning the project into a generic starter.

Case study

Problem

Design discovery products depend on fast visual scanning and low-friction detail views. The prototype needed to feel like a focused product surface instead of a generic image grid.

Solution

I built a compact Next.js gallery with masonry browsing, image-forward cards, quick-view routing, and detail composition through intercepted modal routes.

Engineering decisions

  • Use App Router and React Server Components for the primary gallery surface
  • Use parallel/intercepted routes for quick-view behavior
  • Keep image cards stable with aspect-ratio handling
  • Keep the scope deliberately narrow so the UX pattern is easy to evaluate

Outcome

curious works as a UI/UX prototype case: it shows layout craft, App Router routing behavior, image handling, and focused product interaction.

What this shows

  • App Router structure with parallel/intercepted route behavior
  • Responsive masonry-style layout for visual browsing
  • Image detail composition with exact-fit aspect-ratio handling
  • A small, focused UI product surface built from reusable components

Tech

  • Next.js (App Router, RSC)
  • Tailwind CSS
  • next/image with remote patterns

Features

  • Masonry-style gallery using CSS columns
  • Intercepted modal route for quick view: @modal/(.)shots/[id]
  • Exact-fit image presentation with aspect-ratio containment
  • “Become a part” floating CTA

Development

pnpm install
pnpm dev

App runs on http://localhost:3000.

Structure

  • src/app/page.tsx: Gallery and CTA
  • src/components/shot-card.tsx: Shot tile
  • src/components/shot-detail.tsx: Detail layout (image + info)
  • src/components/modal.tsx: Intercepted modal wrapper
  • src/app/@modal/(.)shots/[id]/page.tsx: Modal route
  • src/lib/shots.ts: Mock data

Contributing

Open a PR with improvements or new shots. For assets, prefer WebP and include dimensions.

About

UI/UX gallery prototype built with Next.js App Router, Tailwind CSS, masonry browsing, image detail views, and intercepted modal routing.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Contributors