Implement hextra hero-section

This commit is contained in:
Floren Munteanu
2024-05-16 19:24:41 -04:00
parent daaf281012
commit 9e684fa313

View File

@ -0,0 +1,8 @@
{{- $style := .Get "style" -}}
<h2
class="not-prose hx-text-4xl hx-font-bold hx-leading-none hx-tracking-tighter md:hx-text-3xl hx-py-2 hx-bg-clip-text hx-text-transparent hx-bg-gradient-to-r hx-from-gray-900 hx-to-gray-600 dark:hx-from-gray-100 dark:hx-to-gray-400"
{{ with $style }}style="{{ . | safeCSS }}"{{ end }}
>
{{ .Inner | markdownify }}
</h2>