diff --git a/assets/hello/m/1.png b/assets/hello/m/1.png new file mode 100644 index 0000000..0ba37a4 Binary files /dev/null and b/assets/hello/m/1.png differ diff --git a/assets/hello/m/2.png b/assets/hello/m/2.png new file mode 100644 index 0000000..3f09c70 Binary files /dev/null and b/assets/hello/m/2.png differ diff --git a/assets/hello/m/3.png b/assets/hello/m/3.png new file mode 100644 index 0000000..38adc1c Binary files /dev/null and b/assets/hello/m/3.png differ diff --git a/assets/main.css b/assets/main.css index 7114ad1..e4af699 100644 --- a/assets/main.css +++ b/assets/main.css @@ -1,7 +1,7 @@ .carousel > .carousel-inner > .carousel-item > img{ width : 100vh; height : 94vh; - /* margin-bottom : 2.5%; */ + /* padding-bottom : -2.5%; */ } .bg { diff --git a/assets/main.js b/assets/main.js new file mode 100644 index 0000000..2b32abf --- /dev/null +++ b/assets/main.js @@ -0,0 +1,6 @@ +setInterval(async () => { + const isMainMenu = document.getElementById('main_img1')?.src; + document.getElementById('main_img1').src = window.screen.availWidth / window.screen.availHeight > 1.45 ? "/assets/hello/1.png" : "/assets/hello/m/1.png"; + document.getElementById('main_img2').src = window.screen.availWidth / window.screen.availHeight > 1.45 ? "/assets/hello/2.png" : "/assets/hello/m/2.png"; + document.getElementById('main_img3').src = window.screen.availWidth / window.screen.availHeight > 1.45 ? "/assets/hello/3.png" : "/assets/hello/m/3.png"; +}, 1); \ No newline at end of file diff --git a/contacts/index.html b/contacts/index.html index 64719b5..e3885f1 100644 --- a/contacts/index.html +++ b/contacts/index.html @@ -27,5 +27,6 @@ + \ No newline at end of file diff --git a/fl_dir/index.html b/fl_dir/index.html index 460b2a3..8658a67 100644 --- a/fl_dir/index.html +++ b/fl_dir/index.html @@ -8,16 +8,15 @@