Added 404 page

This commit is contained in:
2022-09-24 13:56:53 -04:00
parent ff8974d285
commit 0e76d7c1b1
4 changed files with 26 additions and 1 deletions

View File

@ -1,11 +1,13 @@
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import {FourOFourComponent} from './views/404/404.component';
import {GalleryComponent} from './views/gallery/gallery.component';
import {HomeComponent} from './views/home/home.component';
const routes: Routes = [
{path: '', pathMatch: 'full', component: HomeComponent},
{path: 'gallery', component: GalleryComponent}
{path: 'gallery', component: GalleryComponent},
{path: '**', component: FourOFourComponent}
];
@NgModule({