blob: 0d540d3017417c21668154eeafd2ac7f6be00e10 (
plain)
1
2
3
4
5
6
7
8
9
|
<div class="flex justify-center items-center flex-wrap">
{{ range .Site.Params.social }}
<a href="{{ .url }}" title="{{ .name }}"
class="bg-black rounded-full p-3 mx-2 my-2 transform hover:scale-110 active:scale-90 transition-transform duration-300 ease-in-out"
{{ if .blank }} target="_blank" {{ end }} {{ if strings.HasPrefix .url "http" }} rel="noopener" {{ end }}>
<img src="{{ .icon | relURL }}" alt="{{ .alt }}" class="w-4 h-4 md:w-6 md:h-6">
</a>
{{ end }}
</div>
|