Skip to content

Commit

Permalink
feature: Add footer to headless pages (#2092)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielPalafox authored Nov 23, 2023
1 parent 6032836 commit 878fadd
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,8 @@
<router-outlet name="banner"></router-outlet>
<app-banners *ngIf="!headlessMode"></app-banners>
<app-header *ngIf="!headlessMode" currentRoute=""></app-header>
<div
[ngClass]="{
'router-container': !headlessMode
}"
>
<div class="router-container">
<router-outlet> </router-outlet>
<app-footer *ngIf="!headlessMode"></app-footer>
<app-footer></app-footer>
</div>
</div>

0 comments on commit 878fadd

Please sign in to comment.