Merge branch 'main' of https://gits.techvanguard.vn/UKSOURCE/cms.hailearning.edu.vn into hoanganh-03022026-appointment-contact-pricing

This commit is contained in:
LNHA
2026-02-05 16:18:58 +07:00
11 changed files with 2677 additions and 1703 deletions

View File

@@ -58,8 +58,9 @@ router.get("/api/header-menu", headerMenuController.api);
router.get("/api/social-links", socialLinkController.index);
router.get("/api/social-links/:platform", socialLinkController.show);
// Footer API route
router.get("/api/footer", footerController.api);
// Footer API routes
router.get("/api/footer", footerController.getFooter);
router.put("/api/admin/footer", footerController.updateFooter);
// Contact API route
router.get("/api/contact", contactController.api);
@@ -182,6 +183,13 @@ router.get("/api/testimonials", testimonialController.api);
// Video Gallery API
const videoGalleryController = require("../controllers/videoGalleryController");
router.get("/api/video-gallery", videoGalleryController.api);
// Test route for footer
router.get("/test-footer", (req, res) => {
res.render("test-footer", {
title: "Footer Test",
layout: "layouts/main",
});
});
module.exports = router;