generated from bisco/codex-bootstrap
19 lines
1.2 KiB
TypeScript
19 lines
1.2 KiB
TypeScript
import { Routes } from '@angular/router';
|
|
|
|
import { BookingPlaceholderPageComponent } from './pages/booking-placeholder-page.component';
|
|
import { CheckInPlaceholderPageComponent } from './pages/check-in-placeholder-page.component';
|
|
import { HomePageComponent } from './pages/home-page.component';
|
|
import { ReservationConfirmPageComponent } from './pages/reservation-confirm-page.component';
|
|
import { ShowDetailPlaceholderPageComponent } from './pages/show-detail-placeholder-page.component';
|
|
import { ShowListPageComponent } from './pages/show-list-page.component';
|
|
|
|
export const appRoutes: Routes = [
|
|
{ path: '', component: HomePageComponent, title: 'AzioneLab' },
|
|
{ path: 'shows', component: ShowListPageComponent, title: 'Shows | AzioneLab' },
|
|
{ path: 'shows/:slug', component: ShowDetailPlaceholderPageComponent, title: 'Show detail | AzioneLab' },
|
|
{ path: 'performances/:id/book', component: BookingPlaceholderPageComponent, title: 'Book | AzioneLab' },
|
|
{ path: 'reservations/confirm', component: ReservationConfirmPageComponent, title: 'Confirm reservation | AzioneLab' },
|
|
{ path: 'check-in', component: CheckInPlaceholderPageComponent, title: 'Check-in | AzioneLab' },
|
|
{ path: '**', redirectTo: '' },
|
|
];
|