mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-12-22 17:15:07 +01:00
Add icon for Bilibili (#814)
The icon is re-drawn by myself to use outlines, referring to the icon used on bilibili.com and the simpleicons version (which all used fills).
This commit is contained in:
parent
912eddde0a
commit
26315a9e4c
@ -21,6 +21,14 @@
|
||||
style="font-variation-settings:normal"
|
||||
d="M1.774 18.063V5.466h5.51c1.978 0 3.116 1.326 3.055 2.806-.043 1.049-.711 2.988-2.643 2.988h-5.93H7.73c1.224 0 3.532 1.13 3.532 3.532 0 2.4-1.873 3.27-3.318 3.27zm12.57-4.459h7.89s.012-4.18-4.167-4.18c-5.237 0-5.277 9.11-.3 9.11 3.06 0 3.935-1.806 3.935-1.806M15.526 5.823h4.987" />
|
||||
</svg>
|
||||
{{- else if (eq $icon_name "bilibili") -}}
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect x="1.3333" y="6" width="21.333" height="15.333" rx="4" ry="4"/>
|
||||
<path d="m8 12.4v1.2"/>
|
||||
<path d="m16 12.4v1.2"/>
|
||||
<path d="m5.8853 2.6667 2.6667 2.6667"/>
|
||||
<path d="m18.115 2.6667-2.6667 2.6667"/>
|
||||
</svg>
|
||||
{{- else if (eq $icon_name "buymeacoffee") -}}
|
||||
<svg viewBox="0 0 884 1279" fill="none" stroke="currentColor" stroke-width="2" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M791.109 297.518L790.231 297.002L788.201 296.383C789.018 297.072 790.04 297.472 791.109 297.518Z"
|
||||
|
Loading…
Reference in New Issue
Block a user