Working a lot in Next.js recently, this is how I implemented nested layouts in an app I'm building!
I use a lot of tab navigation and I want to use the power of the nextjs router to navigate back and fourth and go directly to a specific page while reusing markup. If you're familiar with react-router, it's quite simple and well documented how to do it but for nextjs it's a little more tricky!
This is the resource where I found the information. Give it a read:
https://reacttricks.com/nested-dynami...