Adds subpages for each club activity and amenity, and adds buttons to the cards on the main page to navigate to them.
15 lines
689 B
TypeScript
15 lines
689 B
TypeScript
export interface Route {
|
|
path: string;
|
|
label: string;
|
|
pageFile: string;
|
|
}
|
|
|
|
export const routes: Route[] = [
|
|
{ path: '/', label: 'Home', pageFile: 'HomePage' },
|
|
{ path: '/activities', label: 'Activities', pageFile: 'ActivitiesPage' },
|
|
{ path: '/activities/weekly-regattas', label: 'Weekly Regattas', pageFile: 'activities/WeeklyRegattasPage' },
|
|
{ path: '/activities/leisurely-cruises', label: 'Leisurely Cruises', pageFile: 'activities/LeisurelyCruisesPage' },
|
|
{ path: '/activities/club-socials', label: 'Club Socials', pageFile: 'activities/ClubSocialsPage' },
|
|
{ path: '/activities/sailing-school', label: 'Sailing School', pageFile: 'activities/SailingSchoolPage' },
|
|
];
|