diff --git a/home/assets/background-1.png b/home/assets/background-1.png index d6620f9..d9504aa 100644 Binary files a/home/assets/background-1.png and b/home/assets/background-1.png differ diff --git a/home/assets/background-7.png b/home/assets/background-10.png similarity index 100% rename from home/assets/background-7.png rename to home/assets/background-10.png diff --git a/home/assets/background-8.png b/home/assets/background-11.png similarity index 100% rename from home/assets/background-8.png rename to home/assets/background-11.png diff --git a/home/assets/background-5.png b/home/assets/background-5.png deleted file mode 100644 index 266b0e6..0000000 Binary files a/home/assets/background-5.png and /dev/null differ diff --git a/home/assets/background-6.png b/home/assets/background-6.png index 712adc1..65f2136 100644 Binary files a/home/assets/background-6.png and b/home/assets/background-6.png differ diff --git a/home/assets/background-9.png b/home/assets/background-9.png new file mode 100644 index 0000000..712adc1 Binary files /dev/null and b/home/assets/background-9.png differ diff --git a/home/assets/script.js b/home/assets/script.js index c76e520..245f5a7 100644 --- a/home/assets/script.js +++ b/home/assets/script.js @@ -4,7 +4,8 @@ document.addEventListener("DOMContentLoaded", () => { let currentIndex = 0; function showLine(index) { - if (index < 1) background.style.background = "#343751"; + if (index === 0 || index === 5 || index === 8) background.style.background = "#343751"; + else if (index === 7) background.style.background = "#000000"; else background.style.background = "url(\"assets/background-" + index + ".png\") no-repeat center center/cover"; lines.forEach((line, i) => { line.classList.remove("visible", "exit"); diff --git a/home/index.html b/home/index.html index dd693f8..6bc3bda 100644 --- a/home/index.html +++ b/home/index.html @@ -25,6 +25,9 @@