I want to have two master pages

I have a project with the structure i sent in image
I want
login page inherit from without-secure page
dashboard page inherit from with-secure page

app-component include selector of without-secure and with-secure pages

I show and hide these selectors according to isLogin variable

Can you a dvise me how to achieve that


Not that you need care about my opinion here, but I’m not convinced inheritance is a good fit here. Are you absolutely committed to it? If so, convince me why it’s a good choice.