feat: add hero link and smooth scrolling
All checks were successful
Build / build (push) Successful in 4m18s
Build / deploy-stage (push) Successful in 2m48s
Build / switch-stage (push) Successful in 2m5s

This commit is contained in:
2025-04-22 22:53:18 +02:00
parent 9b781d50f6
commit 8ee10d0a1c
4 changed files with 18 additions and 9 deletions

View File

@@ -47,14 +47,16 @@
</f:if>
<!-- Downarrow, half out on the right edge -->
<div
class="absolute top-2/3 -translate-y-1/2 right-[-3rem] z-20">
<a href="#next-section"
class="w-24 h-24 text-5xl bg-primary border-8 border-white text-white rounded-full inline-flex items-center justify-center hover:bg-primary-dark hover:text-white">
<span class="sr-only">Scroll down</span>
<i class="ci ci-arrow-down"></i>
</a>
</div>
<f:if condition="{data.header_link}">
<div
class="absolute top-2/3 -translate-y-1/2 right-[-3rem] z-20">
<f:link.typolink parameter="{data.header_link}"
class="w-24 h-24 text-5xl bg-primary border-8 border-white text-white rounded-full inline-flex items-center justify-center hover:bg-primary-dark hover:text-white">
<span class="sr-only">Scroll down</span>
<i class="ci ci-arrow-down"></i>
</f:link.typolink>
</div>
</f:if>
</div>
<!-- TEXT HALF -->