/nextgram

A sample Next.js app showing dynamic routing with modals as a route.

Primary LanguageTypeScript

NextGram

This is a sample Next.js application that takes advantage of the advanced routing capabilities.

The photo route can be attached to two distinct components:

  1. When navigating within the application, it is rendered as a modal
  2. When the page is refreshed, it is rendered as a standalone page

NextGram

Try it Yourself

Demo

https://nextgram.vercel.app

Deploy with Vercel

Locally

git clone https://github.com/vercel/nextgram.git
cd nextgram/
yarn
yarn dev