Files
my_website/views/helper-blocks.html
2025-11-24 14:45:21 +07:00

21 lines
551 B
HTML

{{ block "footer-contact" .}}
<a href="{{.Link}}"
target="_blank"
class="text-blue-600">
<span class="[&>svg]:h-{{.Height}} [&>svg]:w-{{.Width}}">
<svg
xmlns="http://www.w3.org/2000/svg"
fill="currentColor"
viewBox="0 0 512 512">
<path d="{{ .Path }}"/>
</svg>
</span>
</a>
{{ end }}
{{ block "scattered-words" .}}
<span
class="absolute {{.AxisY}} {{.AxisX}} text-purple-300/50 dark:text-gray-300/10 text-xl font-bold"
>{{.Word}}
</span>
{{ end}}