Added icons for facebook, twitter, link and email
This commit is contained in:
parent
8e874168d8
commit
711f7d97ef
BIN
site/static/Twitter_Social_Icon_Circle_Color.png
Executable file
BIN
site/static/Twitter_Social_Icon_Circle_Color.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 8.7 KiB |
BIN
site/static/f_logo_RGB-Black_58.png
Normal file
BIN
site/static/f_logo_RGB-Black_58.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.3 KiB |
BIN
site/static/link.png
Normal file
BIN
site/static/link.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1021 B |
BIN
site/static/mail.png
Normal file
BIN
site/static/mail.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.0 KiB |
@ -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 }}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user