fix: grdient overlay of navbar blocks interactivity

This commit is contained in:
Gustavo "Guz" L. de Mello
2024-06-07 13:26:44 -03:00
parent 7a02a56a63
commit 5b6501e8c9

View File

@@ -10,7 +10,14 @@ type Link struct {
}
templ Nav(links []Link) {
<div aria-hidden="true" class="fixed top-0 w-screen h-20vh bg-transparent bg-gradient-to-b from-black from-20% z-100"></div>
<div
aria-hidden="true"
class="h-0 w-0 pointer-events-none bg-transparent!"
>
<div
class="fixed top-0 w-screen h-20vh bg-transparent bg-gradient-to-b from-black from-20% z-100"
></div>
</div>
<section
class="flex flex-row justify-between fixed top-0 font-cal w-90% lg:w-80% xl:w-90% z-110"
>