feat: Modification du contenu

This commit is contained in:
2022-10-06 17:53:33 +02:00
parent 4d63586bcd
commit 92dfea92b2
4 changed files with 18 additions and 3 deletions

View File

@ -521,14 +521,14 @@ a:hover {
.hero-area .block p {
color: #fff;
font-size: 40px;
font-size: 30px;
width: 70%;
margin: 0 auto;
}
@media (max-width: 992px) {
.hero-area .block p {
font-size: 30px;
font-size: 25px;
}
}

View File

@ -15,7 +15,9 @@
<h2>{{ .title | markdownify }}</h2>
<p>{{ .content | markdownify }}</p>
{{ with .call_to_action }}
<a class="btn btn-primary" href="{{ .link | safeURL }}">{{ .text }}</a>
<div class="text-center text-md-left">
<a class="btn btn-primary" href="{{ .link | safeURL }}">{{ .text }}</a>
</div>
{{ end }}
<div class="row">
{{ range .feature_item }}

View File

@ -29,6 +29,16 @@
<div class="p-3">
<h2>{{ .subtitle | markdownify }}</h2>
<p> {{ .content | markdownify }}</p>
{{ if .content_blocks }}
{{ $col := div 12 (len .content_blocks) }}
<div class="row">
{{ range .content_blocks }}
<div class="col-{{ $col }}">
{{ . | markdownify }}
</div>
{{ end }}
</div>
{{ end }}
{{ with .call_to_action }}
<div class="text-center p-3">
{{ range . }}