I'm thinking of implementing a "contextual" navbar, which displays elements (input, buttons, links...) according to the current routed pages need (so basically what macOS or the mac touchbar does)
My approach is to have a separate navbar and page view outlet
Here I'd need to use services or observables to hook up the navbar and pages modules so that they are aware of each other. I'm just not sure if this in long run will cause problems.
Below is the example folder structure with a calendar app and a landing page
app |--navbar |--calendar-navbar |--calendar-navbar.component.ts |--landing-page-navbar |--landing-page-navbar.component.ts |--navbar.module.ts |--pages |--calendar |--calendar.compontent.ts |--landing-page |--calendar.compontent.ts |--pages.module.ts |--pages.compontent.ts |--app.component.ts |--app.module.ts