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

github.com/rhazdon/hugo-theme-hello-friend-ng.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPranaya Deomani <pranayadeomani@protonmail.com>2022-01-18 09:55:33 +0300
committerPranaya Deomani <pranayadeomani@protonmail.com>2022-01-18 09:55:33 +0300
commit7721cf989376418d783601ce4bf85e92757c1fd2 (patch)
tree6651c27034084baf1452410ecb04f8483ff5b0f3
parent5bbf4dfb9c38a6ca1f3e18e1457e5455f1fcec3e (diff)
svg: Add PayPal icon from Simple Icons
* https://simpleicons.org/?q=paypal
-rw-r--r--docs/svgs.md1
-rw-r--r--layouts/partials/svg.html2
2 files changed, 3 insertions, 0 deletions
diff --git a/docs/svgs.md b/docs/svgs.md
index 146dcb7..3e3d464 100644
--- a/docs/svgs.md
+++ b/docs/svgs.md
@@ -49,6 +49,7 @@
- [opencollective](https://simpleicons.org/?q=opencollective)
- [orcid](https://simpleicons.org/?q=orcid)
- [patreon](https://simpleicons.org/?q=patreon)
+- [paypal](https://simpleicons.org/?q=paypal)
- [peertube](https://simpleicons.org/?q=peertube)
- [pinterest](https://simpleicons.org/?q=pinterest)
- [pixelfed](https://github.com/pixelfed/pixelfed/blob/dev/public/img/pixelfed-icon-black.svg)
diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html
index 5fc78a1..ac45b3b 100644
--- a/layouts/partials/svg.html
+++ b/layouts/partials/svg.html
@@ -96,6 +96,8 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="currentColor" stroke-width="2"><path d="M12 0C5.372 0 0 5.372 0 12s5.372 12 12 12 12-5.372 12-12S18.628 0 12 0zM7.369 4.378c.525 0 .947.431.947.947s-.422.947-.947.947a.95.95 0 0 1-.947-.947c0-.525.422-.947.947-.947zm-.722 3.038h1.444v10.041H6.647V7.416zm3.562 0h3.9c3.712 0 5.344 2.653 5.344 5.025 0 2.578-2.016 5.025-5.325 5.025h-3.919V7.416zm1.444 1.303v7.444h2.297c3.272 0 4.022-2.484 4.022-3.722 0-2.016-1.284-3.722-4.097-3.722h-2.222z"/></svg>
{{- else if (eq .name "patreon") -}}
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M0 .48v23.04h4.22V.48zm15.385 0c-4.764 0-8.641 3.88-8.641 8.65 0 4.755 3.877 8.623 8.641 8.623 4.75 0 8.615-3.868 8.615-8.623C24 4.36 20.136.48 15.385.48z"/></svg>
+{{- else if (eq .name "paypal") -}}
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M7.076 21.337H2.47a.641.641 0 0 1-.633-.74L4.944.901C5.026.382 5.474 0 5.998 0h7.46c2.57 0 4.578.543 5.69 1.81 1.01 1.15 1.304 2.42 1.012 4.287-.023.143-.047.288-.077.437-.983 5.05-4.349 6.797-8.647 6.797h-2.19c-.524 0-.968.382-1.05.9l-1.12 7.106zm14.146-14.42a3.35 3.35 0 0 0-.607-.541c-.013.076-.026.175-.041.254-.93 4.778-4.005 7.201-9.138 7.201h-2.19a.563.563 0 0 0-.556.479l-1.187 7.527h-.506l-.24 1.516a.56.56 0 0 0 .554.647h3.882c.46 0 .85-.334.922-.788.06-.26.76-4.852.816-5.09a.932.932 0 0 1 .923-.788h.58c3.76 0 6.705-1.528 7.565-5.946.36-1.847.174-3.388-.777-4.471z"/></svg>
{{- else if (eq .name "peertube") }}
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="currentColor" stroke="none"><path d="M3,0v12l9-6L3,0z M3,12v12l9-6L3,12z M12,6v12l9-6L12,6z"/></svg>
{{- else if (eq .name "pinterest") }}