Files
cms.techvanguard.vn/data/admissions.json
T
Tống Thành Đạt 7df3a6f6bf feat(cms): refactor page content management and implement detailed editors
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.
2026-04-20 19:43:28 +07:00

156 lines
4.2 KiB
JSON

{
"hero": {
"badge": "Your Path Starts Here",
"title": "Admissions & Transparent Tuition",
"description": "We believe high-quality education should be accessible to everyone. Explore our straightforward admissions process and flexible payment models designed to fit your life.",
"primaryCta": {
"label": "Start Application",
"href": "http://localhost:3001/admin/admissions"
},
"secondaryCta": {
"label": "View Tuition",
"href": "http://localhost:3001/admin/admissions"
},
"image": "/uploads/admissions/hero-students.png",
"imageAlt": "Diverse adult students studying online"
},
"process": {
"id": "admissions-process",
"title": "Admissions Process",
"description": "Our streamlined process gets you from application to enrolled in days, not months. No application fees, no standardized tests.",
"steps": [
{
"number": "01",
"title": "Send Transcripts",
"description": "Request official transcripts from previous institutions for credit evaluation.",
"active": false
},
{
"number": "02",
"title": "Submit Application",
"description": "Fill out our online form in under 15 minutes. Basic personal and educational history required.",
"active": true
},
{
"number": "03",
"title": "Choose Payment Plan",
"description": "Select between our monthly subscription or pay-per-course model.",
"active": false
}
]
},
"eligibility": {
"id": "eligibility",
"title": "Eligibility & Transfer Credits",
"cards": [
{
"title": "Basic Eligibility",
"icon": "fa-check-circle",
"items": [
"High school diploma or equivalent",
"Minimum 2.0 GPA for transfer students",
"English proficiency if applicable"
]
},
{
"title": "Transfer Policy",
"icon": "fa-exchange-alt",
"items": [
"Up to 90 credits accepted for Bachelor's",
"Free unofficial evaluation within 48 hours",
"Credit for prior learning and certifications"
]
}
]
},
"tuition": {
"id": "tuition-breakdown",
"title": "Tuition Breakdown",
"chartTitle": "Savings vs. Traditional University",
"chartDescription": "Estimated total cost for a 4-year degree",
"series": [
{
"label": "Traditional University",
"color": "#0F172A",
"values": [
25000,
50000,
75000,
100000
]
},
{
"label": "LAMS",
"color": "#c49b27",
"values": [
3588,
7176,
10764,
14352
]
}
]
},
"keyDates": {
"id": "key-dates",
"title": "Key Dates & Deadlines",
"columns": [
"Term",
"Application Deadline",
"Classes Start"
],
"rows": [
{
"term": "Fall Term 1",
"applicationDeadline": "August 15, 2026",
"classesStart": "September 1, 2026"
},
{
"term": "Fall Term 2",
"applicationDeadline": "October 15, 2026",
"classesStart": "November 1, 2026"
},
{
"term": "Spring Term 1",
"applicationDeadline": "December 15, 2026",
"classesStart": "January 5, 2027"
}
]
},
"calculator": {
"title": "Affordability Calculator",
"description": "Estimate your monthly investment.",
"modelOptions": [
"Subscription",
"Per Course"
],
"paceLabel": "Target Pace",
"minPaceLabel": "Relaxed",
"maxPaceLabel": "Accelerated",
"resultLabel": "Estimated Monthly Payment",
"monthlyAmount": "$299",
"monthlySuffix": "/mo",
"noteIcon": "fa-bolt",
"note": "Flat rate, unlimited courses",
"cta": {
"label": "Apply Now",
"href": "#apply"
}
},
"scholarships": {
"title": "Scholarships & Aid",
"icon": "fa-award",
"items": [
{
"title": "Working Adult Grant",
"amount": "Up to $1,500",
"description": "For students employed full-time while studying."
},
{
"title": "Military Discount",
"amount": "15% Off",
"description": "Active duty, veterans, and spouses."
}
]
}
}