detailing
added smooth transition, removed messages on login page, minor detail fixes
This commit is contained in:
@@ -39,10 +39,10 @@
|
||||
{% endif %}
|
||||
|
||||
<nav class="navbar">
|
||||
<button class="button" onclick="location.href='#about-header'">O nás</button>
|
||||
<button class="button" onclick="location.href='#directions'">K nám</button>
|
||||
<button class="button" onclick="location.href='#nabidka-sluzeb'">Služby</button>
|
||||
<button class="button" onclick="location.href='#recenze'">Recenze</button>
|
||||
<button class="button" onclick="smoothScroll('#about-header')">O nás</button>
|
||||
<button class="button" onclick="smoothScroll('#directions')">K nám</button>
|
||||
<button class="button" onclick="smoothScroll('#nabidka-sluzeb')">Služby</button>
|
||||
<button class="button" onclick="smoothScroll('#recenze')">Recenze</button>
|
||||
</nav>
|
||||
|
||||
<div class="container">
|
||||
@@ -142,5 +142,11 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
function smoothScroll(target) {
|
||||
document.querySelector(target).scrollIntoView({ behavior: 'smooth' });
|
||||
}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user