Refactor code structure and remove redundant changes

This commit is contained in:
Marek Lesko
2025-08-05 11:50:31 +02:00
parent 0019c5c601
commit b34826f9bf
374 changed files with 49565 additions and 0 deletions

11
prod/assets/js/search.js Normal file
View File

@@ -0,0 +1,11 @@
const search = () => {
const searchForm = document.querySelector(".search-form-container");
const searchToggle = document.querySelector(".search-toggle");
const searchShow = document.querySelector(".for-search-show");
const searchClose = document.querySelector(".for-search-close");
if (searchForm) {
searchToggle.addEventListener("click", () => {
searchForm.classList.toggle("active");
});
}
};