Skip to content

Commit

Permalink
fix(frontend): fix landing page for mon domifa
Browse files Browse the repository at this point in the history
  • Loading branch information
pYassine committed Jul 2, 2024
1 parent b9fcf78 commit c017729
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<div class="head-page py-4" *ngIf="!isLandingPage">
<div class="container">
<h1>Le portail Mon DomiFa, consulter son courrier en ligne</h1>
</div>
</div>
<div class="container py-3 landing">
<div class="row my-4 align-items-center" @fadeIn>
<div class="col-12 col-md-6 px-5">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import { ComponentFixture, TestBed } from "@angular/core/testing";

import { LandingPagePortailComponent } from "./landing-page-portail.component";
import { CUSTOM_ELEMENTS_SCHEMA } from "@angular/core";
import { RouterTestingModule } from "@angular/router/testing";
import { APP_BASE_HREF } from "@angular/common";
import { NoopAnimationsModule } from "@angular/platform-browser/animations";

describe("LandingPagePortailComponent", () => {
let component: LandingPagePortailComponent;
Expand All @@ -9,6 +13,9 @@ describe("LandingPagePortailComponent", () => {
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [LandingPagePortailComponent],
imports: [RouterTestingModule, NoopAnimationsModule],
providers: [{ provide: APP_BASE_HREF, useValue: "/" }],
schemas: [CUSTOM_ELEMENTS_SCHEMA],
}).compileComponents();

fixture = TestBed.createComponent(LandingPagePortailComponent);
Expand Down

0 comments on commit c017729

Please sign in to comment.