forked from UKSOURCE/cms.lams
Refactor the CMS page content system to use a more modular configuration-driven approach. This replaces the monolithic `pageContentConfig.js` with individual configuration files for each page and introduces a shared field utility to standardize editor components. Key changes: - Implement a generic `_renderSingletonPageView` helper to reduce duplication across controllers. - Enhance `_createPageContentController` with `normalizeForEditor`, `normalizeForApi`, and `preparePayload` hooks for custom data transformation. - Create dedicated configuration and view structures for Partnerships, History, Accreditation, Admissions, and Policies pages. - Add a specialized section editor for Policies to manage complex nested content. - Improve the frontend `page-content-editor.js` with support for visibility logic, auto-sequencing for arrays, and URL synchronization for active tabs. - Update data JSON files to align with the new schema.
102 lines
3.7 KiB
JSON
102 lines
3.7 KiB
JSON
{
|
|
"highlight": {
|
|
"icon": "fa-trophy",
|
|
"text": "History Save Check",
|
|
"linkLabel": "Read Full Story",
|
|
"href": "#timeline-content"
|
|
},
|
|
"hero": {
|
|
"badge": "Our Journey",
|
|
"title": "Building the Future of Education.",
|
|
"description": "From our humble beginnings to becoming a global leader in online education, explore the key moments that define our legacy."
|
|
},
|
|
"filters": {
|
|
"yearLabel": "Decade / Year",
|
|
"categoryLabel": "Category",
|
|
"buttonLabel": "Apply Filters",
|
|
"yearOptions": [
|
|
"All Years",
|
|
"2020 - Present",
|
|
"2010 - 2019",
|
|
"2005 - 2009"
|
|
],
|
|
"categoryOptions": [
|
|
"All Categories",
|
|
"Academic Programs",
|
|
"Global Expansion",
|
|
"Technology & Innovation",
|
|
"Student Experience",
|
|
"Awards & Recognition"
|
|
]
|
|
},
|
|
"timeline": {
|
|
"loadMoreLabel": "Load Earlier Milestones",
|
|
"items": [
|
|
{
|
|
"id": "student-experience-innovation",
|
|
"year": "2026",
|
|
"yearRange": "2020 - Present",
|
|
"category": "Student Experience",
|
|
"categoryLabel": "Student Experience",
|
|
"title": "Innovation in Student Experience",
|
|
"description": "Enhanced student support through integrated digital services, academic advising, and career development platforms.",
|
|
"image": "/uploads/history/2026.png",
|
|
"imageAlt": "",
|
|
"stats": [],
|
|
"featured": true
|
|
},
|
|
{
|
|
"id": "international-partnerships-expansion",
|
|
"year": "2025",
|
|
"yearRange": "2020 - Present",
|
|
"category": "Global Expansion",
|
|
"categoryLabel": "Global",
|
|
"title": "Expansion of International Partnerships",
|
|
"description": "Established collaborations with academic institutions and industry partners across regions, enabling dual qualifications and cross-border learning opportunities.",
|
|
"image": "/uploads/history/2025.png",
|
|
"imageAlt": "",
|
|
"stats": [],
|
|
"featured": false
|
|
},
|
|
{
|
|
"id": "academic-programmes-expansion",
|
|
"year": "2024",
|
|
"yearRange": "2020 - Present",
|
|
"category": "Academic Programs",
|
|
"categoryLabel": "Academic",
|
|
"title": "Expansion of Academic Programmes",
|
|
"description": "Launched a portfolio of undergraduate and postgraduate programmes designed to meet global market demands and emerging industry needs.",
|
|
"image": "/uploads/history/2024.png",
|
|
"imageAlt": "",
|
|
"stats": [],
|
|
"featured": false
|
|
},
|
|
{
|
|
"id": "ai-enhanced-learning-platform",
|
|
"year": "2024",
|
|
"yearRange": "2020 - Present",
|
|
"category": "Technology & Innovation",
|
|
"categoryLabel": "Technology",
|
|
"title": "Launch of AI-Enhanced Learning Platform",
|
|
"description": "Introduced an adaptive digital learning system that personalises study pathways and enhances student engagement and outcomes.",
|
|
"image": "/uploads/history/ai-enhanced-learning-platform.png",
|
|
"imageAlt": "Abstract artificial intelligence and digital learning visualization",
|
|
"stats": [],
|
|
"featured": false
|
|
},
|
|
{
|
|
"id": "strategic-academic-framework",
|
|
"year": "2023",
|
|
"yearRange": "2020 - Present",
|
|
"category": "Academic Programs",
|
|
"categoryLabel": "Academic",
|
|
"title": "Strategic Academic Framework Introduced",
|
|
"description": "Established a future-focused academic model aligned with international standards, integrating applied learning, digital competencies, and global perspectives.",
|
|
"image": "/uploads/history/2023.png",
|
|
"imageAlt": "",
|
|
"stats": [],
|
|
"featured": false
|
|
}
|
|
]
|
|
}
|
|
} |