From 86616028f8b8dcef564c033bc61dc1f8fd149772 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Sat, 11 May 2024 19:48:47 +0530 Subject: [PATCH] Refactor svgs --- layouts/partials/svg.html | 379 +++++++++++++++++++------------------- 1 file changed, 189 insertions(+), 190 deletions(-) diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html index 9d292b0e51..93c6c8ca9c 100644 --- a/layouts/partials/svg.html +++ b/layouts/partials/svg.html @@ -1,57 +1,57 @@ {{- $icon_name := ( trim .name " " | lower )}} {{- if (eq $icon_name "123rf") -}} - + {{- else if (eq $icon_name "adobestock") -}} - + {{- else if (eq $icon_name "anilist") -}} - + {{- else if or (eq $icon_name "ao3") (eq $icon_name "archiveofourown") -}} - + {{- else if (eq $icon_name "applemusic") -}} - + {{- else if (eq $icon_name "applepodcasts") -}} - + {{- else if (eq $icon_name "bandcamp") -}} - + {{- else if (eq $icon_name "behance") -}} - + {{- else if (eq $icon_name "bilibili") -}} - + @@ -59,27 +59,26 @@ {{- else if (eq $icon_name "bitcoin") -}} - + {{- else if (eq $icon_name "bluesky") -}} - + {{- else if (eq $icon_name "bugcrowd") -}} - + {{- else if (eq $icon_name "buttondown") -}} - - - - + + + + @@ -91,7 +90,8 @@ {{- else if (eq $icon_name "buymeacoffee") -}} - + @@ -129,19 +129,19 @@ fill="currentColor"> {{- else if (eq $icon_name "codeberg") -}} - + {{- else if (eq $icon_name "codeforces") -}} - + {{- else if (eq $icon_name "codepen") -}} - + @@ -149,12 +149,12 @@ {{- else if (eq $icon_name "credly") -}} - + {{- else if (eq $icon_name "cryptohack") -}} - + {{- else if (eq $icon_name "ctftime") -}} - + @@ -186,34 +186,34 @@ {{- else if (eq $icon_name "deezer") -}} - + {{- else if (eq $icon_name "dev") -}} - + {{- else if (eq $icon_name "deviantart") -}} - + {{- else if (eq $icon_name "discogs") -}} - + {{- else if (eq $icon_name "discord") -}} - + {{- else if (eq $icon_name "douban") -}} - + @@ -221,16 +221,16 @@ d="m16.48864,19.78508c0.6885,-1.05398 1.33827,-2.27636 1.94031,-3.66377l-2.30206,-0.83906c-0.59872,1.64418 -1.29579,3.14745 -2.08899,4.50283l-4.00578,0c-0.66389,-1.75663 -1.41312,-3.25884 -2.25363,-4.50283l-2.11727,0.83906c0.87327,1.30991 1.57742,2.52932 2.11727,3.66377l-5.89733,0l0,2.13406l20.23769,0l0,-2.13406l-5.63021,0z" /> {{- else if (eq $icon_name "dreamstime") -}} - + {{- else if (eq $icon_name "dribbble") -}} - + @@ -238,18 +238,18 @@ d="M8.533 3.208s2.888 2.73 5.339 9.235c2.451 6.505 2.344 8.4 2.344 8.4" /> {{- else if (eq $icon_name "email") -}} - + {{- else if (eq $icon_name "ethereum") -}} - + {{- else if (eq $icon_name "exercism") -}} - {{- else if (eq $icon_name "facebook") -}} - + {{- else if (eq $icon_name "fediverse") -}} - + @@ -285,18 +285,18 @@ {{- else if (eq $icon_name "firefish") -}} - + {{- else if (eq $icon_name "flickr") -}} - + {{- else if (eq $icon_name "freepik") -}} - + @@ -307,55 +307,55 @@ {{- else if (eq $icon_name "git") -}} - {{- else if (eq $icon_name "gitea") -}} - + {{- else if (eq $icon_name "github") -}} - + {{- else if (eq $icon_name "gitlab") -}} - + {{- else if (eq $icon_name "goodreads") -}} - + {{- else if (eq $icon_name "googleplaystore") -}} - + {{- else if (eq $icon_name "googlepodcasts") -}} - + {{- else if (eq $icon_name "googlescholar") -}} - {{- else if (eq $icon_name "gurushots") -}} - + @@ -368,13 +368,13 @@ {{- else if (eq $icon_name "hackerone") -}} - + {{- else if (eq $icon_name "hackerrank") -}} - + {{- else if (eq $icon_name "hackthebox") -}} - + @@ -394,40 +394,40 @@ {{- else if (eq $icon_name "imdb") -}} - + {{- else if (eq $icon_name "instagram") -}} - + {{- else if (eq $icon_name "intigriti") -}} - + {{- else if (eq $icon_name "itchio") -}} - + {{- else if (eq $icon_name "juejin") -}} - + {{- else if (eq $icon_name "kaggle") -}} - + {{- else if (eq $icon_name "kakaotalk") -}} - + @@ -438,48 +438,47 @@ d="m18.25 9.689v-1.189c0-.992-1.5-.993-1.5 0v5c0 .992 1.5.993 1.5 0v-1.469c1.605 1.746 1.657 2.219 2.25 2.219.63 0 .991-.747.569-1.239l-1.857-2.163 1.823-1.823c.002-.003.005-.005.007-.008.001-.001.002-.002.003-.003.681-.706-.373-1.747-1.07-1.05z" /> {{- else if (eq $icon_name "keybase") -}} - + {{- else if (eq $icon_name "keyoxide") -}} - + {{- else if (eq $icon_name "kofi") -}} - + {{- else if (eq $icon_name "komoot") -}} - + {{- else if (eq $icon_name "lastfm") -}} - + {{- else if (eq $icon_name "leetcode") -}} - {{- else if (eq $icon_name "letterboxd") -}} - + {{- else if (eq $icon_name "liberapay") -}} - + @@ -488,20 +487,20 @@ {{- else if (eq $icon_name "lichess" ) -}} - + {{- else if (eq $icon_name "linkedin") -}} - + {{- else if (eq $icon_name "mastodon") -}} - + @@ -510,20 +509,20 @@ fill="currentColor" stroke="none" /> {{- else if (eq $icon_name "matrix") -}} - + {{- else if (eq $icon_name "medium") -}} - + {{- else if (eq $icon_name "microblog") -}} - + {{- else if (eq $icon_name "mixcloud") -}} - + {{- else if (eq $icon_name "monero") -}} - + {{- else if (eq $icon_name "neteasecloudmusic") -}} - + {{- else if (eq $icon_name "nuget") -}} - + @@ -560,14 +558,13 @@ {{- else if (eq $icon_name "orcid") -}} - + {{- else if (eq $icon_name "osu!") -}} - + @@ -575,38 +572,38 @@ {{- else if (eq $icon_name "overcast") -}} - + {{- else if (eq $icon_name "patreon") -}} - + {{- else if (eq $icon_name "paypal") -}} - + {{- else if (eq $icon_name "peertube") -}} - + {{- else if or (eq $icon_name "pgpkey") (eq $icon_name "key") -}} - + {{- else if (eq $icon_name "phone") -}} - + {{- else if (eq $icon_name "pinterest") -}} - + {{- else if (eq $icon_name "pixelfed") -}} - + {{- else if (eq $icon_name "pleroma") -}} - + {{- else if (eq $icon_name "pocketcasts") -}} - + {{- else if (eq $icon_name "polywork") -}} -