I'm developing a single-page and I have a shared footer layout, I want to keep it at the bottom of the page always and even I would like to know if there is a way not to visualize it in some route even though it has been declared in the app.component.html
I have tested on scss all possible footer positions
app.component.html
<div class="grid-container">
<main [@fadeAnimation]="o.isActivated ? o.activatedRoute : ''">
<router-outlet #o="outlet"></router-outlet>
</main>
<rb-footer class="footer"></rb-footer>
</div>
<rb-modal></rb-modal>
app.component.scss
:host {
.grid-container {
display: grid;
grid-template-rows: auto 1fr auto;
grid-template-columns: auto;
height: 100vh;
}
.footer {
position: initia
width:100%;
height:40px;
}
}