added seeder for legacy apge and added the legacy page
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/* ============================================================================
|
||||
ROUTE SLUGS - the single source of truth for the site's ten sections
|
||||
ROUTE SLUGS - the single source of truth for the site's eleven sections
|
||||
----------------------------------------------------------------------------
|
||||
This module has ZERO imports on purpose: it is loaded by `app/routes.ts`,
|
||||
which the React Router dev plugin evaluates in Node while building the route
|
||||
@@ -23,6 +23,7 @@
|
||||
export const ROUTE_SLUGS = {
|
||||
home: "",
|
||||
about: "about",
|
||||
legacy: "legacy",
|
||||
whatWeDo: "what-we-do",
|
||||
activities: "activities-and-initiatives",
|
||||
events: "events-calendar",
|
||||
@@ -41,7 +42,7 @@ export type RouteSlugKey = keyof typeof ROUTE_SLUGS;
|
||||
*/
|
||||
export type RouteSlugs = typeof ROUTE_SLUGS;
|
||||
|
||||
/** The ten section keys in navigation order. */
|
||||
/** The section keys in navigation order. */
|
||||
export const ROUTE_SLUG_KEYS = Object.keys(ROUTE_SLUGS) as readonly RouteSlugKey[];
|
||||
|
||||
/**
|
||||
@@ -57,7 +58,7 @@ export function sectionSlugPath(key: RouteSlugKey): string {
|
||||
export const ROUTE_SECTION_GROUPS = [
|
||||
{
|
||||
id: "about-and-strategy",
|
||||
children: ["about", "whatWeDo", "activities"],
|
||||
children: ["about", "legacy", "whatWeDo", "activities"],
|
||||
},
|
||||
{
|
||||
id: "engagement-and-opportunities",
|
||||
|
||||
Reference in New Issue
Block a user