From b88c21eaa61d424047a552b623876465992b22e0 Mon Sep 17 00:00:00 2001 From: Alix JEUDI--LEMOINE Date: Thu, 29 May 2025 15:24:08 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A5=85=20Not=20found=20page?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../not-found/not-found.component.html | 25 +++++++++++++++++++ .../not-found/not-found.component.spec.ts | 23 +++++++++++++++++ .../not-found/not-found.component.ts | 8 ++++++ 3 files changed, 56 insertions(+) create mode 100644 src/app/components/not-found/not-found.component.html create mode 100644 src/app/components/not-found/not-found.component.spec.ts create mode 100644 src/app/components/not-found/not-found.component.ts diff --git a/src/app/components/not-found/not-found.component.html b/src/app/components/not-found/not-found.component.html new file mode 100644 index 0000000..d466530 --- /dev/null +++ b/src/app/components/not-found/not-found.component.html @@ -0,0 +1,25 @@ +
+
+
+

+ 404 +

+

+ Something's missing. +

+

+ Sorry, we can't find that page. You'll find lots to explore on the home + page. +

+ Back to Homepage +
+
+
diff --git a/src/app/components/not-found/not-found.component.spec.ts b/src/app/components/not-found/not-found.component.spec.ts new file mode 100644 index 0000000..5b65d9e --- /dev/null +++ b/src/app/components/not-found/not-found.component.spec.ts @@ -0,0 +1,23 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { NotFoundComponent } from './not-found.component'; + +describe('NotFoundComponent', () => { + let component: NotFoundComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + imports: [NotFoundComponent] + }) + .compileComponents(); + + fixture = TestBed.createComponent(NotFoundComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/components/not-found/not-found.component.ts b/src/app/components/not-found/not-found.component.ts new file mode 100644 index 0000000..4726f37 --- /dev/null +++ b/src/app/components/not-found/not-found.component.ts @@ -0,0 +1,8 @@ +import { Component } from '@angular/core'; + +@Component({ + selector: 'app-not-found', + imports: [], + templateUrl: './not-found.component.html', +}) +export class NotFoundComponent {}