summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFélix Sipma <felix.sipma@no-log.org>2020-02-02 15:40:06 +0100
committerFélix Sipma <felix.sipma@no-log.org>2020-02-02 15:40:06 +0100
commit5c15833d2d679f03db21c7cebb4305898460a87c (patch)
tree8c477f66bc48edb6ba4f1661182ec3cf8ce73fca
parent419cab6b82fbb8ec0aa25fbb471345693fe32a6f (diff)
add icons in address
-rw-r--r--layouts/partials/address.html37
1 files changed, 28 insertions, 9 deletions
diff --git a/layouts/partials/address.html b/layouts/partials/address.html
index 5d622dc..2196d37 100644
--- a/layouts/partials/address.html
+++ b/layouts/partials/address.html
@@ -1,11 +1,30 @@
<address>
- {{ range $address := .Site.Params.Address }}
- <span class="address">{{ $address }}</span>
- {{ end }}
- <span class="phone">
- <a href="tel:{{ .Site.Params.Phone }}">{{ .Site.Params.Phone }}</a>
- </span>
- <span class="email">
- <a href="mailto:{{ .Site.Params.Email }}">{{ .Site.Params.Email }}</a>
- </span>
+ <div class="ferme-columns address">
+ <div class="column is-one-fifth">
+ <i class="fa fa-map-marker" aria-hidden="true"></i>
+ </div>
+ <div class="column is-four-fifths">
+ {{ range $address := .Site.Params.Address }}
+ <span class="address">
+ {{ $address }}
+ </span>
+ {{ end }}
+ </div>
+ </div>
+ <div class="ferme-columns phone">
+ <div class="column is-one-fifth">
+ <i class="fa fa-phone" aria-hidden="true"></i>
+ </div>
+ <div class="column is-four-fifths">
+ <a href="tel:{{ .Site.Params.Phone }}">{{ .Site.Params.Phone }}</a>
+ </div>
+ </div>
+ <div class="ferme-columns email">
+ <div class="column is-one-fifth">
+ <i class="fa fa-envelope" aria-hidden="true"></i>
+ </div>
+ <div class="column is-four-fifths">
+ <a href="mailto:{{ .Site.Params.Email }}">{{ .Site.Params.Email }}</a>
+ </div>
+ </div>
</address>