mirror of
https://github.com/imfing/hextra.git
synced 2025-07-01 22:27:29 -04:00
Implement hextra hero-section
This commit is contained in:
8
layouts/shortcodes/hextra/hero-section.html
Normal file
8
layouts/shortcodes/hextra/hero-section.html
Normal 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>
|
Reference in New Issue
Block a user