Merge pull request #100 from gabrielgbs97/main

Ko-Fi icon and link capability
This commit is contained in:
Nuno Coração 2022-10-13 23:40:28 +01:00 committed by GitHub
commit d9f4f5cb55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 24 additions and 1 deletions

21
assets/icons/ko-fi.svg Normal file
View file

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg width="211.67mm" height="211.67mm" version="1.1" viewBox="0 0 211.67 211.67" xmlns="http://www.w3.org/2000/svg">
<defs>
<clipPath id="clipPath25">
<path d="m0 600h1654.8v-600h-1654.8z" fill="currentColor"/>
</clipPath>
</defs>
<g transform="translate(-3.0786 -29.59)">
<g transform="matrix(.35278 0 0 -.35278 3.0785 241.26)">
<g clip-path="url(#clipPath25)">
<g transform="translate(600 300)">
<path d="m-300 300c-165.69 0-300-134.31-300-300 0-165.69 134.31-300 300-300 165.68 0 300 134.31 300 300 0 165.69-134.32 300-300 300zm-188.93-166.99h329.58c23.223 0 46.032-6.8325 65.073-20.125 18.412-12.856 36.378-33.646 42.697-67.02 14.674-77.514-43.568-135.76-126.12-131.18 0.438-21.268-3.8105-59.422-44.878-69.696-3.282-0.821-6.6604-1.186-10.044-1.207-72.13-0.448-222.53-0.88916-222.53-0.88916s-46.066-0.01555-49.176 45.962c-1.023 77.88-0.48339 223.69-0.48339 223.69s-0.02651 2.9267-0.02051 3.6577c0.043 5.607 4.4359 16.8 15.901 16.8zm312.71-55.573v-107.8s14.302-1.6507 31.907 0.54932c20.356 6.6 39.06 20.901 39.06 57.199 0 14.85-5.2614 25.601-11.837 33.239-9.341 10.848-23.152 16.809-37.469 16.809h-21.661z" fill="currentColor"/>
</g>
<g transform="translate(256.61 203.37)">
<path d="m0 0c3.585-1.806 5.876 0.437 5.876 0.437s52.457 47.878 76.089 75.452c21.018 24.667 22.389 66.234-13.708 81.766-36.096 15.532-65.795-18.272-65.795-18.272-25.755 28.326-64.734 26.891-82.763 7.721-18.027-19.169-11.732-52.072 1.717-70.383 12.626-17.19 68.119-66.65 76.529-75.015 0 0 0.614-0.641 2.055-1.706" fill="currentColor"/>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

View file

@ -59,4 +59,5 @@ dateFormat = "2 January 2006"
# { twitter = "https://twitter.com/username" }, # { twitter = "https://twitter.com/username" },
# { whatsapp = "https://wa.me/phone-number" }, # { whatsapp = "https://wa.me/phone-number" },
# { youtube = "https://youtube.com/username" }, # { youtube = "https://youtube.com/username" },
# { ko-fi = "https://ko-fi.com/username" },
# ] # ]

View file

@ -10,7 +10,7 @@ tags: ["icons", "sample", "shortcodes"]
Blowfish has built-in support for a number of [FontAwesome 6](https://fontawesome.com/icons) icons. These can be included in your website through either the [icon partial]({{< ref "docs/partials#icon" >}}) or [icon shortcode]({{< ref "docs/shortcodes#icon" >}}). Blowfish has built-in support for a number of [FontAwesome 6](https://fontawesome.com/icons) icons. These can be included in your website through either the [icon partial]({{< ref "docs/partials#icon" >}}) or [icon shortcode]({{< ref "docs/shortcodes#icon" >}}).
Additionally, custom icons are also fully supported. Simply provide your own SVG icon assets by placing them in the `assets/icons/` directory in the root of your project. Any icons in the icons directory will then be available to use throughout the theme. Additionally, custom icons are also fully supported. Simply provide your own SVG icon assets by placing them in the `assets/icons/` directory in the root of your project. Any icons in the icons directory will then be available to use throughout the theme. In order achieve automatic color filling every SVG path needs fill="currentColor" XML attribute.
The full list of built-in icons and their corresponding names can referenced below. The full list of built-in icons and their corresponding names can referenced below.
@ -96,3 +96,4 @@ The full list of built-in icons and their corresponding names can referenced bel
| whatsapp | {{< icon whatsapp >}} | | whatsapp | {{< icon whatsapp >}} |
| xmark | {{< icon xmark >}} | | xmark | {{< icon xmark >}} |
| youtube | {{< icon youtube >}} | | youtube | {{< icon youtube >}} |
| ko-fi | {{< icon ko-fi >}} |