This commit is contained in:
SBD
2023-12-02 14:18:22 +03:00
parent ad8985e0dc
commit 267bb1fed9
2 changed files with 11 additions and 0 deletions

View File

@@ -139,6 +139,11 @@ function openCurtain (el) {
let curtain = document.querySelector(".curtain")
curtain.classList.toggle("open")
curtain.classList.toggle("close")
if (el.src.includes('burger_menu')){
el.src = '/static/images/close_menu.svg'
} else if (el.src.includes('close_menu')){
el.src = '/static/images/burger_menu.svg'
}
openOverlay()
}

View File

@@ -0,0 +1,6 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<g id="Close_round_light">
<path id="Vector 47" d="M18 6L6 18" stroke="white" stroke-linecap="round" stroke-linejoin="round"/>
<path id="Vector 48" d="M6 6L18 18" stroke="white" stroke-linecap="round" stroke-linejoin="round"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 335 B