first pass - kryz inspired
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
import { Routes } from '@angular/router';
|
||||
|
||||
export const routes: Routes = [
|
||||
{ path: '', redirectTo: '/', pathMatch: 'full' },
|
||||
{
|
||||
path: '',
|
||||
loadComponent: () =>
|
||||
import('./hero/hero.component').then((m) => m.HeroComponent),
|
||||
},
|
||||
{
|
||||
path: 'about',
|
||||
loadComponent: () =>
|
||||
import('./about/about.component').then((m) => m.AboutComponent),
|
||||
},
|
||||
{
|
||||
path: 'schedule',
|
||||
loadComponent: () =>
|
||||
import('./schedule/schedule.component').then((m) => m.ScheduleComponent),
|
||||
},
|
||||
{
|
||||
path: 'donate',
|
||||
loadComponent: () =>
|
||||
import('./donate/donate.component').then((m) => m.DonateComponent),
|
||||
},
|
||||
{
|
||||
path: 'events',
|
||||
loadComponent: () =>
|
||||
import('./events/events.component').then((m) => m.EventsComponent),
|
||||
},
|
||||
{
|
||||
path: 'contact',
|
||||
loadComponent: () =>
|
||||
import('./contact/contact.component').then((m) => m.ContactComponent),
|
||||
},
|
||||
{ path: '**', redirectTo: '' },
|
||||
];
|
||||
Reference in New Issue
Block a user