This commit is contained in:
2023-11-24 15:52:54 -05:00
parent 3ce0f7a418
commit 6f47657c91
25 changed files with 466 additions and 115 deletions

View File

@ -10,19 +10,21 @@ import {GalleryComponent} from './views/gallery/gallery.component';
import {HomeComponent} from './views/home/home.component';
import {DrillComponent} from './views/reenact/drill/drill.component';
import {GettingStartedComponent} from './views/reenact/getting-started/getting-started.component';
import {MaintenanceComponent} from './views/reenact/maintinance/maintenance.component';
import {RulesComponent} from './views/reenact/rules/rules.component';
const routes: Routes = [
{path: '', pathMatch: 'full', component: HomeComponent},
{path: 'about', component: AboutComponent, data: {title: 'About'}},
{path: 'drill', component: DrillComponent, data: {title: 'Drill Commands'}},
{path: 'events/aestiva', component: AestivaComponent, data: {title: 'Castra Aestiva'}},
{path: 'events/agonium', component: AgoniumComponent, data: {title: 'Agonium'}},
{path: 'events/hiberna', component: HibernaComponent, data: {title: 'Castra Hiberna'}},
{path: 'events/castra-aestiva', component: AestivaComponent, data: {title: 'Castra Aestiva'}},
{path: 'events/castra-hiberna', component: HibernaComponent, data: {title: 'Castra Hiberna'}},
{path: 'events/calendar', component: CalendarComponent, data: {title: 'Calendar'}},
{path: 'gallery', component: GalleryComponent, data: {title: 'Gallery'}},
{path: 'getting-started', component: GettingStartedComponent, data: {title: 'Getting Started'}},
{path: 'rules', component: RulesComponent, data: {title: 'Rules & Regulations'}},
{path: 'maintenance', component: MaintenanceComponent, data: {title: 'Maintenance'}},
{path: '**', component: FourOFourComponent, data: {title: '404'}}
];