aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+page-not-found
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/+page-not-found')
-rw-r--r--client/src/app/+page-not-found/page-not-found-routing.module.ts16
-rw-r--r--client/src/app/+page-not-found/page-not-found.component.html3
-rw-r--r--client/src/app/+page-not-found/page-not-found.component.scss8
-rw-r--r--client/src/app/+page-not-found/page-not-found.component.ts10
-rw-r--r--client/src/app/+page-not-found/page-not-found.module.ts22
5 files changed, 59 insertions, 0 deletions
diff --git a/client/src/app/+page-not-found/page-not-found-routing.module.ts b/client/src/app/+page-not-found/page-not-found-routing.module.ts
new file mode 100644
index 000000000..43f7d7337
--- /dev/null
+++ b/client/src/app/+page-not-found/page-not-found-routing.module.ts
@@ -0,0 +1,16 @@
1import { NgModule } from '@angular/core'
2import { RouterModule, Routes } from '@angular/router'
3import { PageNotFoundComponent } from './page-not-found.component'
4
5const pageNotFoundRoutes: Routes = [
6 {
7 path: '',
8 component: PageNotFoundComponent,
9 }
10]
11
12@NgModule({
13 imports: [ RouterModule.forChild(pageNotFoundRoutes) ],
14 exports: [ RouterModule ]
15})
16export class PageNotFoundRoutingModule {}
diff --git a/client/src/app/+page-not-found/page-not-found.component.html b/client/src/app/+page-not-found/page-not-found.component.html
new file mode 100644
index 000000000..66aa2aec7
--- /dev/null
+++ b/client/src/app/+page-not-found/page-not-found.component.html
@@ -0,0 +1,3 @@
1<div>
2 Sorry, but we couldn't find the page you were looking for.
3</div> \ No newline at end of file
diff --git a/client/src/app/+page-not-found/page-not-found.component.scss b/client/src/app/+page-not-found/page-not-found.component.scss
new file mode 100644
index 000000000..05d45f97f
--- /dev/null
+++ b/client/src/app/+page-not-found/page-not-found.component.scss
@@ -0,0 +1,8 @@
1div {
2 height: 100%;
3 width: 100%;
4 text-align: center;
5 margin-top: 50px;
6
7 font-size: 32px;
8} \ No newline at end of file
diff --git a/client/src/app/+page-not-found/page-not-found.component.ts b/client/src/app/+page-not-found/page-not-found.component.ts
new file mode 100644
index 000000000..c91bb8649
--- /dev/null
+++ b/client/src/app/+page-not-found/page-not-found.component.ts
@@ -0,0 +1,10 @@
1import { Component } from '@angular/core'
2
3@Component({
4 selector: 'my-page-not-found',
5 templateUrl: './page-not-found.component.html',
6 styleUrls: [ './page-not-found.component.scss' ]
7})
8export class PageNotFoundComponent {
9
10}
diff --git a/client/src/app/+page-not-found/page-not-found.module.ts b/client/src/app/+page-not-found/page-not-found.module.ts
new file mode 100644
index 000000000..bc29d17c4
--- /dev/null
+++ b/client/src/app/+page-not-found/page-not-found.module.ts
@@ -0,0 +1,22 @@
1import { NgModule } from '@angular/core'
2import { SharedModule } from '../shared'
3import { PageNotFoundComponent } from '@app/+page-not-found/page-not-found.component'
4import { PageNotFoundRoutingModule } from '@app/+page-not-found/page-not-found-routing.module'
5
6@NgModule({
7 imports: [
8 PageNotFoundRoutingModule,
9 SharedModule
10 ],
11
12 declarations: [
13 PageNotFoundComponent,
14 ],
15
16 exports: [
17 PageNotFoundComponent
18 ],
19
20 providers: []
21})
22export class PageNotFoundModule { }