forked from Chocobozzz/PeerTube
-
Notifications
You must be signed in to change notification settings - Fork 0
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
351d522
commit a51bad1
Showing
13 changed files
with
126 additions
and
41 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
16 changes: 16 additions & 0 deletions
16
client/src/app/+page-not-found/page-not-found-routing.module.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 { NgModule } from '@angular/core' | ||
import { RouterModule, Routes } from '@angular/router' | ||
import { PageNotFoundComponent } from './page-not-found.component' | ||
|
||
const pageNotFoundRoutes: Routes = [ | ||
{ | ||
path: '', | ||
component: PageNotFoundComponent, | ||
} | ||
] | ||
|
||
@NgModule({ | ||
imports: [ RouterModule.forChild(pageNotFoundRoutes) ], | ||
exports: [ RouterModule ] | ||
}) | ||
export class PageNotFoundRoutingModule {} |
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,3 @@ | ||
<div> | ||
Sorry, but we couldn't find the page you were looking for. | ||
</div> |
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,8 @@ | ||
div { | ||
height: 100%; | ||
width: 100%; | ||
text-align: center; | ||
margin-top: 50px; | ||
|
||
font-size: 32px; | ||
} |
10 changes: 10 additions & 0 deletions
10
client/src/app/+page-not-found/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,10 @@ | ||
import { Component } from '@angular/core' | ||
|
||
@Component({ | ||
selector: 'my-page-not-found', | ||
templateUrl: './page-not-found.component.html', | ||
styleUrls: [ './page-not-found.component.scss' ] | ||
}) | ||
export class PageNotFoundComponent { | ||
|
||
} |
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,22 @@ | ||
import { NgModule } from '@angular/core' | ||
import { SharedModule } from '../shared' | ||
import { PageNotFoundComponent } from '@app/+page-not-found/page-not-found.component' | ||
import { PageNotFoundRoutingModule } from '@app/+page-not-found/page-not-found-routing.module' | ||
|
||
@NgModule({ | ||
imports: [ | ||
PageNotFoundRoutingModule, | ||
SharedModule | ||
], | ||
|
||
declarations: [ | ||
PageNotFoundComponent, | ||
], | ||
|
||
exports: [ | ||
PageNotFoundComponent | ||
], | ||
|
||
providers: [] | ||
}) | ||
export class PageNotFoundModule { } |
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
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