2023-11-19 00:19:59 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="cs">
|
|
|
|
|
|
|
|
<head>
|
2023-11-30 14:02:52 +01:00
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<link rel="stylesheet" href="/vars.css">
|
|
|
|
<link rel="stylesheet" href="/global.css">
|
|
|
|
<link rel="stylesheet" href="/header.css">
|
|
|
|
<link rel="stylesheet" href="/main.css">
|
|
|
|
<link rel="stylesheet" href="/news.css">
|
|
|
|
<link rel="stylesheet" href="https://use.typekit.net/yqq2dbq.css">
|
2023-11-19 00:19:59 +01:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2023-11-30 14:02:52 +01:00
|
|
|
<nav>
|
|
|
|
<div class="nav-left">
|
|
|
|
<a href="/"><img src="/svg/party_ples.svg" alt="pkmples logo"></a>
|
|
|
|
</div>
|
|
|
|
<div class="nav-btn">
|
|
|
|
<img src="/svg/menu.svg" alt="menu icon">
|
|
|
|
</div>
|
|
|
|
<div class="nav-right mobile-visible">
|
|
|
|
<a href="https://www.facebook.com/events/823114292589147/?active_tab=discussion" target="_blank"><img src="/svg/facebook.svg" alt="facebook logo"></a>
|
|
|
|
<a href="https://www.instagram.com/pkm.hub" target="_blank"><img src="/svg/instagram.svg" alt="instagram logo"></a>
|
|
|
|
<a href="https://www.youtube.com/@pkmhub" target="_blank"><img src="/svg/youtube.svg" alt="youtube logo"></a>
|
|
|
|
<a href="/galerie">galerie</a>
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
<main>
|
|
|
|
{% block main %} {% endblock main %}
|
|
|
|
</main>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
const navBtn = document.querySelector(".nav-btn img")
|
|
|
|
let navVisible = false
|
|
|
|
navBtn.addEventListener("click", () => {
|
|
|
|
if(navVisible) {
|
|
|
|
document.querySelector(".nav-right").classList.add("mobile-visible")
|
|
|
|
} else {
|
|
|
|
document.querySelector(".nav-right").classList.remove("mobile-visible")
|
|
|
|
}
|
|
|
|
|
|
|
|
navVisible = !navVisible
|
|
|
|
})
|
|
|
|
|
|
|
|
window.addEventListener("resize", () => {
|
|
|
|
const width = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;
|
|
|
|
console.log(width)
|
|
|
|
|
|
|
|
if(width <= "992") {
|
|
|
|
document.querySelector("main").appendChild(document.querySelector("footer"))
|
|
|
|
} else {
|
|
|
|
document.querySelector("aside".appendChild(document.querySelector("footer")))
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
</script>
|
2023-11-19 00:19:59 +01:00
|
|
|
</body>
|
|
|
|
|
2023-11-30 14:02:52 +01:00
|
|
|
</html>
|