Fix
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Joakim Svensson 2025-05-08 21:24:18 +00:00
parent 59db29a027
commit a698b7cc43
1 changed files with 26 additions and 5 deletions

View File

@ -2,6 +2,24 @@
title: Start title: Start
--- ---
<script>
function scrollToContent() {
const element = document.getElementById("main-content");
const yOffset = -60; // scrolla 20px ovanför elementet
const y = element.getBoundingClientRect().top + window.pageYOffset + yOffset;
window.scrollTo({ top: y, behavior: 'smooth' });
}
// Göm knappen vid scroll
window.addEventListener('scroll', () => {
const button = document.getElementById('scrollButton');
if (window.scrollY > 10) {
button.style.display = 'none';
}
});
</script>
<video autoplay loop muted playsinline <video autoplay loop muted playsinline
style="position: absolute; left: 0; style="position: absolute; left: 0;
height: 77vh; width: 100%; height: 77vh; width: 100%;
@ -22,15 +40,18 @@ title: Start
Din webbläsare stödjer inte video. Din webbläsare stödjer inte video.
</video> </video>
<button id="scrollButton" onclick="scrollToContent()"
style="position: fixed; bottom: 70px; left: 50%; transform: translateX(-50%);
padding: 12px 24px; font-size: 1.2rem;
background-color: #ffffffcc; border: none; border-radius: 8px;
cursor: pointer; z-index: 10;">
</button>
<!-- Mellanrum --> <!-- Mellanrum -->
<div style="height: 90vh;"></div> <div style="height: 90vh;"></div>
--- <div id="main-content" class="ascii-wrapper">
# SA6ANW
<div class="ascii-wrapper">
<pre><code><div align="center"> <pre><code><div align="center">
______ ______ ______ ______ __ __ __ __ ______ ______ ______ ______ __ __ __ __
/\ ____\ /\ ____\ /\ ____\ /\ ____\ |\_\ |\_\ |\_\ _ |\_\ /\ ____\ /\ ____\ /\ ____\ /\ ____\ |\_\ |\_\ |\_\ _ |\_\