diff options
| author | WÁNG Xuěruì <1175567+xen0n@users.noreply.github.com> | 2022-03-11 23:06:14 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-11 20:36:14 +0530 |
| commit | 26315a9e4cccb69bc75126c875ff2ab80a7b7547 (patch) | |
| tree | 5fd3a222c68fd5040d073deb00241cf248d383cf | |
| parent | 912eddde0a79b883fc8fdc88d23d297b8be1bb22 (diff) | |
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).
| -rw-r--r-- | layouts/partials/svg.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html index 89446be..51a0fc1 100644 --- a/layouts/partials/svg.html +++ b/layouts/partials/svg.html @@ -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" |
