changed label to `website`; defined SVG

This commit is contained in:
Brandon Rosage 2019-03-25 12:31:06 -05:00
Родитель 1327dfdaed
Коммит 879378043c
3 изменённых файлов: 5 добавлений и 6 удалений

Просмотреть файл

@ -38,7 +38,7 @@ projects:
# twitter: your_username
# youtube: your_username
# vk: your_username
# web: http://your_website
# website: http://your_website_url
topics:
- name: CSS

Просмотреть файл

@ -53,7 +53,6 @@ vk:
share_url_prefix: https://vk.com/share.php?url=
icon_svg: '<svg height="20" viewBox="0 0 20 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M19.5294 0.826078C19.6776 0.360085 19.5294 0.0211812 18.8727 0.0211812H16.691C16.1403 0.0211812 15.8861 0.317723 15.7379 0.635446C15.7379 0.635446 14.6153 3.34668 13.0478 5.10474C12.5395 5.6131 12.3065 5.78256 12.0311 5.78256C11.8828 5.78256 11.6922 5.6131 11.6922 5.14711V0.804897C11.6922 0.254177 11.5227 0 11.0568 0H7.62535C7.28644 0 7.07463 0.254177 7.07463 0.508355C7.07463 1.03789 7.85834 1.16498 7.94307 2.64769V5.86728C7.94307 6.56627 7.81598 6.69336 7.54062 6.69336C6.79927 6.69336 4.99884 3.96094 3.91858 0.847261C3.70677 0.232997 3.49495 0 2.94423 0H0.741353C0.105908 0 0 0.29654 0 0.614263C0 1.18616 0.741354 4.06685 3.45259 7.87952C5.25302 10.4849 7.81598 11.8828 10.1248 11.8828C11.5227 11.8828 11.6922 11.5651 11.6922 11.0356V9.06569C11.6922 8.43025 11.8193 8.32434 12.2641 8.32434C12.5818 8.32434 13.1537 8.49379 14.4458 9.7435C15.9285 11.2262 16.1827 11.904 17.0088 11.904H19.1905C19.8259 11.904 20.1224 11.5863 19.953 10.972C19.7624 10.3578 19.0422 9.46814 18.1102 8.40906C17.6018 7.81598 16.8393 7.15935 16.6063 6.84163C16.2886 6.418 16.3733 6.24855 16.6063 5.86728C16.5851 5.86728 19.254 2.09697 19.5294 0.826078Z" fill="#959DA5"/></svg>'
web:
name: Web Site
icon_svg: '<svg height="20" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M10,2.531c-4.125,0-7.469,3.344-7.469,7.469c0,4.125,3.344,7.469,7.469,7.469c4.125,0,7.469-3.344,7.469-7.469C17.469,5.875,14.125,2.531,10,2.531 M10,3.776c1.48,0,2.84,0.519,3.908,1.384c-1.009,0.811-2.111,1.512-3.298,2.066C9.914,6.072,9.077,5.017,8.14,4.059C8.728,3.876,9.352,3.776,10,3.776 M6.903,4.606c0.962,0.93,1.82,1.969,2.53,3.112C7.707,8.364,5.849,8.734,3.902,8.75C4.264,6.976,5.382,5.481,6.903,4.606 M3.776,10c2.219,0,4.338-0.418,6.29-1.175c0.209,0.404,0.405,0.813,0.579,1.236c-2.147,0.805-3.953,2.294-5.177,4.195C4.421,13.143,3.776,11.648,3.776,10 M10,16.224c-1.337,0-2.572-0.426-3.586-1.143c1.079-1.748,2.709-3.119,4.659-3.853c0.483,1.488,0.755,3.071,0.784,4.714C11.271,16.125,10.646,16.224,10,16.224 M13.075,15.407c-0.072-1.577-0.342-3.103-0.806-4.542c0.673-0.154,1.369-0.243,2.087-0.243c0.621,0,1.22,0.085,1.807,0.203C15.902,12.791,14.728,14.465,13.075,15.407 M14.356,9.378c-0.868,0-1.708,0.116-2.515,0.313c-0.188-0.464-0.396-0.917-0.621-1.359c1.294-0.612,2.492-1.387,3.587-2.284c0.798,0.97,1.302,2.187,1.395,3.517C15.602,9.455,14.99,9.378,14.356,9.378" fill="#959da5"/></svg>'
website:
name: Website
icon_svg: '<svg class="octicon octicon-globe" viewBox="0 0 14 16" version="1.1" width="20" height="20" aria-hidden="true"><path fill-rule="evenodd" d="M7 1C3.14 1 0 4.14 0 8s3.14 7 7 7c.48 0 .94-.05 1.38-.14-.17-.08-.2-.73-.02-1.09.19-.41.81-1.45.2-1.8-.61-.35-.44-.5-.81-.91-.37-.41-.22-.47-.25-.58-.08-.34.36-.89.39-.94.02-.06.02-.27 0-.33 0-.08-.27-.22-.34-.23-.06 0-.11.11-.2.13-.09.02-.5-.25-.59-.33-.09-.08-.14-.23-.27-.34-.13-.13-.14-.03-.33-.11s-.8-.31-1.28-.48c-.48-.19-.52-.47-.52-.66-.02-.2-.3-.47-.42-.67-.14-.2-.16-.47-.2-.41-.04.06.25.78.2.81-.05.02-.16-.2-.3-.38-.14-.19.14-.09-.3-.95s.14-1.3.17-1.75c.03-.45.38.17.19-.13-.19-.3 0-.89-.14-1.11-.13-.22-.88.25-.88.25.02-.22.69-.58 1.16-.92.47-.34.78-.06 1.16.05.39.13.41.09.28-.05-.13-.13.06-.17.36-.13.28.05.38.41.83.36.47-.03.05.09.11.22s-.06.11-.38.3c-.3.2.02.22.55.61s.38-.25.31-.55c-.07-.3.39-.06.39-.06.33.22.27.02.5.08.23.06.91.64.91.64-.83.44-.31.48-.17.59.14.11-.28.3-.28.3-.17-.17-.19.02-.3.08-.11.06-.02.22-.02.22-.56.09-.44.69-.42.83 0 .14-.38.36-.47.58-.09.2.25.64.06.66-.19.03-.34-.66-1.31-.41-.3.08-.94.41-.59 1.08.36.69.92-.19 1.11-.09.19.1-.06.53-.02.55.04.02.53.02.56.61.03.59.77.53.92.55.17 0 .7-.44.77-.45.06-.03.38-.28 1.03.09.66.36.98.31 1.2.47.22.16.08.47.28.58.2.11 1.06-.03 1.28.31.22.34-.88 2.09-1.22 2.28-.34.19-.48.64-.84.92s-.81.64-1.27.91c-.41.23-.47.66-.66.8 3.14-.7 5.48-3.5 5.48-6.84 0-3.86-3.14-7-7-7L7 1zm1.64 6.56c-.09.03-.28.22-.78-.08-.48-.3-.81-.23-.86-.28 0 0-.05-.11.17-.14.44-.05.98.41 1.11.41.13 0 .19-.13.41-.05.22.08.05.13-.05.14zM6.34 1.7c-.05-.03.03-.08.09-.14.03-.03.02-.11.05-.14.11-.11.61-.25.52.03-.11.27-.58.3-.66.25zm1.23.89c-.19-.02-.58-.05-.52-.14.3-.28-.09-.38-.34-.38-.25-.02-.34-.16-.22-.19.12-.03.61.02.7.08.08.06.52.25.55.38.02.13 0 .25-.17.25zm1.47-.05c-.14.09-.83-.41-.95-.52-.56-.48-.89-.31-1-.41-.11-.1-.08-.19.11-.34.19-.15.69.06 1 .09.3.03.66.27.66.55.02.25.33.5.19.63h-.01z"/></svg>'

Просмотреть файл

@ -40,7 +40,7 @@
<div class="mr-3 mb-3">
{% assign service_shortname = account[0] %}
{% assign service = site.data.social_media[service_shortname] %}
<a href="{{ service.profile_url_prefix }}{{ account[1] }}" title="{{ service.name }}: {{ account[1] }}" class="tooltipped tooltipped-s" aria-label="{{ service.name }}: {{ account[1] }}">
<a href="{{ service.profile_url_prefix }}{{ account[1] }}" title="{{ service.name }}: {{ account[1] }}" class="tooltipped tooltipped-se" aria-label="{{ service.name }}: {{ account[1] }}">
{{ service.icon_svg }}<span class="d-none">{{ service.name }}</span>
</a>
</div>