added seeder for legacy apge and added the legacy page
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/* ============================================================================
|
||||
DEFAULT INFORMATION ARCHITECTURE
|
||||
----------------------------------------------------------------------------
|
||||
The ten top-level destinations from the Figma navigation (frame 20:236) and
|
||||
The top-level destinations from the Figma navigation (frame 20:236) and
|
||||
ToR 3.2. The app shell normally feeds `items` to <Navigation /> from the
|
||||
Strapi site-settings single type; this module is the typed fallback that
|
||||
renders when Strapi has not been wired yet.
|
||||
@@ -30,6 +30,7 @@ import type { NavItem, NavigationStrings, NavigationStringsByLocale } from "./ty
|
||||
export const NAV_PATHS = {
|
||||
home: "/",
|
||||
about: "/about",
|
||||
legacy: "/legacy",
|
||||
whatWeDo: "/what-we-do",
|
||||
activities: "/activities-and-initiatives",
|
||||
events: "/events-calendar",
|
||||
@@ -53,6 +54,7 @@ const LABELS: Record<Locale, Record<LabelKey, string>> = {
|
||||
home: "Home",
|
||||
aboutAndStrategy: "About and Strategy",
|
||||
about: "About",
|
||||
legacy: "SHARP Legacy",
|
||||
whatWeDo: "What We Do",
|
||||
activities: "Activities and Initiatives",
|
||||
engagementAndOpportunities: "Engagement and Opportunities",
|
||||
@@ -68,6 +70,7 @@ const LABELS: Record<Locale, Record<LabelKey, string>> = {
|
||||
home: "الرئيسية",
|
||||
aboutAndStrategy: "عن المشروع والاستراتيجية",
|
||||
about: "عن المشروع",
|
||||
legacy: "إرث شارب",
|
||||
whatWeDo: "ماذا نفعل",
|
||||
activities: "الأنشطة والمبادرات",
|
||||
engagementAndOpportunities: "المشاركة والفرص",
|
||||
@@ -96,6 +99,7 @@ export function getDefaultNavItems(locale: Locale): NavItem[] {
|
||||
label: label.aboutAndStrategy,
|
||||
children: [
|
||||
{ id: "about", label: label.about, href: href("about") },
|
||||
{ id: "legacy", label: label.legacy, href: href("legacy") },
|
||||
{ id: "what-we-do", label: label.whatWeDo, href: href("whatWeDo") },
|
||||
{ id: "activities", label: label.activities, href: href("activities") },
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user