1
0
web-semprace/templates/base.html

53 lines
1.9 KiB
HTML
Raw Normal View History

2023-11-19 00:19:59 +01:00
<!DOCTYPE html>
<html lang="cs">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2023-11-20 16:52:40 +01:00
<link rel="stylesheet" href="/vars.css">
<link rel="stylesheet" href="/global.css">
2023-11-19 00:19:59 +01:00
<link rel="stylesheet" href="/header.css">
2023-11-20 16:52:40 +01:00
<link rel="stylesheet" href="/main.css">
2023-11-21 21:04:25 +01:00
<link rel="stylesheet" href="/news.css">
2023-11-20 16:52:40 +01:00
<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">
2023-11-19 00:19:59 +01:00
</head>
<body>
<nav>
2023-11-20 16:52:40 +01:00
<div class="nav-left">
<a href="/"><img src="/img/pkmples_logo.png" alt="pkmples logo"></a>
</div>
2023-11-24 00:46:26 +01:00
<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>
2023-11-20 16:52:40 +01:00
<a href="/galerie">galerie</a>
<a href="/archiv">archiv</a>
</div>
2023-11-19 00:19:59 +01:00
</nav>
2023-11-20 16:52:40 +01:00
<main>
2023-11-21 11:35:59 +01:00
{% block main %} {% endblock main %}
2023-11-20 16:52:40 +01:00
</main>
2023-11-24 00:46:26 +01:00
<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>
2023-11-19 00:19:59 +01:00
</body>
</html>