Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
base Project
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TokaKaram
base Project
Commits
7a90c2f3
Commit
7a90c2f3
authored
Dec 09, 2025
by
TokaKaram
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edit endpoint
parent
9529d439
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
14 deletions
+23
-14
index.html
index.html
+20
-11
index.js
index.js
+3
-3
No files found.
index.html
View file @
7a90c2f3
...
@@ -8,11 +8,12 @@
...
@@ -8,11 +8,12 @@
<link
rel=
"stylesheet"
href=
"https://cdn.jsdelivr.net/npm/swiper@10/swiper-bundle.min.css"
/>
<link
rel=
"stylesheet"
href=
"https://cdn.jsdelivr.net/npm/swiper@10/swiper-bundle.min.css"
/>
<title>
THE BASE
</title>
<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"
href=
"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"
rel=
"stylesheet"
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'"
>
<link
rel=
"stylesheet"
href=
"https://cdn.jsdelivr.net/npm/toastify-js/src/toastify.min.css"
media=
"print"
onload=
"this.media='all'"
>
<script>
<script>
!
function
(
f
,
b
,
e
,
v
,
n
,
t
,
s
)
!
function
(
f
,
b
,
e
,
v
,
n
,
t
,
s
)
...
@@ -522,9 +523,10 @@ comfort — where gaming is pure joy!</p>
...
@@ -522,9 +523,10 @@ comfort — where gaming is pure joy!</p>
</div>
</div>
<button
class=
"btn2_type btn-tracking"
onclick=
"
<button
class=
"btn2_type btn-tracking"
onclick=
"
window.open('https://portal.myfatoorah.com/En/KWT/PayInvoice/LinkInvoiceDetails/060615219482625862');
tracking(15);
tracking(15);
window.open('https://portal.myfatoorah.com/En/KWT/PayInvoice/LinkInvoiceDetails/060615219482625862');
"
>
"
>
Book your pass
Book your pass
</button>
</button>
...
@@ -610,9 +612,10 @@ comfort — where gaming is pure joy!</p>
...
@@ -610,9 +612,10 @@ comfort — where gaming is pure joy!</p>
</div>
</div>
<button
class=
"btn2_type btn-tracking"
onclick=
"
<button
class=
"btn2_type btn-tracking"
onclick=
"
tracking(15);
openNewWindow( 'https://portal.myfatoorah.com/En/KWT/PayInvoice/LinkInvoiceDetails/060615219482625862'
openNewWindow( 'https://portal.myfatoorah.com/En/KWT/PayInvoice/LinkInvoiceDetails/060615219482625862'
)"
>
احجز الان
</button>
)
tracking(15);
"
>
احجز الان
</button>
</div>
</div>
...
@@ -631,8 +634,9 @@ comfort — where gaming is pure joy!</p>
...
@@ -631,8 +634,9 @@ comfort — where gaming is pure joy!</p>
<button
class=
"btn2_type_s btn-tracking"
<button
class=
"btn2_type_s btn-tracking"
onclick=
"
onclick=
"
openNewWindow('https://portal.myfatoorah.com/En/KWT/PayInvoice/LinkInvoiceDetails/060615219482625963')
tracking(10);
tracking(10);
openNewWindow('https://portal.myfatoorah.com/En/KWT/PayInvoice/LinkInvoiceDetails/060615219482625963')
"
>
احجز
"
>
احجز
الان
</button>
الان
</button>
...
@@ -656,8 +660,9 @@ comfort — where gaming is pure joy!</p>
...
@@ -656,8 +660,9 @@ comfort — where gaming is pure joy!</p>
<button
class=
"btnn2 btn-tracking"
<button
class=
"btnn2 btn-tracking"
onclick=
"
onclick=
"
openNewWindow('https://portal.myfatoorah.com/En/KWT/PayInvoice/LinkInvoiceDetails/060615219482626062')
tracking(50);
tracking(50);
openNewWindow('https://portal.myfatoorah.com/En/KWT/PayInvoice/LinkInvoiceDetails/060615219482626062')
"
>
احجز الان
"
>
احجز الان
</button>
</button>
</div>
</div>
...
@@ -748,14 +753,17 @@ comfort — where gaming is pure joy!</p>
...
@@ -748,14 +753,17 @@ comfort — where gaming is pure joy!</p>
<div
class=
"icons"
>
<div
class=
"icons"
>
<a
onclick=
"
<a
onclick=
"
openNewWindow('https://x.com/thebasekuwait')
trackingContact();
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=
"
<a
onclick=
"
openNewWindow('https://www.instagram.com/kuwaitthebase/')
trackingContact();
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=
"
<a
onclick=
"
openNewWindow('https://www.facebook.com/profile.php?id=61581965409215')
trackingContact();
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>
...
@@ -763,8 +771,9 @@ comfort — where gaming is pure joy!</p>
</div>
</div>
<div
class=
"buttonc_parent"
>
<div
class=
"buttonc_parent"
>
<button
onclick=
"
<button
onclick=
"
openWhatsApp()
trackingContact();
trackingContact();
openWhatsApp()
"
>
Contact us
</button>
"
>
Contact us
</button>
</div>
</div>
</div>
</div>
<script
src=
"https://cdn.jsdelivr.net/npm/swiper@10/swiper-bundle.min.js"
></script>
<script
src=
"https://cdn.jsdelivr.net/npm/swiper@10/swiper-bundle.min.js"
></script>
...
...
index.js
View file @
7a90c2f3
...
@@ -390,7 +390,7 @@ function tracking(price) {
...
@@ -390,7 +390,7 @@ function tracking(price) {
snaptr
(
"track"
,
"START_CHECKOUT"
,
{
event_id
:
uniqueEventID
});
snaptr
(
"track"
,
"START_CHECKOUT"
,
{
event_id
:
uniqueEventID
});
}
}
fetch
(
"http
://localhost:3000
/api/track"
,
{
fetch
(
"http
s://the-base-tracking-api.caprover.al-arcade.com
/api/track"
,
{
method
:
"POST"
,
method
:
"POST"
,
headers
:
{
headers
:
{
"Content-Type"
:
"application/json"
,
"Content-Type"
:
"application/json"
,
...
@@ -436,7 +436,7 @@ function trackingContact() {
...
@@ -436,7 +436,7 @@ function trackingContact() {
}
}
// --- B. Server-Side API (CAPI) ---
// --- B. Server-Side API (CAPI) ---
fetch
(
"http
://localhost:3000
/api/track"
,
{
fetch
(
"http
s://the-base-tracking-api.caprover.al-arcade.com
/api/track"
,
{
method
:
"POST"
,
method
:
"POST"
,
headers
:
{
headers
:
{
"Content-Type"
:
"application/json"
,
"Content-Type"
:
"application/json"
,
...
@@ -477,7 +477,7 @@ function trackPageView() {
...
@@ -477,7 +477,7 @@ function trackPageView() {
snaptr
(
"track"
,
"PAGE_VIEW"
,
{
event_id
:
uniqueEventID
});
snaptr
(
"track"
,
"PAGE_VIEW"
,
{
event_id
:
uniqueEventID
});
}
}
fetch
(
"http
://localhost:3000/api/track
"
,
{
fetch
(
"http
s://the-base-tracking-api.caprover.al-arcade.com/api/track
"
,
{
method
:
"POST"
,
method
:
"POST"
,
headers
:
{
"Content-Type"
:
"application/json"
},
headers
:
{
"Content-Type"
:
"application/json"
},
body
:
JSON
.
stringify
({
body
:
JSON
.
stringify
({
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment