feat: add subpages for club activities and amenities
Adds subpages for each club activity and amenity, and adds buttons to the cards on the main page to navigate to them.
This commit is contained in:
@@ -38,28 +38,28 @@ export default function ActivitiesPage() {
|
||||
title: "Weekly Regattas",
|
||||
description: "Test your skills and compete against fellow sailors in our exhilarating weekly regattas. All classes are welcome.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/sailing-yacht-race-yachting-sailing-regatta_654080-1676.jpg?_wi=1",
|
||||
primaryButton: { text: "Learn More", href: "/activities/regattas" },
|
||||
primaryButton: { text: "Learn More", href: "/activities/weekly-regattas" },
|
||||
},
|
||||
{
|
||||
tag: "Cruising",
|
||||
title: "Leisurely Cruises",
|
||||
description: "Join our group cruises to explore the beautiful San Diego coastline, visit other clubs, and enjoy overnight trips.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-shot-fluffy-clouds-sky-reflecting-calm-sea-with-boat-sailing_181624-2261.jpg",
|
||||
primaryButton: { text: "Learn More", href: "/activities/cruises" },
|
||||
primaryButton: { text: "Learn More", href: "/activities/leisurely-cruises" },
|
||||
},
|
||||
{
|
||||
tag: "Social",
|
||||
title: "Club Socials & Dinners",
|
||||
description: "From holiday parties to themed dinners, our social events are the perfect opportunity to relax and connect with other members.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/group-friends-celebrating-together_23-2149155791.jpg",
|
||||
primaryButton: { text: "Learn More", href: "/activities/socials" },
|
||||
primaryButton: { text: "Learn More", href: "/activities/club-socials" },
|
||||
},
|
||||
{
|
||||
tag: "Learning",
|
||||
title: "Sailing School & Seminars",
|
||||
description: "Whether you're a novice or an experienced sailor, our certified instructors and guest speakers offer valuable lessons and insights.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/young-woman-learning-sail-boat_1303-27222.jpg",
|
||||
primaryButton: { text: "Learn More", href: "/activities/school" },
|
||||
primaryButton: { text: "Learn More", href: "/activities/sailing-school" },
|
||||
},
|
||||
]}
|
||||
/>
|
||||
|
||||
@@ -7,8 +7,8 @@ export interface Route {
|
||||
export const routes: Route[] = [
|
||||
{ path: '/', label: 'Home', pageFile: 'HomePage' },
|
||||
{ path: '/activities', label: 'Activities', pageFile: 'ActivitiesPage' },
|
||||
{ path: '/activities/regattas', label: 'Weekly Regattas', pageFile: 'activities/WeeklyRegattasPage' },
|
||||
{ path: '/activities/cruises', label: 'Leisurely Cruises', pageFile: 'activities/LeisurelyCruisesPage' },
|
||||
{ path: '/activities/socials', label: 'Club Socials', pageFile: 'activities/ClubSocialsPage' },
|
||||
{ path: '/activities/school', label: 'Sailing School', pageFile: 'activities/SailingSchoolPage' },
|
||||
{ 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' },
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user