Skip to content

Step 11 - Merging routes

Course: NextJS (Client side) - chapter 11

What if you wan’t to get the banner in both signup and signin?

Move both the signin and signup folder inside a auth folder where we have the layout

You can access the routes at

http://localhost:3000/auth/signup and http://localhost:3000/auth/signin


You can use create a new folder with () around the name.

This folder is ignored by the router.

You can access the routes at

http://localhost:3000/signup and http://localhost:3000/signin