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:
Xin
2023-09-26 08:15:31 +01:00
committed by GitHub
parent 01f7e3a425
commit 3c4ede96df
11 changed files with 181 additions and 132 deletions

View File

@ -0,0 +1,9 @@
{{- $style := .Get "style" -}}
<div
class="grid sm:grid-cols-2 lg:grid-cols-3 grid-cols-1 gap-4 w-full"
{{ with $style }}style="{{ . | safeCSS }}"{{ end }}
>
{{ .Inner }}
</div>