title: How do you deal with public and private routes in a NextJS app?
body: <p>I'm working on a app that we have public and admin routes, in our past CRA app we've used custom routes elements, but we dont have thins in nextjs... We have a lot of public pages, and we have 20 private pages/routes.</p>
  <p>Whats is the best way to deal with protected autenticated routes and public routes in nextjs?</p>
  <p>Thanks so much!
  Best</p>