feat: Mise à jour du design

This commit is contained in:
Simon 2022-10-05 17:19:30 +02:00
parent 744e37a396
commit c642cccfbc
4 changed files with 53 additions and 29 deletions

View File

@ -96,6 +96,7 @@ a:hover {
padding: 10px 30px;
border-radius: 0;
transition: all .3s ease-in 0s;
font-size: 1.1rem;
}
.btn.btn-primary {
@ -520,11 +521,23 @@ a:hover {
.hero-area .block p {
color: #fff;
font-size: 20px;
font-size: 40px;
width: 70%;
margin: 0 auto;
}
@media (max-width: 992px) {
.hero-area .block p {
font-size: 30px;
}
}
@media (max-width: 575px) {
.hero-area .block p {
font-size: 20px;
}
}
.hero-area .block .btn-transparent {
margin-top: 40px;
border-color: #fff;
@ -706,6 +719,7 @@ a:hover {
.con-info {
margin-bottom: 20px;
font-size: 1.1rem;
}
.con-info i,

View File

@ -18,13 +18,15 @@
{{"<!-- Contact Details -->" | safeHTML}}
<div class="contact-info col-lg-6 wow fadeInUp" data-wow-duration="500ms">
{{ with .subtitle }}
<h3>{{ . | markdownify }}</h3>
{{ end }}
{{ .content | markdownify }}
<div class="p-3">
{{ with .subtitle }}
<h3>{{ . | markdownify }}</h3>
{{ end }}
{{ .content | markdownify }}
</div>
</div>
<div class="contact-details col-lg-6">
<div class="contact-details col-lg-6 mt-5 mt-lg-0">
{{ range .contact_list }}
<div class="con-info clearfix">
<i class="{{ .icon }}"></i>

View File

@ -9,20 +9,22 @@
<div class="container">
<div class="row">
<div class="col-lg-12">
<h2>{{ .title | markdownify }}</h2>
<p>{{ .content | markdownify }}</p>
{{ if .button.enable }}
{{ with .button }}
<a href="{{ .link }}" class="btn btn-main page-scroll">{{ .label }}</a>
{{ end }}
{{ end }}
{{ with .call_to_action }}
<div class="text-center p-3">
{{ range . }}
<a href="{{ .link | safeURL }}" class="btn btn-primary m-2">{{ .text }}</a>
<div class="p-3">
<h2>{{ .title | markdownify }}</h2>
<p>{{ .content | markdownify }}</p>
{{ if .button.enable }}
{{ with .button }}
<a href="{{ .link }}" class="btn btn-main page-scroll">{{ .label }}</a>
{{ end }}
{{ end }}
{{ with .call_to_action }}
<div class="text-center p-3">
{{ range . }}
<a href="{{ .link | safeURL }}" class="btn btn-primary m-2">{{ .text }}</a>
{{ end }}
</div>
{{ end }}
</div>
{{ end }}
</div>
</div>
</div>

View File

@ -3,8 +3,9 @@
{{ if $data.skill.skill.enable }}
{{ with $data.skill.skill }}
{{"<!-- Skills -->" | safeHTML }}
<section id="modalites" class="section bg-one">
<section id="skills" class="section bg-one">
<div class="container">
{{ if .title }}
<div class="row">
{{"<!-- section title -->" | safeHTML }}
<div class="col-lg-12">
@ -15,22 +16,27 @@
</div>
{{"<!-- /section title -->" | safeHTML }}
</div>
{{ end }}
<div class="row">
{{ with .image }}
<div class="col-lg-6 p-3 text-center">
<img class="img-fluid" src="{{ . | absURL }}" alt="image" loading="lazy">
<div class="col-lg-6 text-center">
<div class="p-3">
<img class="img-fluid" src="{{ . | absURL }}" alt="image" loading="lazy">
</div>
</div>
{{ end }}
<div class="col-lg-{{ with .image }}6{{else}}12{{ end }} p-3">
<h2>{{ .subtitle | markdownify }}</h2>
<p> {{ .content | markdownify }}</p>
{{ with .call_to_action }}
<div class="text-center p-3">
{{ range . }}
<a href="{{ .link | safeURL }}" class="btn btn-primary m-2">{{ .text }}</a>
<div class="col-lg-{{ with .image }}6{{else}}12{{ end }}">
<div class="p-3">
<h2>{{ .subtitle | markdownify }}</h2>
<p> {{ .content | markdownify }}</p>
{{ with .call_to_action }}
<div class="text-center p-3">
{{ range . }}
<a href="{{ .link | safeURL }}" class="btn btn-primary m-2">{{ .text }}</a>
{{ end }}
</div>
{{ end }}
</div>
{{ end }}
</div>
</div>
</div>