So i know we need to have a layout file in the app directory.
I also know that this can be done server side - which should allow us to connect to a DB (mongodb) and fetch sites logos, images etc - not sure though.
The question however is can you have a totally different layout.tsx file in a subfolder like dashboard for example?
also can we still use hooks to load themes?
like something like this which is currently in /hocs folder