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:
- When navigating within the application, it is rendered as a modal
- When the page is refreshed, it is rendered as a standalone page
Try it Yourself
Demo
Locally
git clone https://github.com/vercel/nextgram.git
cd nextgram/
yarn
yarn dev