Added icons for facebook, twitter, link and email
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Andreas Kurm 2020-02-16 18:09:28 +01:00
parent 8e874168d8
commit 711f7d97ef
5 changed files with 12 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
site/static/link.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1021 B

BIN
site/static/mail.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -8,25 +8,33 @@
{{ if .Get "link" }}
<div class="col p-0">
<a class="btn btn-on-com-card w-100" href="{{ .Get "link" }}" target="_blank">Link</a>
<a class="btn btn-on-com-card w-100" href="{{ .Get "link" }}" target="_blank">
<img src="/link.png" class="m-2" min-width="32px" width="32px">
</a>
</div>
{{ end }}
{{ if .Get "facebook" }}
<div class="col p-0">
<a class="btn btn-on-com-card w-100" href="{{ .Get "facebook" }}" target="_blank">Facebook</a>
<a class="btn btn-on-com-card w-100" href="{{ .Get "facebook" }}" target="_blank">
<img src="/f_logo_RGB-Black_58.png" class="m-2" min-width="32px" width="32px">
</a>
</div>
{{ end }}
{{ if .Get "twitter" }}
<div class="col p-0">
<a class="btn btn-on-com-card w-100" href="{{ .Get "twitter" }}" target="_blank">Twitter</a>
<a class="btn btn-on-com-card w-100" href="{{ .Get "twitter" }}" target="_blank">
<img src="/Twitter_Social_Icon_Circle_Color.png" class="m-2" min-width="32px" width="32px">
</a>
</div>
{{ end }}
{{ if .Get "email" }}
<div class="col p-0">
<a class="btn btn-on-com-card w-100" href="{{ .Get "email" }}" target="_blank">Email</a>
<a class="btn btn-on-com-card w-100" href="{{ .Get "email" }}" target="_blank">
<img src="/mail.png" class="m-2" min-width="32px" width="32px">
</a>
</div>
{{ end }}