feat: Changement de position des modalités

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

View File

@ -6,7 +6,7 @@
<section class="hero-area" style='background-image: url("{{ .bg_image_webp | absURL }}")'> <section class="hero-area" style='background-image: url("{{ .bg_image_webp | absURL }}")'>
<!-- this image is for trigger this section fallback background image --> <!-- 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"/> <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="container">
<div class="block p-6"> <div class="block p-6">
{{ if .icon }} {{ if .icon }}
<div class="video-button"> <div class="video-button">
@ -21,6 +21,7 @@
{{ end }} {{ end }}
{{ end }} {{ end }}
</div> </div>
</div>
</section> </section>
{{"<!-- /Welcome Slider-->" | safeHTML}} {{"<!-- /Welcome Slider-->" | safeHTML}}
{{end}} {{end}}

View File

@ -7,8 +7,8 @@
<!-- this image is for trigger this section fallback background image --> <!-- this image is for trigger this section fallback background image -->
<img src="{{ .bg_image_webp | absURL }}" style="display: none;" onerror="this.onerror=null;this.parentElement.style.backgroundImage= 'url({{ .bg_image | absURL }})'"> <img src="{{ .bg_image_webp | absURL }}" style="display: none;" onerror="this.onerror=null;this.parentElement.style.backgroundImage= 'url({{ .bg_image | absURL }})'">
<div class="container"> <div class="container">
<div class="row"> <div class="row justify-content-lg-center">
<div class="col-lg-12"> <div class="col-lg-9">
<div class="p-3"> <div class="p-3">
<div class="title text-center wow fadeIn"> <div class="title text-center wow fadeIn">
<h2>{{ .title | markdownify }}</h2> <h2>{{ .title | markdownify }}</h2>