Skip to content

Commit ef67b2a

Browse files
przemekgorzynskinicokaiser
authored andcommitted
Add WhatsApp icon to social-icons
1 parent 1b2dd78 commit ef67b2a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

layouts/partials/social-icons.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,5 +99,12 @@
9999
</svg>
100100
</a>
101101
{{ end }}
102+
{{ with .whatsapp }}
103+
<a target="_blank" rel="noopener" title="Whatsapp" href="https://wa.me/{{ . | urlize }}">
104+
<svg width="24" height="24" fill="currentColor" viewBox="0 0 448 512" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
105+
<path d="M380.9 97.1c-45.6-45.6-106.3-70.7-170.6-70.7C93.1 26.4 0 119.5 0 233.6c0 41.1 10.8 81.3 31.4 116.5L2.2 481.6c-3.4 14.6 10.1 27.6 24.4 23.5l118.8-33.6c31.9 17.4 67.6 26.5 104.9 26.5h.1c114 0 207.1-93.1 207.1-207.2 0-64.3-25.1-125-70.6-170.7zm-170.7 352c-30.3 0-60.2-8.1-86.2-23.4l-6.2-3.7-70.4 19.9 19.9-68.4-4.1-6.5c-19.4-31.1-29.6-67.1-29.6-104.4 0-108.2 88-196.2 196.2-196.2 52.4 0 101.6 20.4 138.6 57.4s57.4 86.2 57.4 138.6c0 108.2-88 196.2-196.2 196.2zm101.4-138.4c-5.5-2.8-32.6-16.1-37.7-17.9-5.1-1.9-8.8-2.8-12.5 2.8s-14.3 17.9-17.6 21.6c-3.2 3.7-6.5 4.1-12 1.4-32.6-16.3-54-29.1-75.5-66.1-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7s-12.5-30.1-17.1-41.2c-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2s-9.7 1.4-14.8 6.9c-5.1 5.5-19.5 19.1-19.5 46.6 0 27.5 20 54.1 22.8 57.9s39.3 60.1 95.2 84.3c13.3 5.7 23.7 9.1 31.8 11.6 13.4 4.3 25.6 3.7 35.2 2.2 10.7-1.6 32.6-13.3 37.2-26.2s4.6-23.9 3.2-26.2c-1.3-2.3-5-3.7-10.5-6.5z"/>
106+
</svg>
107+
</a>
108+
{{ end }}
102109
</section>
103110
{{ end }}

0 commit comments

Comments
 (0)