mirror of
https://github.com/imfing/hextra.git
synced 2025-06-20 20:21:25 -04:00
feat: add shortcodes to build Hextra home page (#90)
* feat: add feature grid and card shortcodes * feat: add markdown content to hextra home * chore: add button for hextra home * chore: add heading and subtitle * chore: finish moving hextra home to shortcodes * chore: regenerate css * chore: improve hextra home layout shortcodes * chore: update css * chore: decrease button size
This commit is contained in:
9
layouts/shortcodes/hextra/hero-headline.html
Normal file
9
layouts/shortcodes/hextra/hero-headline.html
Normal file
@ -0,0 +1,9 @@
|
||||
{{- $style := .Get "style" -}}
|
||||
|
||||
|
||||
<h1
|
||||
class="text-4xl font-bold leading-none tracking-tighter md:text-5xl py-2 bg-clip-text text-transparent bg-gradient-to-r from-gray-900 to-gray-600 dark:from-gray-100 dark:to-gray-400"
|
||||
{{ with $style }}style="{{ . | safeCSS }}"{{ end }}
|
||||
>
|
||||
{{ .Inner | markdownify }}
|
||||
</h1>
|
Reference in New Issue
Block a user