add commented text to background.html for svg-over-background

This commit is contained in:
Merox 2024-11-05 21:59:09 +02:00
parent 05e421c159
commit cb3c1194ad

View file

@ -29,7 +29,18 @@
class="opacity-60 absolute inset-0 h-[1000px] bg-gradient-to-t from-neutral dark:from-neutral-800 to-neutral-100 dark:to-neutral-800 mix-blend-normal"> class="opacity-60 absolute inset-0 h-[1000px] bg-gradient-to-t from-neutral dark:from-neutral-800 to-neutral-100 dark:to-neutral-800 mix-blend-normal">
</div> </div>
{{ end }} {{ end }}
<!-- Suprapunerea SVG animată
<div class="absolute inset-0 svg-overlay">
{{ $svg := resources.Get "featured.svg" }}
{{ if $svg }}
{{ $svg.Content | safeHTML }}
{{ else }}
<p>SVG not found</p>
{{ end }}
</div> -->
</div> </div>
<div class="relative px-1 py-1 flex flex-col items-center justify-center text-center"> <div class="relative px-1 py-1 flex flex-col items-center justify-center text-center">
{{ with .Site.Params.Author.image }} {{ with .Site.Params.Author.image }}
{{ $authorImage := "" }} {{ $authorImage := "" }}
@ -85,4 +96,4 @@
background_blur.style.opacity = (scroll / 300) background_blur.style.opacity = (scroll / 300)
}); });
</script> </script>
{{ end }} {{ end }}