How to build single-page applications with Next.js — Next.js · Smolify