feat: Changement de position des modalités

This commit is contained in:
2022-10-07 22:25:03 +02:00
parent 95a383637c
commit 70e145641e
2 changed files with 16 additions and 15 deletions

View File

@ -6,20 +6,21 @@
<section class="hero-area" style='background-image: url("{{ .bg_image_webp | absURL }}")'>
<!-- this image is for trigger this section fallback background image -->
<img class="d-none" src="{{ .bg_image_webp | absURL }}" onerror="this.onerror=null;this.parentElement.style.backgroundImage= 'url({{ .bg_image | absURL }})'" loading="lazy"/>
<div class="block p-6">
{{ if .icon }}
<div class="video-button">
<i class="{{ .icon }}"></i>
<div class="container">
<div class="block p-6">
{{ if .icon }}
<div class="video-button">
<i class="{{ .icon }}"></i>
</div>
{{ end }}
<h1>{{ .title | markdownify }}</h1>
<p>{{ .content | markdownify }}</p>
{{ if .button.enable }}
{{ with .button }}
<a href="{{ .link }}" class="btn btn-transparent page-scroll">{{ .label }}</a>
{{ end }}
{{ end }}
</div>
{{ end }}
<h1>{{ .title | markdownify }}</h1>
<p>{{ .content | markdownify }}</p>
{{ if .button.enable }}
{{ with .button }}
<a href="{{ .link }}" class="btn btn-transparent page-scroll">{{ .label }}</a>
{{ end }}
{{ end }}
</div>
</section>
{{"<!-- /Welcome Slider-->" | safeHTML}}