Private Folders in NextJS
By default, NextJS generates routes
from all folders nested in the
app folder. Sometimes, however,
we need to create a private folder
within the app folder
that will not participate in routing.
To create such a folder, its name should start with an underscore. In this case, NextJS will ignore its contents.
Create a private folder.
Place the page.jsx file inside it.
Make sure you cannot access
this file via the address bar.