How to create multiple layouts in Next.js?

I am using the app directory. I am building an app where there is a admin section and there is a home section. Now I want to have different navbar and footer for each section.

So when I searched for this I got to know about nested layouts but that’s not solving my problem as I have added the header and footer components of the home section at the root layout which also gets displayed in my dashboard section. How can I solve this? I want to have different navbars on both sections.