forked from Fediversity/Fediversity
Valentin Gagarin
e41e0daa82
git-subtree-dir: website git-subtree-mainline:83b1c9ac3b
git-subtree-split:d208ee83f8
28 lines
952 B
HTML
28 lines
952 B
HTML
<!-- Call to actions -->
|
|
{{ with site.GetPage "sections/call-to-action" }} {{ if .Params.enable }}
|
|
<section class="mb-28">
|
|
<div class="container">
|
|
<div
|
|
class="bg-theme-light dark:bg-darkmode-theme-light rounded-xl px-4 py-16 xl:p-20"
|
|
>
|
|
<div class="row items-center justify-between">
|
|
<div class="md:col-5 lg:col-4 mb-10 md:order-2 md:mb-0">
|
|
{{ partial "image" (dict "Src" .image "Alt" "call to action" "Class"
|
|
"w-full") }}
|
|
</div>
|
|
<div class="md:col-7 md:order-1">
|
|
<h2 class="mb-2">{{ .Title | markdownify }}</h2>
|
|
<p class="mb-6">{{ .Params.description | markdownify }}</p>
|
|
{{ with .Params.button }} {{ if .enable }}
|
|
<a class="btn btn-primary" href="{{ .link | absURL }}">
|
|
{{ .label }}
|
|
</a>
|
|
{{ end }} {{ end }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
{{ end }} {{ end }}
|
|
<!-- /Call to actions -->
|