Skip to content

Commit

Permalink
themefisher#13 social nel footer
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Visin committed Dec 13, 2020
1 parent 6ec8d26 commit 2f1ab8a
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 0 deletions.
12 changes: 12 additions & 0 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -933,6 +933,18 @@ a:focus, a:hover {
color: white;
}

.contact-meta-block-footer {
text-align: center;
}
.contact-meta-block-footer > i {
display: block;
font-size: 50px;
margin-bottom: 20px;
color: #ffffff;
}
.contact-meta-block-footer > h4 {
color: #ffffff;
}
.contact-meta-block {
margin-top: 30px;
padding: 40px 0;
Expand Down
2 changes: 2 additions & 0 deletions layouts/partials/contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ <h2>{{.}}</h2>
</form>
</div>
</div>
{{ if .Site.Params.contact.contactsDisplayEnable }}
<div class="row">
<div class="col-12 col-md-4">
<div class="address-block contact-meta-block">
Expand Down Expand Up @@ -124,6 +125,7 @@ <h4>{{ i18n "social" }}</h4>
</div>
</div>
</div>
{{ end }}
</div>
</section>
{{ end }}
43 changes: 43 additions & 0 deletions layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,51 @@
<div class="container">
<div class="row">
<div class="col-sm-3 col-md-3 col-lg-3">
<!--
<h3>{{ .Site.Params.footerAboutTitle }}</h3>
{{ with .Site.Params.footerDescription }}<p>{{ . }}</p>{{ end }}
-->
<div class="social-icons-block contact-meta-block-footer">
<i class="tf-ion-ios-contact-outline"></i>
<h4>{{ i18n "social" }}</h4>
<ul class="list-inline social-icon">
{{ with .Site.Params.contact.facebook }}
<li class="list-inline-item">
<a href="{{.}}">
<i class="tf-ion-social-facebook"></i>
</a>
</li>
{{ end }}
{{ with .Site.Params.contact.twitter }}
<li class="list-inline-item">
<a href="{{.}}">
<i class="tf-ion-social-twitter"></i>
</a>
</li>
{{ end }}
{{ with .Site.Params.contact.linkedin }}
<li class="list-inline-item">
<a href="{{.}}">
<i class="tf-ion-social-linkedin"></i>
</a>
</li>
{{ end }}
{{ with .Site.Params.contact.dribbble }}
<li class="list-inline-item">
<a href="{{.}}">
<i class="tf-ion-social-dribbble"></i>
</a>
</li>
{{ end }}
{{ with .Site.Params.contact.instagram }}
<li class="list-inline-item">
<a href="{{.}}">
<i class="tf-ion-social-instagram"></i>
</a>
</li>
{{ end }}
</ul>
</div>
</div>
<div class="col-sm-3 col-md-3 col-lg-3">
{{ with .Site.Params.footerServiceEnable }}
Expand Down

0 comments on commit 2f1ab8a

Please sign in to comment.