feat(cms): add management for partnerships, history, accreditation, admissions, and policies pages

Implement a singleton page content system to manage static informational pages. This includes:
- New controllers, models, and data files for Partnerships, History, Accreditation, Admissions, and Policies.
- Admin routes and views for updating page content.
- Public API endpoints for fetching page data.
- Migration scripts for initializing page data.
- Updated admin navigation layout to include a dropdown for "About" sections.
- Audit action constants for tracking updates to these pages.
This commit is contained in:
Tống Thành Đạt
2026-04-20 14:08:38 +07:00
parent fab72e86a6
commit 8b6bf5fe6e
48 changed files with 2357 additions and 4 deletions
+178
View File
@@ -0,0 +1,178 @@
{
"hero": {
"badge": "Policies",
"icon": "fa-scale-balanced",
"titlePrefix": "Our Commitment to",
"titleHighlight": "Transparency",
"description": "Review our policies, terms of service, and commitments to privacy and accessibility. We believe in clear, straightforward communication with our academic community.",
"lastUpdated": "Last updated: September 15, 2025"
},
"sidebar": {
"heading": "Policies",
"helperText": "Need clarification on a policy?",
"contactLabel": "Contact Policy Team",
"contactHref": "/contact"
},
"policies": [
{
"id": "privacy",
"navLabel": "Privacy Policy",
"title": "Privacy Policy",
"effectiveDate": "Effective Date: September 15, 2025",
"intro": "At LAMS, we are committed to protecting your privacy and ensuring the security of your personal information. This Privacy Policy outlines how we collect, use, and safeguard the data of our students, applicants, and website visitors.",
"sections": [
{
"type": "list",
"heading": "1. Information We Collect",
"intro": "We collect information that you provide directly to us when you apply for admission, enroll in courses, request information, or contact our support teams. This may include:",
"items": [
"Personal identification information such as name, address, email address, phone number, date of birth, and government-issued ID numbers where required.",
"Academic records such as transcripts, previous educational history, standardized test scores, and current academic performance data.",
"Financial information such as payment details, financial aid applications, and billing history."
]
},
{
"type": "list",
"heading": "2. How We Use Your Information",
"intro": "Your information is primarily used to provide educational services and manage your student journey. Specific uses include:",
"items": [
"Processing admissions applications and enrollment.",
"Delivering course materials, grades, and academic advising.",
"Processing tuition payments and administering financial aid.",
"Communicating important university updates and policy changes."
]
},
{
"type": "text",
"heading": "3. Data Sharing and Third Parties",
"paragraphs": [
{
"text": "We do not sell your personal information. We may share your data with trusted third-party service providers who assist us in operating our university, including learning management systems and payment processors. These partners are bound by strict confidentiality agreements. For more details, refer to our Vendor Data Processing Addendum.",
"links": [
{
"label": "Vendor Data Processing Addendum",
"href": "#"
}
]
},
{
"text": "If you have questions about this policy, please contact our Data Protection Officer at privacy@LAMS.edu.",
"links": [
{
"label": "privacy@LAMS.edu",
"href": "mailto:privacy@LAMS.edu"
}
]
}
]
}
]
},
{
"id": "terms",
"navLabel": "Terms of Use",
"title": "Terms of Use",
"effectiveDate": "Effective Date: January 1, 2025",
"intro": "Welcome to LAMS. By accessing our website, student portal, or utilizing our educational services, you agree to be bound by these Terms of Use and our Privacy Policy.",
"sections": [
{
"type": "text",
"heading": "1. Academic Integrity",
"paragraphs": [
{
"text": "As a student of LAMS, you are expected to uphold the highest standards of academic honesty. Plagiarism, cheating, and the unauthorized sharing of course materials are strictly prohibited and may result in disciplinary action."
}
]
},
{
"type": "text",
"heading": "2. Account Security",
"paragraphs": [
{
"text": "You are responsible for maintaining the confidentiality of your student portal credentials. You must immediately notify the IT Helpdesk of any unauthorized use of your account."
}
]
},
{
"type": "cards",
"cards": [
{
"icon": "fa-book-open",
"title": "Course Materials",
"description": "All course content provided via the learning management system is the intellectual property of LAMS or its licensors. It is for personal educational use only."
},
{
"icon": "fa-credit-card",
"title": "Subscription Terms",
"description": "Monthly subscriptions automatically renew unless canceled prior to the billing cycle. See the Financial Policies for refund criteria.",
"link": {
"label": "Financial Policies",
"href": "#"
}
}
]
}
]
},
{
"id": "accessibility",
"navLabel": "Accessibility Statement",
"title": "Accessibility Statement",
"effectiveDate": "Effective Date: September 15, 2025",
"intro": "LAMS is committed to providing digital learning experiences that are accessible to all students, applicants, faculty, and visitors.",
"sections": [
{
"type": "list",
"heading": "1. Our Accessibility Commitments",
"items": [
"We design learning materials and digital services with accessibility in mind.",
"We review core student journeys for keyboard access, screen reader support, and readable contrast.",
"We provide reasonable accommodations through our student support and advising teams."
]
},
{
"type": "text",
"heading": "2. Requesting Support",
"paragraphs": [
{
"text": "If you encounter an accessibility barrier, contact our support team so we can review the issue and provide an appropriate path forward.",
"links": [
{
"label": "contact our support team",
"href": "/contact"
}
]
}
]
}
]
},
{
"id": "cookies",
"navLabel": "Cookie Preferences",
"title": "Cookie Preferences",
"effectiveDate": "Effective Date: September 15, 2025",
"intro": "We use cookies and similar technologies to operate our website, understand usage patterns, and improve the student experience.",
"sections": [
{
"type": "list",
"heading": "1. Cookie Categories",
"items": [
"Essential cookies keep core services such as authentication and security running.",
"Analytics cookies help us understand aggregate site usage and improve content.",
"Preference cookies remember non-sensitive choices such as language and display settings."
]
},
{
"type": "text",
"heading": "2. Managing Preferences",
"paragraphs": [
{
"text": "You can manage cookies through your browser settings. Some essential cookies cannot be disabled because they are required for secure access to student services."
}
]
}
]
}
]
}