Commit 7a90c2f3 authored by TokaKaram's avatar TokaKaram

edit endpoint

parent 9529d439
......@@ -8,11 +8,12 @@
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@10/swiper-bundle.min.css" />
<title>THE BASE</title>
<link rel="stylesheet" href="style.css">
<link
<link
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"
rel="stylesheet"
/>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/toastify-js/src/toastify.min.css" media="print" onload="this.media='all'">
<script>
!function(f,b,e,v,n,t,s)
......@@ -522,9 +523,10 @@ comfort — where gaming is pure joy!</p>
</div>
<button class="btn2_type btn-tracking" onclick="
window.open('https://portal.myfatoorah.com/En/KWT/PayInvoice/LinkInvoiceDetails/060615219482625862');
tracking(15);
window.open('https://portal.myfatoorah.com/En/KWT/PayInvoice/LinkInvoiceDetails/060615219482625862');
">
Book your pass
</button>
......@@ -610,9 +612,10 @@ comfort — where gaming is pure joy!</p>
</div>
<button class="btn2_type btn-tracking" onclick="
openNewWindow( 'https://portal.myfatoorah.com/En/KWT/PayInvoice/LinkInvoiceDetails/060615219482625862'
)
tracking(15);
openNewWindow( 'https://portal.myfatoorah.com/En/KWT/PayInvoice/LinkInvoiceDetails/060615219482625862'
)">احجز الان</button>
">احجز الان</button>
</div>
......@@ -631,8 +634,9 @@ comfort — where gaming is pure joy!</p>
<button class="btn2_type_s btn-tracking"
onclick="
openNewWindow('https://portal.myfatoorah.com/En/KWT/PayInvoice/LinkInvoiceDetails/060615219482625963')
tracking(10);
openNewWindow('https://portal.myfatoorah.com/En/KWT/PayInvoice/LinkInvoiceDetails/060615219482625963')">احجز
">احجز
الان</button>
......@@ -656,8 +660,9 @@ comfort — where gaming is pure joy!</p>
<button class="btnn2 btn-tracking"
onclick="
openNewWindow('https://portal.myfatoorah.com/En/KWT/PayInvoice/LinkInvoiceDetails/060615219482626062')
tracking(50);
openNewWindow('https://portal.myfatoorah.com/En/KWT/PayInvoice/LinkInvoiceDetails/060615219482626062')">احجز الان
">احجز الان
</button>
</div>
......@@ -748,14 +753,17 @@ comfort — where gaming is pure joy!</p>
<div class="icons">
<a onclick="
openNewWindow('https://x.com/thebasekuwait')
trackingContact();
openNewWindow('https://x.com/thebasekuwait')"><img loading="lazy" src="./images/twitter.webp" alt=""></a>
"><img loading="lazy" src="./images/twitter.webp" alt=""></a>
<a onclick="
openNewWindow('https://www.instagram.com/kuwaitthebase/')
trackingContact();
openNewWindow('https://www.instagram.com/kuwaitthebase/')"><img loading="lazy" src="./images/instagram.webp" alt=""></a>
"><img loading="lazy" src="./images/instagram.webp" alt=""></a>
<a onclick="
openNewWindow('https://www.facebook.com/profile.php?id=61581965409215')
trackingContact();
openNewWindow('https://www.facebook.com/profile.php?id=61581965409215')"><img loading="lazy" src="./images/facebook-app-symbol.webp" alt=""></a>
"><img loading="lazy" src="./images/facebook-app-symbol.webp" alt=""></a>
......@@ -763,8 +771,9 @@ comfort — where gaming is pure joy!</p>
</div>
<div class="buttonc_parent">
<button onclick="
openWhatsApp()
trackingContact();
openWhatsApp()">Contact us </button>
">Contact us </button>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/swiper@10/swiper-bundle.min.js"></script>
......
......@@ -390,7 +390,7 @@ function tracking(price) {
snaptr("track", "START_CHECKOUT", { event_id: uniqueEventID });
}
fetch("http://localhost:3000/api/track", {
fetch("https://the-base-tracking-api.caprover.al-arcade.com/api/track", {
method: "POST",
headers: {
"Content-Type": "application/json",
......@@ -436,7 +436,7 @@ function trackingContact() {
}
// --- B. Server-Side API (CAPI) ---
fetch("http://localhost:3000/api/track", {
fetch("https://the-base-tracking-api.caprover.al-arcade.com/api/track", {
method: "POST",
headers: {
"Content-Type": "application/json",
......@@ -477,7 +477,7 @@ function trackPageView() {
snaptr("track", "PAGE_VIEW", { event_id: uniqueEventID });
}
fetch("http://localhost:3000/api/track", {
fetch("https://the-base-tracking-api.caprover.al-arcade.com/api/track ", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment