Routing

Dynamic Routes

The project uses dynamic routes for blog posts and documentation pages:

  • /blog/[slug] - Individual blog posts
  • /docs/[...slug] - Documentation pages

The navigation bar is a client component that uses Next.js usePathname hook to highlight the active route.