Browse Source

Komoot tour link

master
Chris 5 years ago
parent
commit
24b917629c
  1. 9
      layouts/partials/social-activity.html
  2. 13
      layouts/partials/svg/komoot.svg
  3. 14
      layouts/partials/svg/velohero.svg

9
layouts/partials/social-activity.html

@ -1,7 +1,13 @@
{{ $icon_size := "32px" }}
{{ with .Param "komoot_activity" }}
<a href="{{ . }}" target="_blank" class="link-transition github link dib z-999 pt3 pt0-l mr1 pr3" title="Komoot-Aktivität" rel="noopener" aria-label="Tour on Komoot——Opens in a new window">
{{ partial "svg/komoot.svg" (dict "size" $icon_size) }}
</a>
{{ end }}
{{ with .Param "strava_activity" }}
<a href="{{ . }}" target="_blank" class="link-transition gitlab link dib z-999 pt3 pt0-l mr1 pr3" title="Strava-Aktivität" rel="noopener" aria-label="Our Strava Club——Opens in a new window">
<a href="{{ . }}" target="_blank" class="link-transition gitlab link dib z-999 pt3 pt0-l mr1 pr3" title="Strava-Aktivität" rel="noopener" aria-label="Activity on STRAVA——Opens in a new window">
{{ partial "svg/strava.svg" (dict "size" $icon_size) }}
</a>
{{ end }}
@ -11,4 +17,3 @@
{{ partial "svg/velohero.svg" (dict "size" $icon_size) }}
</a>
{{ end }}

13
layouts/partials/svg/komoot.svg

@ -0,0 +1,13 @@
<svg{{ with .size }}
height="{{ . }}" {{ end }}
aria-hidden="true" focusable="false" width="1em" height="1em"
style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);"
preserveAspectRatio="xMidYMid meet"
viewBox="0 0 24 24"
width="{{ .size }}"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" >
<path
d="M9.8 14.829l2.2-3.43l2.2 3.43l5.962 5.962A11.946 11.946 0 0 1 12 24c-3.043 0-5.935-1.14-8.162-3.209zM0 12C0 5.385 5.385 0 12 0c6.62 0 12 5.385 12 12c0 2.663-.855 5.175-2.469 7.284l-6.018-6.018c.15-.412.226-.839.226-1.27A3.743 3.743 0 0 0 12 8.257a3.743 3.743 0 0 0-3.739 3.739c0 .431.075.858.226 1.27l-6.018 6.018A11.865 11.865 0 0 1 0 12z"
/>
</svg>

14
layouts/partials/svg/velohero.svg

@ -1,12 +1,12 @@
<svg{{ with .size }}
height="{{ . }}" {{ end }}
style="enable-background:new 0 0 100 100;"
version="1.1"
viewBox="0 0 512 512"
width="{{ .size }}"
<svg{{ with .size }}
height="{{ . }}" {{ end }}
style="enable-background:new 0 0 100 100;"
version="1.1"
viewBox="0 0 512 512"
width="{{ .size }}"
xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<path fill="#418AC9" d="M496.262,58.5c-27.346-21.826-109.516-26.801-177.253-19.826c-66.118,6.812-106.564,23.399-162.844,64.305
<path d="M496.262,58.5c-27.346-21.826-109.516-26.801-177.253-19.826c-66.118,6.812-106.564,23.399-162.844,64.305
c-12.462,9.069-2.103,27.05,12.065,20.644c54.933-24.761,116.668-36.11,176.575-35.83c34.142,0.164,67.924,5.231,101.256,12.275
c15.241,3.23,30.443,7.637,46.082,5.48C519.98,101.726,515.885,74.155,496.262,58.5z"/>
<path d="M120.973,200.133c-4.164-15.958-2.327-29.432,4.04-40.704c-11.816-8.336-30.155-11.045-48.845-5.784

Loading…
Cancel
Save