Initial Commit
This commit is contained in:
1 parent
ae0db346a0
commit
06bc03176b
55 files changed
+1442
-346
No files matched your search
+14
-1
@@ -1,3 +1,16 @@
|
||||
import { Routes } from '@angular/router';
|
||||
import { AboutComponent } from './about/about.component';
|
||||
import { PortfolioComponent } from './portfolio/portfolio.component';
|
||||
import { ContactComponent } from './contact/contact.component';
|
||||
import { BlogComponent } from './blog/blog.component';
|
||||
import {NotFoundComponent} from './not-found/not-found.component';
|
||||
|
||||
export const routes: Routes = [];
|
||||
export const routes: Routes = [
|
||||
{ path: '', redirectTo: '/about', pathMatch: 'full' }, // Redirect default route to 'about'
|
||||
{ path: 'about', component: AboutComponent },
|
||||
{ path: 'portfolio', component: PortfolioComponent },
|
||||
{ path: 'contact', component: ContactComponent },
|
||||
{ path: 'blog', component: BlogComponent },
|
||||
|
||||
{ path: '**', pathMatch: 'full', component: NotFoundComponent },
|
||||
];
|
||||
Reference in new issue
Block a user