Commit 0f46269e authored by TokaKaram's avatar TokaKaram

news translation

parent 5c6c25ae
...@@ -4,7 +4,7 @@ RUN rm /etc/nginx/conf.d/default.conf ...@@ -4,7 +4,7 @@ RUN rm /etc/nginx/conf.d/default.conf
COPY nginx.conf /etc/nginx/nginx.conf COPY nginx.conf /etc/nginx/nginx.conf
RUN echo "Last Build: 2025-12-24_v2.5" RUN echo "Last Build: 2025-12-24_v2.6"
COPY . /usr/share/nginx/html/ COPY . /usr/share/nginx/html/
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
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?v=2.5"> <link rel="stylesheet" href="style.css?v=2.6">
<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>
...@@ -732,25 +732,25 @@ comfort — where gaming is pure joy!</p> ...@@ -732,25 +732,25 @@ comfort — where gaming is pure joy!</p>
<div class="swiper-button-next"></div> <div class="swiper-button-next"></div>
</div> </div>
</div> </div>
<!-- News letter -->
<div class="letters"> <div class="letters">
<h1 id="newsletter">News letter</h1> <h1 id="newsletter">النشرة الإخبارية</h1>
<div> <div>
<div class="image"> <div class="image">
<img src="./images/logo.webp" alt="Logo" loading="lazy"> <img src="./images/logo.webp" alt="Logo" loading="lazy">
</div> </div>
<div class="info"> <div class="info">
<p id="newsletter_text">Receive the latest news from THE BASE - gaming festival</p> <p id="newsletter_text">استقبل أحدث الأخبار من <span class="logo_text">THE BASE</span> – مهرجان الألعاب</p>
<form onsubmit="sendEmail(event)" method="post"> <form onsubmit="sendEmail(event)" method="post" id="track_form">
<div> <div>
<label for="email">Email:</label> <label for="email" id="email_label">الايميل:</label>
<input type="text" id="email" name="email" /> <input type="text" id="email" name="email" />
</div> </div>
<div> <div>
<label for="phone">Phone:</label> <label for="phone" id="phone_label"> الهاتف:</label>
<input type="text" id="phone" name="phone" /> <input type="text" id="phone" name="phone" />
</div> </div>
<button type="submit" >Subscribe</button> <button type="submit" id="sub_button">اشترك معنا</button>
</form> </form>
</div> </div>
...@@ -777,11 +777,11 @@ comfort — where gaming is pure joy!</p> ...@@ -777,11 +777,11 @@ comfort — where gaming is pure joy!</p>
</div> </div>
<div class="buttonc_parent"> <div class="buttonc_parent" >
<button onclick=" <button id="cont_button" onclick="
openWhatsApp() openWhatsApp()
trackingContact(); trackingContact();
">Contact us </button> ">تواصل معنا </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>
...@@ -798,7 +798,7 @@ comfort — where gaming is pure joy!</p> ...@@ -798,7 +798,7 @@ comfort — where gaming is pure joy!</p>
</script> </script>
<script src="https://cdn.jsdelivr.net/npm/toastify-js"></script> <script src="https://cdn.jsdelivr.net/npm/toastify-js"></script>
<script src="index.js?v=2.3"></script> <script src="index.js?v=2.4"></script>
</body> </body>
......
...@@ -90,6 +90,13 @@ let user_email = document.getElementById("email"); ...@@ -90,6 +90,13 @@ let user_email = document.getElementById("email");
let user_phone = document.getElementById("phone"); let user_phone = document.getElementById("phone");
let book_now1 = document.getElementById("book_now1"); let book_now1 = document.getElementById("book_now1");
let explore_buttons = document.querySelectorAll(".explore_button"); let explore_buttons = document.querySelectorAll(".explore_button");
let newsletter_text = document.getElementById("newsletter_text");
let newsletter = document.getElementById("newsletter");
let cont_button = document.getElementById("cont_button");
let sub_button = document.getElementById("sub_button");
let email_label = document.getElementById("email_label");
let phone_label = document.getElementById("phone_label");
let track_form = document.getElementById("track_form");
function changeLanguage(lang) { function changeLanguage(lang) {
// console.log("function") // console.log("function")
...@@ -123,11 +130,32 @@ function changeLanguage(lang) { ...@@ -123,11 +130,32 @@ function changeLanguage(lang) {
esports_title.innerHTML = " بطولات الرياضات الالكترونية"; esports_title.innerHTML = " بطولات الرياضات الالكترونية";
e_sport_btn.innerHTML = "احجز الان"; e_sport_btn.innerHTML = "احجز الان";
ticketing_btn1.innerHTML = " التذاكر"; ticketing_btn1.innerHTML = " التذاكر";
newsletter_text.innerHTML = `
<p id="newsletter_text">
استقبل أحدث الأخبار من <span class="logo_text">THE BASE</span> – مهرجان
الألعاب
</p>
`;
newsletter.innerHTML = "النشرة الإخبارية";
cont_button.innerHTML = "تواصل معنا";
sub_button.innerHTML = "اشترك معنا";
email_label.innerHTML = ":الايميل ";
phone_label.innerHTML = ":الهاتف";
document.querySelector(".en_lang").classList.add("colored"); document.querySelector(".en_lang").classList.add("colored");
document.querySelector(".en_lang1").classList.add("colored"); document.querySelector(".en_lang1").classList.add("colored");
document.querySelector(".ar_lang").classList.remove("colored"); document.querySelector(".ar_lang").classList.remove("colored");
document.querySelector(".ar_lang1").classList.remove("colored"); document.querySelector(".ar_lang1").classList.remove("colored");
newsletter_text.classList.remove("ltr_text");
newsletter_text.classList.remove("En_font_simple");
newsletter.classList.remove("ltr_text");
track_form.classList.remove("ltr_text");
newsletter.classList.remove("En_font");
cont_button.classList.remove("En_font");
sub_button.classList.remove("En_font");
email_label.classList.remove("En_font");
phone_label.classList.remove("En_font");
explore_buttons.forEach((button) => { explore_buttons.forEach((button) => {
button.innerHTML = "سجل"; button.innerHTML = "سجل";
button.classList.remove("En_font"); button.classList.remove("En_font");
...@@ -161,11 +189,27 @@ function changeLanguage(lang) { ...@@ -161,11 +189,27 @@ function changeLanguage(lang) {
playable_games_title.innerHTML = " Playable games"; playable_games_title.innerHTML = " Playable games";
esports_title.innerHTML = "E-Sports tournaments"; esports_title.innerHTML = "E-Sports tournaments";
e_sport_btn.innerHTML = "Book now"; e_sport_btn.innerHTML = "Book now";
sub_button.innerHTML = "Subscribe";
cont_button.innerHTML = "Contact us";
newsletter_text.innerHTML =
"Receive the latest news from THE BASE - gaming festival";
newsletter.innerHTML = "News letter";
email_label.innerHTML = "Email";
phone_label.innerHTML = "Phone";
document.querySelector(".en_lang").classList.remove("colored"); document.querySelector(".en_lang").classList.remove("colored");
document.querySelector(".en_lang1").classList.remove("colored"); document.querySelector(".en_lang1").classList.remove("colored");
document.querySelector(".ar_lang").classList.add("colored"); document.querySelector(".ar_lang").classList.add("colored");
document.querySelector(".ar_lang1").classList.add("colored"); document.querySelector(".ar_lang1").classList.add("colored");
newsletter_text.classList.add("ltr_text");
newsletter_text.classList.add("En_font_simple");
newsletter.classList.add("ltr_text");
track_form.classList.add("ltr_text");
newsletter.classList.add("En_font");
cont_button.classList.add("En_font");
sub_button.classList.add("En_font");
email_label.classList.add("En_font");
phone_label.classList.add("En_font");
explore_buttons.forEach((button) => { explore_buttons.forEach((button) => {
button.innerHTML = "Register"; button.innerHTML = "Register";
button.classList.add("En_font"); button.classList.add("En_font");
......
...@@ -520,7 +520,7 @@ header .right_side a:nth-child(4) { ...@@ -520,7 +520,7 @@ header .right_side a:nth-child(4) {
} }
.letters h1 { .letters h1 {
text-align: center; text-align: center;
font-family: var(--sora_extrabold); font-family: var(--font_noor_bold);
font-weight: 700; font-weight: 700;
color: var(--title_color); color: var(--title_color);
margin-bottom: 50px; margin-bottom: 50px;
...@@ -561,8 +561,14 @@ header .right_side a:nth-child(4) { ...@@ -561,8 +561,14 @@ header .right_side a:nth-child(4) {
font-size: 50px; font-size: 50px;
width: 55%; width: 55%;
line-height: 4rem; line-height: 4rem;
font-family: var(--sora_font); font-family: var(--font_noor_light);
margin-bottom: 50px; margin-bottom: 50px;
direction: rtl;
display: inherit;
}
.letters div p:first-child .logo_text {
font-family: var(--sora_extrabold);
display: inline;
} }
.letters div p span:nth-child(2) { .letters div p span:nth-child(2) {
width: 130px; width: 130px;
...@@ -607,7 +613,7 @@ header .right_side a:nth-child(4) { ...@@ -607,7 +613,7 @@ header .right_side a:nth-child(4) {
margin-top: 40px; margin-top: 40px;
border-radius: 15px; border-radius: 15px;
font-size: 18px; font-size: 18px;
font-family: var(--sora_extrabold); font-family: var(--font_noor_bold);
text-transform: uppercase; text-transform: uppercase;
cursor: pointer; cursor: pointer;
width: fit-content; width: fit-content;
...@@ -730,12 +736,10 @@ header .right_side a:nth-child(4) { ...@@ -730,12 +736,10 @@ header .right_side a:nth-child(4) {
width: 50%; width: 50%;
margin-left: 29%; margin-left: 29%;
} }
.e_sportt .warzone_button .e_sportt .warzone_button {
{
margin-left: 26%; margin-left: 26%;
} }
.e_sportt .valo_button .e_sportt .valo_button {
{
margin-left: 23%; margin-left: 23%;
} }
/* .e_sportt .bellinghamm_img, /* .e_sportt .bellinghamm_img,
...@@ -1214,7 +1218,7 @@ header .right_side a:nth-child(4) { ...@@ -1214,7 +1218,7 @@ header .right_side a:nth-child(4) {
font-size: 45px; font-size: 45px;
} }
.letters > div div:nth-child(2) { .letters > div div:nth-child(2) {
margin-right: 10%; margin-right: 0%;
} }
.oragnize div { .oragnize div {
grid-template-columns: 30% 30%; grid-template-columns: 30% 30%;
...@@ -1250,8 +1254,8 @@ header .right_side a:nth-child(4) { ...@@ -1250,8 +1254,8 @@ header .right_side a:nth-child(4) {
justify-content: center; justify-content: center;
align-items: center; align-items: center;
flex-direction: column; flex-direction: column;
width: 80%; width: 100%;
margin-left: 15%; margin-left: 0%;
} }
header .left_side .date, header .left_side .date,
header .left_side .place { header .left_side .place {
...@@ -1261,7 +1265,7 @@ header .right_side a:nth-child(4) { ...@@ -1261,7 +1265,7 @@ header .right_side a:nth-child(4) {
width: 60%; width: 60%;
} }
.letters .image { .letters .image {
justify-content: start; justify-content: center;
} }
.e_sport > div div .abs_img { .e_sport > div div .abs_img {
top: 93px; top: 93px;
...@@ -1309,6 +1313,10 @@ header .right_side a:nth-child(4) { ...@@ -1309,6 +1313,10 @@ header .right_side a:nth-child(4) {
.oragnize_slider { .oragnize_slider {
display: block; display: block;
} }
.oragnize_slider .swiper img {
width: 60%;
margin-left: 20%;
}
.letters > div { .letters > div {
grid-template-columns: 80%; grid-template-columns: 80%;
row-gap: 30px; row-gap: 30px;
...@@ -1359,8 +1367,8 @@ header .right_side a:nth-child(4) { ...@@ -1359,8 +1367,8 @@ header .right_side a:nth-child(4) {
} }
@media (max-width: 500px) { @media (max-width: 500px) {
.e_sportt > div:nth-child(2) { .e_sportt > div:nth-child(2) {
width: 98%; width: 96%;
margin: 0; margin: 1%;
} }
.play_games h1 { .play_games h1 {
font-size: 25px; font-size: 25px;
...@@ -1398,6 +1406,10 @@ header .right_side a:nth-child(4) { ...@@ -1398,6 +1406,10 @@ header .right_side a:nth-child(4) {
.letters form div input { .letters form div input {
width: 80%; width: 80%;
} }
.swiper-slide img {
width: 70%;
margin-left: 15%;
}
} }
@media (max-width: 400px) { @media (max-width: 400px) {
header { header {
...@@ -1425,10 +1437,10 @@ header .right_side a:nth-child(4) { ...@@ -1425,10 +1437,10 @@ header .right_side a:nth-child(4) {
header .left_side > div { header .left_side > div {
width: 35%; width: 35%;
} }
.swiper-slide img { /* .swiper-slide img {
width: 80%; width: 80%;
margin-left: 10%; margin-left: 10%;
} } */
.swiper-pagination-bullet { .swiper-pagination-bullet {
width: 16px; width: 16px;
height: 16px; height: 16px;
...@@ -2060,7 +2072,7 @@ header .right_side a:nth-child(4) { ...@@ -2060,7 +2072,7 @@ header .right_side a:nth-child(4) {
.card_game .card_game_cont a, .card_game .card_game_cont a,
.card_game_ar .card_game_cont a { .card_game_ar .card_game_cont a {
font-size: 16px; font-size: 16px;
padding: 6px 25px; padding: 5px 10px;
left: 10px; left: 10px;
bottom: 25px; bottom: 25px;
} }
...@@ -2356,6 +2368,7 @@ header .right_side a:nth-child(4) { ...@@ -2356,6 +2368,7 @@ header .right_side a:nth-child(4) {
.mobile .mobile_cont a { .mobile .mobile_cont a {
margin-top: 20px; margin-top: 20px;
font-size: 16px; font-size: 16px;
padding: 10px 60px;
} }
} }
.mobile_ar .mobile_cont .text { .mobile_ar .mobile_cont .text {
...@@ -4809,10 +4822,10 @@ header .right_side a:nth-child(4) { ...@@ -4809,10 +4822,10 @@ header .right_side a:nth-child(4) {
width: 100%; width: 100%;
margin: 0; margin: 0;
} }
.organize_slider .swiper-slide img { /* .organize_slider .swiper-slide img {
width: 100%; width: 100%;
margin-left: 0; margin-left: 0;
} } */
.social_accounts { .social_accounts {
background-color: var(--bck_color); background-color: var(--bck_color);
padding: 10px 10px 40px; padding: 10px 10px 40px;
...@@ -4869,12 +4882,12 @@ header .right_side a:nth-child(4) { ...@@ -4869,12 +4882,12 @@ header .right_side a:nth-child(4) {
.social_accounts .icons { .social_accounts .icons {
width: 70%; width: 70%;
margin: 30px 19% 0; margin: 30px 19% 0;
justify-content: start; justify-content: center;
} }
.social_accounts .buttonc_parent { .social_accounts .buttonc_parent {
width: 70%; width: 70%;
margin: 0 16%; margin: 0 16%;
justify-content: start; justify-content: center;
} }
} }
.mainiMg { .mainiMg {
...@@ -5222,8 +5235,7 @@ header .right_side a:nth-child(4) { ...@@ -5222,8 +5235,7 @@ header .right_side a:nth-child(4) {
width: 65%; width: 65%;
margin-left: 18%; margin-left: 18%;
} }
.e_sportt .valo_button .e_sportt .valo_button {
{
margin-left: 9%; margin-left: 9%;
} }
.word1 { .word1 {
...@@ -5286,8 +5298,7 @@ header .right_side a:nth-child(4) { ...@@ -5286,8 +5298,7 @@ header .right_side a:nth-child(4) {
font-size: 12px; font-size: 12px;
padding: 9px 5px; padding: 9px 5px;
} }
.e_sportt .valo_button .e_sportt .valo_button {
{
margin-left: 15%; margin-left: 15%;
} }
/* .e_sportt .warzone_button /* .e_sportt .warzone_button
...@@ -5386,7 +5397,7 @@ header .right_side a:nth-child(4) { ...@@ -5386,7 +5397,7 @@ header .right_side a:nth-child(4) {
.mobile .mobile_cont a { .mobile .mobile_cont a {
font-size: 16px; font-size: 16px;
margin-top: 20px; margin-top: 20px;
padding: 10px 40px; /* padding: 10px 40px; */
} }
.mobile .mobile_cont .text h1 { .mobile .mobile_cont .text h1 {
font-size: 20px; font-size: 20px;
...@@ -5424,12 +5435,12 @@ header .right_side a:nth-child(4) { ...@@ -5424,12 +5435,12 @@ header .right_side a:nth-child(4) {
.social_accounts .icons { .social_accounts .icons {
width: 95%; width: 95%;
margin: 30px 2.5% 0; margin: 30px 2.5% 0;
justify-content: start; justify-content: center;
} }
.social_accounts .buttonc_parent { .social_accounts .buttonc_parent {
width: 100%; width: 100%;
margin: 0; margin: 0;
justify-content: start; justify-content: center;
} }
.hero_section a { .hero_section a {
transform: translateX(10px); transform: translateX(10px);
...@@ -7964,7 +7975,8 @@ header .right_side a:nth-child(4) { ...@@ -7964,7 +7975,8 @@ header .right_side a:nth-child(4) {
} }
.vr-btn1 { .vr-btn1 {
margin-top: 25px; margin-top: 25px;
width: 60%; width: fit-content;
padding: 10px 60px;
font-weight: 400; font-weight: 400;
} }
.vr-image { .vr-image {
...@@ -8989,3 +9001,12 @@ a, ...@@ -8989,3 +9001,12 @@ a,
button { button {
text-transform: unset !important; text-transform: unset !important;
} }
.ltr_text {
direction: ltr !important;
}
.En_font_simple {
font-family: var(--sora_font) !important;
}
.info form {
direction: rtl;
}
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