53 lines
1.9 KiB
HTML
53 lines
1.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="cs">
|
|
|
|
<head>
|
|
<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="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=Kanit:wght@400;700&display=swap" rel="stylesheet">
|
|
</head>
|
|
|
|
<body>
|
|
<nav>
|
|
<div class="nav-left">
|
|
<a href="/"><img src="/img/pkmples_logo.png" 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" 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>
|
|
<a href="/archiv">archiv</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
|
|
})
|
|
</script>
|
|
</body>
|
|
|
|
</html> |