forked from eclipse-edc/DataDashboard
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c358d6c
commit 2d8d88e
Showing
6 changed files
with
49 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
src/app/component-library/error-404-component/page-not-found.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<div class="flex flex-col items-center max-w-sm mx-auto text-center"> | ||
<h1 class="mt-3 text-2xl font-semibold text-gray-800 md:text-3xl"> | ||
Page not found | ||
</h1> | ||
<p class="mt-4 text-gray-500">The page you are looking for doesn't exist.</p> | ||
<div class="flex items-center w-full mt-6 gap-x-3 shrink-0 sm:w-auto"> | ||
<a routerLink="/" mat-raised-button color="primary"> Go Back </a> | ||
</div> | ||
</div> |
16 changes: 16 additions & 0 deletions
16
src/app/component-library/error-404-component/page-not-found.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import {Component, HostBinding} from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'app-page-not-found', | ||
templateUrl: './page-not-found.component.html', | ||
}) | ||
export class PageNotFoundComponent { | ||
@HostBinding('class.container') | ||
@HostBinding('class.flex') | ||
@HostBinding('class.items-center') | ||
@HostBinding('class.min-h-screen') | ||
@HostBinding('class.px-6') | ||
@HostBinding('class.py-12') | ||
@HostBinding('class.box-border') | ||
cls = true; | ||
} |