summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorExplore-Space <37936328+Explore-Space@users.noreply.github.com>2021-02-20 14:58:24 +0800
committerGitHub <noreply@github.com>2021-02-20 12:28:24 +0530
commit45c4b48e53ab8b9054b6ed6da2c72b17ef4de690 (patch)
treecd4a4feff9c5489a63f1e3ae1f87abcb75be6405
parentb71baa147a31dedfe7cf1c581f369a6491d72926 (diff)
Add social icon for unsplash (#255)
Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
-rw-r--r--layouts/partials/svg.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html
index 5ac94e9..e90f28d 100644
--- a/layouts/partials/svg.html
+++ b/layouts/partials/svg.html
@@ -356,6 +356,12 @@
d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z">
</path>
</svg>
+{{- else if (eq $icon_name "unsplash") -}}
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 40">
+ <path fill="none" stroke="currentColor" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="4"
+ d="M37.892,13.5h-4.486 l-1.143-3.306C31.707,8.581,30.189,7.5,28.483,7.5h-9.045c-1.706,0-3.224,1.081-3.781,2.694L14.515,13.5H9.108 c-2.545,0-4.608,2.063-4.608,4.608v16.785c0,2.545,2.063,4.608,4.608,4.608h28.785c2.545,0,4.608-2.063,4.608-4.608V18.108 C42.5,15.563,40.437,13.5,37.892,13.5z" />
+ <circle cx="24" cy="26" r="7.5" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="4" />
+</svg>
{{- else if (eq $icon_name "youtube") -}}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
stroke-linecap="round" stroke-linejoin="round">