From 621cda72246ef82e90907b5edf732fcf5db8cb5c Mon Sep 17 00:00:00 2001
From: MinhQuan
Date: Wed, 3 Jun 2026 02:05:46 +0700
Subject: [PATCH] contact: change route name
---
routes/contactRoute.js | 2 +-
routes/pageRoute.js | 14 +++++++-------
views/components/header/header.html | 4 ++--
views/contactPages/contactMain.html | 8 ++++----
views/homePages/homeMain.html | 4 ++--
views/newsPages/newsMain/newsMain.html | 6 +++---
views/productPages/productMain/productMain.html | 8 ++++----
.../productSeparateCommerceLNG.html | 4 ++--
.../productSeparateCommercePNG.html | 4 ++--
.../productSeparateProductionGasMeter.html | 4 ++--
.../productSeparateProductionPRU.html | 4 ++--
...ctSeparateProductionPressureRegulatorValve.html | 4 ++--
.../productSeparateProductionVaporizer.html | 4 ++--
views/servicePages/serviceMain.html | 6 +++---
14 files changed, 38 insertions(+), 38 deletions(-)
diff --git a/routes/contactRoute.js b/routes/contactRoute.js
index f00d911..8dcda09 100644
--- a/routes/contactRoute.js
+++ b/routes/contactRoute.js
@@ -4,6 +4,6 @@ const router = express.Router();
const contactController = require("../controllers/contactController");
// Contact form submission route - middleware is now integrated in the controller
-router.post("/submit", contactController.submitContactForm);
+router.post("/contactSubmit", contactController.submitContactForm);
module.exports = router;
diff --git a/routes/pageRoute.js b/routes/pageRoute.js
index 3e90fba..39ce099 100644
--- a/routes/pageRoute.js
+++ b/routes/pageRoute.js
@@ -13,34 +13,34 @@ router.get("/terms-of-service", pageController.renderTermsOfService);
router.get("/", pageController.renderHomePage);
-router.get("/lien-he", pageController.renderContactPage);
+router.get("/contactMain", pageController.renderContactPage);
router.get("/aboutMain", pageController.renderAboutPage);
router.get("/productMain", pageController.renderProductPage);
router.get(
"/productSeparateProductionGasMeter",
- pageController.renderProductSeparateProductionGasMeter
+ pageController.renderProductSeparateProductionGasMeter,
);
router.get(
"/productSeparateProductionPressureRegulatorValve",
- pageController.renderProductSeparateProductionPressureRegulatorValve
+ pageController.renderProductSeparateProductionPressureRegulatorValve,
);
router.get(
"/productSeparateProductionPRU",
- pageController.renderProductSeparateProductionPRU
+ pageController.renderProductSeparateProductionPRU,
);
router.get(
"/productSeparateProductionVaporizer",
- pageController.renderProductSeparateProductionVaporizer
+ pageController.renderProductSeparateProductionVaporizer,
);
router.get(
"/productSeparateCommerceLNG",
- pageController.renderProductSeparateCommerceLNG
+ pageController.renderProductSeparateCommerceLNG,
);
router.get(
"/productSeparateCommercePNG",
- pageController.renderProductSeparateCommercePNG
+ pageController.renderProductSeparateCommercePNG,
);
router.get("/serviceMain", pageController.renderServicePages);
diff --git a/views/components/header/header.html b/views/components/header/header.html
index 7ad2597..f76463d 100644
--- a/views/components/header/header.html
+++ b/views/components/header/header.html
@@ -1,5 +1,5 @@
-
+
@@ -133,7 +133,7 @@
>TIN TỨC
-
+
@@ -131,7 +131,7 @@
TIN TỨC
- LIÊN HỆ
+ LIÊN HỆ
@@ -163,7 +163,7 @@
SẢN PHẨM
DỊCH VỤ
TIN TỨC
- LIÊN HỆ
+ LIÊN HỆ
-
- LIÊN HỆ NGAY
+ LIÊN HỆ NGAY
diff --git a/views/productPages/productSeparateCommercePNG/productSeparateCommercePNG.html b/views/productPages/productSeparateCommercePNG/productSeparateCommercePNG.html
index 3c8b304..264868b 100644
--- a/views/productPages/productSeparateCommercePNG/productSeparateCommercePNG.html
+++ b/views/productPages/productSeparateCommercePNG/productSeparateCommercePNG.html
@@ -1,5 +1,5 @@
-
+
@@ -130,7 +130,7 @@
Đội ngũ chuyên gia của chúng tôi sẵn sàng hỗ trợ bạn lựa chọn giải
pháp phù hợp nhất
- LIÊN HỆ NGAY
+ LIÊN HỆ NGAY
diff --git a/views/productPages/productSeparateProductionGasMeter/productSeparateProductionGasMeter.html b/views/productPages/productSeparateProductionGasMeter/productSeparateProductionGasMeter.html
index 5d36a40..fbde548 100644
--- a/views/productPages/productSeparateProductionGasMeter/productSeparateProductionGasMeter.html
+++ b/views/productPages/productSeparateProductionGasMeter/productSeparateProductionGasMeter.html
@@ -1,5 +1,5 @@
-
+
@@ -127,7 +127,7 @@
Đội ngũ chuyên gia của chúng tôi sẵn sàng hỗ trợ bạn lựa chọn giải
pháp đo lường khí phù hợp nhất cho nhu cầu của bạn
- LIÊN HỆ NGAY
+ LIÊN HỆ NGAY
diff --git a/views/productPages/productSeparateProductionPRU/productSeparateProductionPRU.html b/views/productPages/productSeparateProductionPRU/productSeparateProductionPRU.html
index 9dff1b8..d209c07 100644
--- a/views/productPages/productSeparateProductionPRU/productSeparateProductionPRU.html
+++ b/views/productPages/productSeparateProductionPRU/productSeparateProductionPRU.html
@@ -1,5 +1,5 @@
-
+
@@ -130,7 +130,7 @@
Đội ngũ chuyên gia của chúng tôi sẵn sàng hỗ trợ bạn lựa chọn giải
pháp phù hợp nhất cho nhu cầu điều áp khí
- LIÊN HỆ NGAY
+ LIÊN HỆ NGAY
diff --git a/views/productPages/productSeparateProductionPressureRegulatorValve/productSeparateProductionPressureRegulatorValve.html b/views/productPages/productSeparateProductionPressureRegulatorValve/productSeparateProductionPressureRegulatorValve.html
index 4528e24..76aeb32 100644
--- a/views/productPages/productSeparateProductionPressureRegulatorValve/productSeparateProductionPressureRegulatorValve.html
+++ b/views/productPages/productSeparateProductionPressureRegulatorValve/productSeparateProductionPressureRegulatorValve.html
@@ -1,5 +1,5 @@
-
+
@@ -127,7 +127,7 @@
Đội ngũ chuyên gia của chúng tôi sẵn sàng hỗ trợ bạn lựa chọn giải
pháp phù hợp nhất cho hệ thống khí công nghiệp của bạn
- LIÊN HỆ NGAY
+ LIÊN HỆ NGAY
diff --git a/views/productPages/productSeparateProductionVaporizer/productSeparateProductionVaporizer.html b/views/productPages/productSeparateProductionVaporizer/productSeparateProductionVaporizer.html
index a59dc56..a1140d1 100644
--- a/views/productPages/productSeparateProductionVaporizer/productSeparateProductionVaporizer.html
+++ b/views/productPages/productSeparateProductionVaporizer/productSeparateProductionVaporizer.html
@@ -1,5 +1,5 @@
-
+
@@ -127,7 +127,7 @@
Đội ngũ chuyên gia của chúng tôi sẵn sàng hỗ trợ bạn lựa chọn giải
pháp phù hợp nhất cho nhu cầu hóa hơi khí công nghiệp
- LIÊN HỆ NGAY
+ LIÊN HỆ NGAY
diff --git a/views/servicePages/serviceMain.html b/views/servicePages/serviceMain.html
index 66620ef..4ed5c98 100644
--- a/views/servicePages/serviceMain.html
+++ b/views/servicePages/serviceMain.html
@@ -1,5 +1,5 @@
-
+
@@ -126,7 +126,7 @@
TIN TỨC
- LIÊN HỆ
+ LIÊN HỆ
@@ -158,7 +158,7 @@
SẢN PHẨM
DỊCH VỤ
TIN TỨC
- LIÊN HỆ
+ LIÊN HỆ