Currently, I am in the process of designing a layout for my dashboard. The dashboard features a sidebar with links to various pages, but upon navigating to the dashboard page, only my index.tsx is visible without the accompanying layout and sidebar.
I have included an image showcasing the structure of my pages directory along with the code for the layout file.
https://i.sstatic.net/yteIC.png
Despite diligently following the provided documentation and tutorials, I seem to be encountering the same issue consistently. One notable distinction between my approach and the standard method is that my layout is specific to the dashboard page (pages/dashboard) rather than being applied at the app level itself (pages). I experimented with renaming the index.tsx file to page.tsx, but this action resulted in a 404 "page not found" error.
At this point, I am unsure of what misstep I may have made in my implementation. Any guidance or assistance would be greatly appreciated.