www_duniayetu/templates/partials/socialLinks.html

21 lines
753 B
HTML
Raw Normal View History

2022-11-15 11:11:07 +00:00
<div class="flex space-x-6">
{% for key, link in section.extra.socialLinks %}
<a href="{{link}}" target="_blank" class="text-gray-400 hover:text-gray-500">
<span class="sr-only">{{key}}</span>
{% if key == "Facebook" %}
{% include "partials/icons/svgFacebookIcon.html" %}
{% elif key == "Github" %}
{% include "partials/icons/svgGithubIcon.html" %}
{% elif key == "Instagram" %}
{% include "partials/icons/svgInstagramIcon.html" %}
{% elif key == "Twitter" %}
{% include "partials/icons/svgTwitterIcon.html" %}
{% elif key == "Dribbble" %}
{% include "partials/icons/svgDribbbleIcon.html" %}
{% endif %}
</a>
{% endfor %}
</div>