0.0.62
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
6
static/images/close_menu.svg
Normal file
6
static/images/close_menu.svg
Normal 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 |
Reference in New Issue
Block a user