Add Projects page with detail view, removed navbar entries that only led to home and made featured projects links to the new site
All checks were successful
publish.yml / publish (push) Successful in 1m9s
All checks were successful
publish.yml / publish (push) Successful in 1m9s
This commit is contained in:
@@ -2,10 +2,14 @@ import { Routes } from '@angular/router';
|
||||
import { Home } from '../pages/home/home';
|
||||
import { About } from '../pages/about/about';
|
||||
import { Contact } from '../pages/contact/contact';
|
||||
import { Projects } from '../pages/projects/projects';
|
||||
import { ProjectDetail } from '../pages/projects/project-detail/project-detail';
|
||||
|
||||
export const routes: Routes = [
|
||||
{ path: '', redirectTo: 'home', pathMatch: 'full' },
|
||||
{ path: 'home', component: Home },
|
||||
{ path: 'about', component: About },
|
||||
{ path: 'contact', component: Contact },
|
||||
{ path: 'projects', component: Projects },
|
||||
{ path: 'projects/:projectName', component: ProjectDetail },
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user