mohamed272002 commited on
Commit
f92edc4
·
verified ·
1 Parent(s): 0db8706

اصلح الاخطاء الموجوده حيث انه ايقونه الترجمه توجد اعلي اسم الشركه في النسخه العربيه

Browse files
Files changed (1) hide show
  1. index.html +18 -23
index.html CHANGED
@@ -163,10 +163,10 @@ color:#12323a;
163
  .mobile-lang-btn {
164
  position: fixed;
165
  top: 20px;
166
- right: 60px;
167
  z-index: 1000;
168
  }
169
- .mobile-lang-btn button {
170
  background: var(--accent-yellow);
171
  color: var(--dark-navy);
172
  border: 0;
@@ -239,6 +239,9 @@ color:#12323a;
239
  color: white;
240
  cursor: pointer;
241
  z-index: 10;
 
 
 
242
  }
243
  }
244
  /* RTL tweaks */
@@ -604,18 +607,12 @@ const mobileToggle = document.querySelector('.mobile-menu-toggle');
604
  if (window.innerWidth <= 700) {
605
  mobileToggle.style.display = 'flex';
606
  navWrap.style.display = 'none';
607
- langBtn.style.marginLeft = 'auto';
608
- langBtn.style.position = 'fixed';
609
- langBtn.style.top = '20px';
610
- langBtn.style.right = '12px';
611
- langBtn.style.zIndex = '1000';
612
- } else {
613
- mobileToggle.style.display = 'none';
614
- navWrap.style.display = 'flex';
615
- langBtn.style.position = 'static';
616
- langBtn.style.top = 'auto';
617
- langBtn.style.right = 'auto';
618
- }
619
  }
620
  // Toggle menu visibility
621
  mobileToggle.addEventListener('click', function() {
@@ -736,16 +733,14 @@ if (mobileLangBtn) {
736
  applyLanguage(currentLang);
737
 
738
  // Show/hide mobile language button based on screen size
739
- function checkMobileLangBtn() {
740
- const mobileLangBtn = document.querySelector('.mobile-lang-btn');
741
- if (window.innerWidth <= 700) {
742
- mobileLangBtn.style.display = 'block';
743
- } else {
744
- mobileLangBtn.style.display = 'none';
 
745
  }
746
- }
747
-
748
- checkMobileLangBtn();
749
  window.addEventListener('resize', checkMobileLangBtn);
750
  // fill year
751
  document.getElementById('year').textContent = new Date().getFullYear();
 
163
  .mobile-lang-btn {
164
  position: fixed;
165
  top: 20px;
166
+ left: 12px;
167
  z-index: 1000;
168
  }
169
+ .mobile-lang-btn button {
170
  background: var(--accent-yellow);
171
  color: var(--dark-navy);
172
  border: 0;
 
239
  color: white;
240
  cursor: pointer;
241
  z-index: 10;
242
+ position: fixed;
243
+ top: 20px;
244
+ right: 12px;
245
  }
246
  }
247
  /* RTL tweaks */
 
607
  if (window.innerWidth <= 700) {
608
  mobileToggle.style.display = 'flex';
609
  navWrap.style.display = 'none';
610
+ langBtn.style.display = 'none';
611
+ } else {
612
+ mobileToggle.style.display = 'none';
613
+ navWrap.style.display = 'flex';
614
+ langBtn.style.display = 'block';
615
+ }
 
 
 
 
 
 
616
  }
617
  // Toggle menu visibility
618
  mobileToggle.addEventListener('click', function() {
 
733
  applyLanguage(currentLang);
734
 
735
  // Show/hide mobile language button based on screen size
736
+ function checkMobileLangBtn() {
737
+ const mobileLangBtn = document.querySelector('.mobile-lang-btn');
738
+ if (window.innerWidth <= 700) {
739
+ mobileLangBtn.style.display = 'block';
740
+ } else {
741
+ mobileLangBtn.style.display = 'none';
742
+ }
743
  }
 
 
 
744
  window.addEventListener('resize', checkMobileLangBtn);
745
  // fill year
746
  document.getElementById('year').textContent = new Date().getFullYear();