This commit is contained in:
2024-08-26 18:43:14 +02:00
parent 0f301fb534
commit c1b72bbc12
5 changed files with 22 additions and 113 deletions

View File

@@ -1,9 +1,11 @@
<!-- <div class="container"> -->
<div [ngClass]="{ 'bg-slate-100': actualRoute !== 'home' }">
<div class="min-h-screen flex flex-col" [ngClass]="{ 'bg-slate-100': actualRoute !== 'home' }">
@if (actualRoute !=='home'){
<header></header>
}
<router-outlet></router-outlet>
<main class="flex-grow">
<router-outlet></router-outlet>
</main>
<app-footer></app-footer>
</div>