From 096a76c8e1df2722cb5dd4bf77ef6897ead9f57b Mon Sep 17 00:00:00 2001 From: FazCodeFR <30906528+FazCodeFR@users.noreply.github.com> Date: Mon, 8 Jan 2024 14:49:51 +0100 Subject: [PATCH] Fix login page and center home --- src/app/app.module.ts | 2 + .../components/footer/footer.component.html | 7 +-- .../components/header/header.component.html | 4 +- src/app/components/home/home.component.html | 11 ++--- src/app/no-header-footer.directive.ts | 49 +++++++++++++++++++ 5 files changed, 62 insertions(+), 11 deletions(-) create mode 100644 src/app/no-header-footer.directive.ts diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 3215a2a..bd8401a 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -19,6 +19,7 @@ import { AnimauxDetailsComponent } from './components/animaux/animaux-details/an import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { MatTabsModule } from '@angular/material/tabs'; +import { NoHeaderFooterDirective } from './no-header-footer.directive'; @NgModule({ declarations: [ @@ -32,6 +33,7 @@ import { MatTabsModule } from '@angular/material/tabs'; ContactComponent, AnimauxListComponent, AnimauxDetailsComponent, + NoHeaderFooterDirective, ], imports: [ BrowserModule, diff --git a/src/app/components/footer/footer.component.html b/src/app/components/footer/footer.component.html index 5e5e52d..f1942c1 100644 --- a/src/app/components/footer/footer.component.html +++ b/src/app/components/footer/footer.component.html @@ -1,11 +1,12 @@ -