I have different nested routes in my project for example:
- / (that means if it's not a nested route like / (index) or /about )
- blog
- Profile
And all these routes need a different layout (navbar/sidebar, and maybe head and body) But I don't know what's the best practice to implement this is. And all these routes contain both dynamic and static routes.