We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ceeb2f commit c501b48Copy full SHA for c501b48
angular-hub/src/app/components/navigation/navigation.component.html
@@ -128,7 +128,7 @@
128
-->
129
</header>
130
131
- <main class="pb-4 flex-1">
+ <main class="pb-4 h-full">
132
<router-outlet></router-outlet>
133
</main>
134
</div>
angular-hub/src/app/pages/[...page-not-found].page.ts
@@ -0,0 +1,24 @@
1
+import { Component } from '@angular/core';
2
+import { RouterLink } from '@angular/router';
3
+
4
+@Component({
5
+ standalone: true,
6
+ imports: [RouterLink],
7
+ template: `
8
+ <h2 class="title text-7xl mb-6 text-center">Page Not Found</h2>
9
10
+ <a class="underline" routerLink="/">Go Back Home</a>
11
+ `,
12
+ styles: [
13
+ `
14
+ :host {
15
+ display: flex;
16
+ flex-direction: column;
17
+ justify-content: center;
18
+ align-items: center;
19
+ height: 100%;
20
+ }
21
22
+ ],
23
+})
24
+export default class PageNotFoundComponent {}
0 commit comments