Update 1.js

This commit is contained in:
FURK4NGG
2025-02-24 19:47:53 +03:00
committed by GitHub
parent e1a9a09359
commit db2b25555c
+10 -3
View File
@@ -1,3 +1,13 @@
/*CHANGE THEME*/
let metaTheme = document.getElementById("themeMeta");
if (metaTheme.content === "#ffffff") {
metaTheme.content = "#100f2c"; // Dark mode theme rengi
} else {
metaTheme.content = "#ffffff"; // Light mode theme rengi
}
});
/*SERVICES VISIBILITY*/ /*SERVICES VISIBILITY*/
const boxes = document.querySelectorAll('.services_id'); const boxes = document.querySelectorAll('.services_id');
@@ -385,9 +395,6 @@ function animateCircles() {
animateCircles(); animateCircles();
/*DISABLE COPY-PASTE*/ /*DISABLE COPY-PASTE*/
const disabledKeys = ["c", "C", "x", "J", "u", "I"]; // keys that will be disabled const disabledKeys = ["c", "C", "x", "J", "u", "I"]; // keys that will be disabled
const showAlert = e => { const showAlert = e => {