Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/leonardofaria/bento.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-09-17 19:35:38 +0300
committerRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-09-17 19:35:38 +0300
commit93365e073f20aa776cc17f70db36e8eac5413849 (patch)
tree052e55e80068ef6889ad39a16a42a2fac8182225
parent8bebb1653e121a7337d70e6189b78a31868514d6 (diff)
added social media icons
Added social media icons for Instagram, Medium, and Telegram.
-rw-r--r--layouts/partials/nav-social-links.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/layouts/partials/nav-social-links.html b/layouts/partials/nav-social-links.html
index 43f5373..2bb8679 100644
--- a/layouts/partials/nav-social-links.html
+++ b/layouts/partials/nav-social-links.html
@@ -1,4 +1,14 @@
<ul class="flex justify-end">
+ {{ with .Site.Params.instagram }}
+ <li>
+ <a class="block p-2 opacity-75 hover:opacity-100 transition duration-300 ease-in-out" title="Instagram" href="https://www.instagram.com/{{ . }}" rel="me">
+ <svg class="fill-current w-5 h-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22">
+ <title>Instagram</title>
+ <path d="M7.8,2H16.2C19.4,2 22,4.6 22,7.8V16.2A5.8,5.8 0 0,1 16.2,22H7.8C4.6,22 2,19.4 2,16.2V7.8A5.8,5.8 0 0,1 7.8,2M7.6,4A3.6,3.6 0 0,0 4,7.6V16.4C4,18.39 5.61,20 7.6,20H16.4A3.6,3.6 0 0,0 20,16.4V7.6C20,5.61 18.39,4 16.4,4H7.6M17.25,5.5A1.25,1.25 0 0,1 18.5,6.75A1.25,1.25 0 0,1 17.25,8A1.25,1.25 0 0,1 16,6.75A1.25,1.25 0 0,1 17.25,5.5M12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9Z"></path>
+ </svg>
+ </a>
+ </li>
+ {{ end }}
{{ with .Site.Params.twitter }}
<li>
<a class="block p-2 opacity-75 hover:opacity-100 transition duration-300 ease-in-out" title="Twitter" href="https://www.twitter.com/{{ . }}" rel="me">
@@ -9,6 +19,26 @@
</a>
</li>
{{ end }}
+ {{ with .Site.Params.telegram }}
+ <li>
+ <a class="block p-2 opacity-75 hover:opacity-100 transition duration-300 ease-in-out" title="Telegram" href="https://t.me/{{ . }}" rel="me">
+ <svg class="fill-current w-5 h-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 240">
+ <title>Telegram</title>
+ <path d="M222.51 19.53c-2.674.083-5.354.78-7.783 1.872-4.433 1.702-51.103 19.78-97.79 37.834C93.576 68.27 70.25 77.28 52.292 84.2 34.333 91.12 21.27 96.114 19.98 96.565c-4.28 1.502-10.448 3.905-14.582 8.76-2.066 2.428-3.617 6.794-1.804 10.53 1.812 3.74 5.303 5.804 10.244 7.69l.152.058.156.048c17.998 5.55 45.162 14.065 48.823 15.213.95 3.134 12.412 40.865 18.65 61.285 1.602 4.226 6.357 7.058 10.773 6.46.794.027 2.264.014 3.898-.378 2.383-.57 5.454-1.924 8.374-4.667l.002-.002c4.153-3.9 18.925-18.373 23.332-22.693l48.27 35.643.18.11s4.368 2.894 10.134 3.284c2.883.195 6.406-.33 9.455-2.556 3.05-2.228 5.25-5.91 6.352-10.71 3.764-16.395 29.428-138.487 33.83-158.837 2.742-10.348 1.442-18.38-3.7-22.872-2.59-2.26-5.675-3.275-8.827-3.395-.394-.015-.788-.016-1.183-.004zm.545 10.02c1.254.02 2.26.365 2.886.91 1.252 1.093 2.878 4.386.574 12.944-12.437 55.246-23.276 111.71-33.87 158.994-.73 3.168-1.752 4.323-2.505 4.873-.754.552-1.613.744-2.884.658-2.487-.17-5.36-1.72-5.488-1.79l-78.207-57.745c7.685-7.266 59.17-55.912 87.352-81.63 3.064-2.95.584-8.278-3.53-8.214-5.294 1.07-9.64 4.85-14.437 7.212-34.79 20.36-100.58 60.213-106.402 63.742-3.04-.954-30.89-9.686-49.197-15.332-2.925-1.128-3.962-2.02-4.344-2.36.007-.01.002.004.01-.005 1.362-1.6 6.97-4.646 10.277-5.807 2.503-.878 14.633-5.544 32.6-12.467 17.965-6.922 41.294-15.938 64.653-24.97 32.706-12.647 65.46-25.32 98.137-37.98 1.617-.75 3.12-1.052 4.375-1.032zM100.293 158.41l19.555 14.44c-5.433 5.32-18.327 17.937-21.924 21.322l2.37-35.762z"></path>
+ </svg>
+ </a>
+ </li>
+ {{ end }}
+ {{ with .Site.Params.medium }}
+ <li>
+ <a class="block p-2 opacity-75 hover:opacity-100 transition duration-300 ease-in-out" title="Medium" href="https://www.medium.com/@{{ . }}" rel="me">
+ <svg class="fill-current w-5 h-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
+ <title>Instagram</title>
+ <path d="M2.846 6.887c.03-.295-.083-.586-.303-.784l-2.24-2.7v-.403h6.958l5.378 11.795 4.728-11.795h6.633v.403l-1.916 1.837c-.165.126-.247.333-.213.538v13.498c-.034.204.048.411.213.537l1.871 1.837v.403h-9.412v-.403l1.939-1.882c.19-.19.19-.246.19-.537v-10.91l-5.389 13.688h-.728l-6.275-13.688v9.174c-.052.385.076.774.347 1.052l2.521 3.058v.404h-7.148v-.404l2.521-3.058c.27-.279.39-.67.325-1.052v-10.608z"></path>
+ </svg>
+ </a>
+ </li>
+ {{ end }}
{{ with .Site.Params.github }}
<li>
<a class="block p-2 opacity-75 hover:opacity-100 transition duration-300 ease-in-out" title="Github" href="https://www.github.com/{{ . }}" rel="me">