diff --git a/assets/image/fa-flag.png b/assets/image/fa-flag.png deleted file mode 100644 index be3c678..0000000 Binary files a/assets/image/fa-flag.png and /dev/null differ diff --git a/assets/js/main.js b/assets/js/main.js index 79f9351..a3d6784 100644 --- a/assets/js/main.js +++ b/assets/js/main.js @@ -1,7 +1,3 @@ -alert('با توجه به اینکه فیگما روی برکپوینت 1440 طراحی شده . برای مشاهده دقیق به صورت فیگما رزولوشن مرورگر رو روی 1440 تنظیم کنید ') - - - let flagBox = document.querySelector('.js-do-flag') if (flagBox) { flagBox.querySelectorAll('select option').forEach(item => { @@ -15,6 +11,8 @@ if (flagBox) { }) if (item.selected) { let selectedFlag = item.getAttribute('data-flag'); + console.log(selectedFlag); + flagBox.querySelector(`.flag img.${selectedFlag}`).classList.remove('d-none') } }) diff --git a/contact-us.html b/contact-us.html index e76d9a4..e161ce2 100644 --- a/contact-us.html +++ b/contact-us.html @@ -23,12 +23,10 @@
-
diff --git a/index.html b/index.html index 349e9ea..9e0adc7 100644 --- a/index.html +++ b/index.html @@ -24,11 +24,9 @@
-