forked from MinhQuan/PresentCorpo
contact: change route name
This commit is contained in:
@@ -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;
|
||||
|
||||
+7
-7
@@ -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);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<!-- views\components\header\header.html -->
|
||||
<!DOCTYPE html>
|
||||
<!doctype html>
|
||||
<html lang="vi">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
@@ -133,7 +133,7 @@
|
||||
>TIN TỨC</a
|
||||
>
|
||||
<a
|
||||
href="/lien-he"
|
||||
href="/contactMain"
|
||||
class="nav-link"
|
||||
id="contact"
|
||||
title="Liên hệ với Kỳ Long - Đối tác khí đốt tin cậy"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<!-- views\contactPages\contactMain.html -->
|
||||
<!DOCTYPE html>
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
@@ -131,7 +131,7 @@
|
||||
<span class="separator"></span>
|
||||
<a href="/newsMain" class="nav-link" id="news">TIN TỨC</a>
|
||||
<span class="separator"></span>
|
||||
<a href="/lien-he" class="nav-link" id="contact">LIÊN HỆ</a>
|
||||
<a href="/contactMain" class="nav-link" id="contact">LIÊN HỆ</a>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
@@ -163,7 +163,7 @@
|
||||
<a href="/productMain" class="nav-link">SẢN PHẨM</a>
|
||||
<a href="/serviceMain" class="nav-link">DỊCH VỤ</a>
|
||||
<a href="/newsMain" class="nav-link">TIN TỨC</a>
|
||||
<a href="/lien-he" class="nav-link">LIÊN HỆ</a>
|
||||
<a href="/contactMain" class="nav-link">LIÊN HỆ</a>
|
||||
</nav>
|
||||
|
||||
<div class="sidebar-contact">
|
||||
@@ -206,7 +206,7 @@
|
||||
<div class="form-progress-bar"></div>
|
||||
</div>
|
||||
|
||||
<form action="/submit" method="POST" id="contactForm">
|
||||
<form action="/contactSubmit" method="POST" id="contactForm">
|
||||
<div class="form-group">
|
||||
<label for="name" class="required">Họ và tên</label>
|
||||
<input
|
||||
|
||||
@@ -125,7 +125,7 @@
|
||||
<span class="separator"></span>
|
||||
<a href="/newsMain" class="nav-link" id="news">TIN TỨC</a>
|
||||
<span class="separator"></span>
|
||||
<a href="/lien-he" class="nav-link" id="contact">LIÊN HỆ</a>
|
||||
<a href="/contactMain" class="nav-link" id="contact">LIÊN HỆ</a>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
@@ -157,7 +157,7 @@
|
||||
<a href="/productMain" class="nav-link">SẢN PHẨM</a>
|
||||
<a href="/serviceMain" class="nav-link">DỊCH VỤ</a>
|
||||
<a href="/newsMain" class="nav-link">TIN TỨC</a>
|
||||
<a href="/lien-he" class="nav-link">LIÊN HỆ</a>
|
||||
<a href="/contactMain" class="nav-link">LIÊN HỆ</a>
|
||||
</nav>
|
||||
|
||||
<div class="sidebar-contact">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<!-- views\newsPage\newsMain\newsMain.html -->
|
||||
<!DOCTYPE html>
|
||||
<!doctype html>
|
||||
<html lang="vi">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
@@ -131,7 +131,7 @@
|
||||
<span class="separator"></span>
|
||||
<a href="/newsMain" class="nav-link" id="news">TIN TỨC</a>
|
||||
<span class="separator"></span>
|
||||
<a href="/lien-he" class="nav-link" id="contact">LIÊN HỆ</a>
|
||||
<a href="/contactMain" class="nav-link" id="contact">LIÊN HỆ</a>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
@@ -163,7 +163,7 @@
|
||||
<a href="/productMain" class="nav-link">SẢN PHẨM</a>
|
||||
<a href="/serviceMain" class="nav-link">DỊCH VỤ</a>
|
||||
<a href="/newsMain" class="nav-link">TIN TỨC</a>
|
||||
<a href="/lien-he" class="nav-link">LIÊN HỆ</a>
|
||||
<a href="/contactMain" class="nav-link">LIÊN HỆ</a>
|
||||
</nav>
|
||||
|
||||
<div class="sidebar-contact">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<!-- views/productPage/productMain.html -->
|
||||
<!DOCTYPE html>
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
@@ -125,7 +125,7 @@
|
||||
<span class="separator"></span>
|
||||
<a href="/newsMain" class="nav-link" id="news">TIN TỨC</a>
|
||||
<span class="separator"></span>
|
||||
<a href="/lien-he" class="nav-link" id="contact">LIÊN HỆ</a>
|
||||
<a href="/contactMain" class="nav-link" id="contact">LIÊN HỆ</a>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
@@ -157,7 +157,7 @@
|
||||
<a href="/productMain" class="nav-link">SẢN PHẨM</a>
|
||||
<a href="/serviceMain" class="nav-link">DỊCH VỤ</a>
|
||||
<a href="/newsMain" class="nav-link">TIN TỨC</a>
|
||||
<a href="/lien-he" class="nav-link">LIÊN HỆ</a>
|
||||
<a href="/contactMain" class="nav-link">LIÊN HỆ</a>
|
||||
</nav>
|
||||
|
||||
<div class="sidebar-contact">
|
||||
@@ -474,7 +474,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
|
||||
</p>
|
||||
<a href="/lien-he" class="cta-button">LIÊN HỆ NGAY</a>
|
||||
<a href="/contactMain" class="cta-button">LIÊN HỆ NGAY</a>
|
||||
</div>
|
||||
</section>
|
||||
<!-- END CONTACT CTA SECTION -->
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<!-- views/productPages/productSeparateCommerceLNG/productSeparateCommerceLNG.html -->
|
||||
<!DOCTYPE html>
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
@@ -132,7 +132,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
|
||||
</p>
|
||||
<a href="/lien-he" class="cta-button">LIÊN HỆ NGAY</a>
|
||||
<a href="/contactMain" class="cta-button">LIÊN HỆ NGAY</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<!-- views/productPages/productSeparateCommercePNG/productSeparateCommercePNG.html -->
|
||||
<!DOCTYPE html>
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
@@ -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
|
||||
</p>
|
||||
<a href="/lien-he" class="cta-button">LIÊN HỆ NGAY</a>
|
||||
<a href="/contactMain" class="cta-button">LIÊN HỆ NGAY</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
<!-- views/productPages/productSeparateProductionGasMeter/productSeparateProductionGasMeter.html -->
|
||||
<!DOCTYPE html>
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
@@ -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
|
||||
</p>
|
||||
<a href="/lien-he" class="cta-button">LIÊN HỆ NGAY</a>
|
||||
<a href="/contactMain" class="cta-button">LIÊN HỆ NGAY</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<!-- views/productPages/productSeparateProductionPRU/productSeparateProductionPRU.html -->
|
||||
<!DOCTYPE html>
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
@@ -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í
|
||||
</p>
|
||||
<a href="/lien-he" class="cta-button">LIÊN HỆ NGAY</a>
|
||||
<a href="/contactMain" class="cta-button">LIÊN HỆ NGAY</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
<!-- views/productPages/productSeparateProductionPressureRegulatorValve/productSeparateProductionPressureRegulatorValve.html -->
|
||||
<!DOCTYPE html>
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
@@ -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
|
||||
</p>
|
||||
<a href="/lien-he" class="cta-button">LIÊN HỆ NGAY</a>
|
||||
<a href="/contactMain" class="cta-button">LIÊN HỆ NGAY</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
<!-- views/productPages/productSeparateProductionVaporizer/productSeparateProductionVaporizer.html -->
|
||||
<!DOCTYPE html>
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
@@ -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
|
||||
</p>
|
||||
<a href="/lien-he" class="cta-button">LIÊN HỆ NGAY</a>
|
||||
<a href="/contactMain" class="cta-button">LIÊN HỆ NGAY</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<!-- views\servicePages\serviceMain.html -->
|
||||
<!DOCTYPE html>
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
@@ -126,7 +126,7 @@
|
||||
<span class="separator"></span>
|
||||
<a href="/newsMain" class="nav-link" id="news">TIN TỨC</a>
|
||||
<span class="separator"></span>
|
||||
<a href="/lien-he" class="nav-link" id="contact">LIÊN HỆ</a>
|
||||
<a href="/contactMain" class="nav-link" id="contact">LIÊN HỆ</a>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
@@ -158,7 +158,7 @@
|
||||
<a href="/productMain" class="nav-link">SẢN PHẨM</a>
|
||||
<a href="/serviceMain" class="nav-link">DỊCH VỤ</a>
|
||||
<a href="/newsMain" class="nav-link">TIN TỨC</a>
|
||||
<a href="/lien-he" class="nav-link">LIÊN HỆ</a>
|
||||
<a href="/contactMain" class="nav-link">LIÊN HỆ</a>
|
||||
</nav>
|
||||
|
||||
<div class="sidebar-contact">
|
||||
|
||||
Reference in New Issue
Block a user