update data footer

This commit is contained in:
Admin 2026-05-08 16:28:45 +07:00
parent 4c7542bd7f
commit 02ac52a6c2
16 changed files with 27 additions and 9 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -2,13 +2,15 @@ window.PROLOGY_CONFIG = {
API_URL: "https://prologyms.nswteam.net/chat-plugin/api/support",
LOGO_SRC: "assets/Prology_logo.png",
// ── Store picker (modal) ──
STORE_AU_URL: "https://prology.net/au",
STORE_US_URL: "https://prology.net/us",
// ── Footer ──
FOOTER_DATA_URL: "assets/data-footer.json",
FOOTER_BASE_URL: "http://localhost:8080/",
FOOTER_STATIC_URL:
"http://localhost:8080/static/version1778227322/frontend/Netstore/default/en_US/",
FOOTER_LOGO_URL:
"http://localhost:8080/media/logo/stores/1/Prology-2-e1665964900953_6_.png",
FOOTER_BASE_URL: "https://prology.net/au/",
FOOTER_STATIC_URL: "assets/",
FOOTER_LOGO_URL: "assets/Prology_logo.png",
FOOTER_CATEGORIES: [
{ label: "Compute", url: "compute.html" },
{ label: "Storage", url: "storage.html" },

View File

@ -476,7 +476,6 @@
window.openEnquireModal = () =>
document.getElementById("wc-enquire-modal").open();
// goToSellStep2: pass email from capsule input into sell modal
// ── Store picker modal ──
window.openStoreModal = function () {
const overlay = document.getElementById("store-modal-overlay");
@ -495,6 +494,23 @@
if (e.key === "Escape") closeStoreModal();
});
// Wire store picker links from config
const cfg = window.PROLOGY_CONFIG || {};
document.querySelectorAll('[data-store="au"]').forEach((el) => {
if (cfg.STORE_AU_URL) el.setAttribute("href", cfg.STORE_AU_URL);
});
document.querySelectorAll('[data-store="us"]').forEach((el) => {
if (cfg.STORE_US_URL) el.setAttribute("href", cfg.STORE_US_URL);
});
// Intercept any /shop link → open store picker instead
document.addEventListener("click", function (e) {
const a = e.target.closest('a[href="/shop"]');
if (!a) return;
e.preventDefault();
window.openStoreModal();
});
window.goToSellStep2 = function () {
const emailInput = document.getElementById("sell-email-init");
const email = emailInput ? emailInput.value : "";

View File

@ -767,7 +767,7 @@
<button class="btn-primary" onclick="openQuoteModal()">
<span>Request a Quote</span>
</button>
<button class="btn-secondary" onclick="location.href = '/shop'">
<button class="btn-secondary" onclick="openStoreModal()">
<span>Shop Now</span>
</button>
</div>
@ -858,7 +858,7 @@
Procure authentic Cisco, HP &amp; Toshiba equipment. Delivery
worldwide.
</p>
<button class="btn-primary" onclick="location.href = '/shop'">
<button class="btn-primary" onclick="openStoreModal()">
<span>View Products</span>
</button>
</div>
@ -918,7 +918,7 @@
</p>
<div class="store-options">
<!-- AU Store -->
<a href="/shop" class="store-option store-option--active">
<a data-store="au" class="store-option store-option--active">
<span class="store-flag">
<!-- Australian Flag -->
<svg