Skip to content

Commit

Permalink
Added Etsy and TikTok icons.
Browse files Browse the repository at this point in the history
  • Loading branch information
MaikelChan committed Nov 30, 2023
1 parent ac03834 commit dced558
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ The following icons are supported, please make sure the `name` filed is exactly
| `shutterstock` | `freepik` | `adobestock` | `123rf` |
| `dreamstime` | `dribbble` | `behance` | `paypal` |
| `twitch` | `qq` | `mastodon` | `discord` |
| `etsy` | `tiktok` | | |

If that's not enough, you can see [Overriding templates](#overriding-templates) section.

Expand Down
4 changes: 4 additions & 0 deletions layouts/partials/svg.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@
<svg xmlns="http://www.w3.org/2000/svg" fill="#3B3E48" width="64px" height="64px" viewBox="-2.4 -2.4 28.80 28.80" id="up-circle" data-name="Flat Color" xmlns="http://www.w3.org/2000/svg" class="icon flat-color" stroke="#3B3E48" stroke-width="0.00024000000000000003"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" stroke="#CCCCCC" stroke-width="0.9600000000000002"><circle id="primary" cx="12" cy="12" r="10" style="fill: #3B3E48;"></circle><path id="secondary" d="M15,14a1,1,0,0,1-.71-.29L12,11.41l-2.29,2.3a1,1,0,0,1-1.42-1.42l3-3a1,1,0,0,1,1.42,0l3,3a1,1,0,0,1,0,1.42A1,1,0,0,1,15,14Z" style="fill: #018574;"></path></g><g id="SVGRepo_iconCarrier"><circle id="primary" cx="12" cy="12" r="10" style="fill: #3B3E48;"></circle><path id="secondary" d="M15,14a1,1,0,0,1-.71-.29L12,11.41l-2.29,2.3a1,1,0,0,1-1.42-1.42l3-3a1,1,0,0,1,1.42,0l3,3a1,1,0,0,1,0,1.42A1,1,0,0,1,15,14Z" style="fill: #018574;"></path></g></svg>
{{- else if (eq .name "discord") -}}
<svg xmlns="http://www.w3.org/2000/svg" class="feather" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke-linecap="round" stroke-linejoin="round"><path d="M8.82889 11.203C7.86239 11.203 7.09937 12.0508 7.09937 13.0852C7.09937 14.1195 7.87935 14.9673 8.82889 14.9673C9.79538 14.9673 10.5584 14.1195 10.5584 13.0852C10.5754 12.0508 9.79538 11.203 8.82889 11.203ZM15.0178 11.203C14.0514 11.203 13.2883 12.0508 13.2883 13.0852C13.2883 14.1195 14.0683 14.9673 15.0178 14.9673C15.9843 14.9673 16.7474 14.1195 16.7474 13.0852C16.7474 12.0508 15.9843 11.203 15.0178 11.203Z" fill="currentColor"/><path d="M14.8477 18.3649C14.8874 18.4483 14.9381 18.5296 15.0005 18.6075C15.3663 19.0644 15.7387 19.5135 15.8832 19.687C16.1242 19.9764 16.4855 20.1329 16.8553 20.117C20.6839 19.9522 22.4053 17.6063 22.7126 17.1342C22.8526 16.919 22.9029 16.6887 22.9023 16.4867C22.8862 11.0873 20.6126 6.69288 20.3618 6.22299C20.2686 6.04849 20.1448 5.9213 20.0223 5.83024C17.6324 4.05442 15.3398 3.89258 14.7987 3.87945C14.4248 3.87037 14.1018 4.039 13.8908 4.28019C13.7833 4.40298 13.7069 4.53817 13.659 4.67843C12.4808 4.5498 11.3488 4.5684 10.3271 4.681C10.2848 4.54257 10.2137 4.40813 10.1111 4.28494C9.90289 4.03513 9.58304 3.87239 9.22517 3.87894C8.72884 3.88801 6.40341 4.02781 3.9777 5.83024C3.85516 5.9213 3.73139 6.04849 3.63825 6.22299C3.38742 6.69289 1.11365 11.0876 1.09774 16.4873C1.09715 16.6871 1.14634 16.9155 1.28416 17.1296C1.58866 17.6027 3.29601 19.9515 7.12649 20.1169C7.50079 20.1331 7.86486 19.9726 8.10512 19.6794C8.2521 19.5 8.63516 19.0311 9.00416 18.5683C9.06865 18.4874 9.12057 18.4028 9.16075 18.316C9.32759 18.3546 9.49869 18.391 9.67405 18.4248L9.67405 18.4248L9.68004 18.426C11.0465 18.681 12.6626 18.7747 14.4312 18.4443C14.5698 18.4206 14.7086 18.3942 14.8477 18.3649Z" stroke="currentColor" stroke-width="2"/></svg>
{{- else if (eq .name "etsy") -}}
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="currentColor" stroke="none" class="feather feather-archive"><path d="M8.802,3.202l0,8.142c0,0 2.869,0 4.405,-0.116c1.207,-0.212 1.43,-0.328 1.652,-1.536l0.444,-1.768l1.313,-0l-0.222,3.865l0.117,3.959l-1.324,0l-0.328,-1.546c-0.328,-1.1 -0.773,-1.324 -1.652,-1.43c-1.101,-0.116 -4.405,-0.116 -4.405,-0.116l0,6.829c0,1.313 0.667,1.874 2.203,1.874l4.626,-0c1.43,-0 2.858,-0.117 3.749,-2.202l1.196,-2.647l1.112,0c-0.117,0.55 -0.667,5.399 -0.773,6.49c0,-0 -4.182,-0.106 -5.94,-0.106l-7.93,0l-4.733,0.106l0,-1.197l1.536,-0.338c1.111,-0.223 1.439,-0.551 1.439,-1.43c0,-0 0.117,-2.975 0.117,-7.931c-0,-4.943 -0.117,-7.919 -0.117,-7.919c0,-0.986 -0.328,-1.208 -1.439,-1.43l-1.536,-0.325l0,-1.208l4.627,0.095l8.809,0c1.757,0 4.721,-0.317 4.721,-0.317c0,-0 -0.106,1.863 -0.222,6.268l-1.208,-0l-0.444,-1.547c-0.434,-1.979 -1.091,-2.965 -2.308,-2.965l-6.924,0c-0.561,0.002 -0.561,0.107 -0.561,0.446Z"/></svg>
{{- else if (eq .name "tiktok") -}}
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-archive"><path d="M18.727,5.41c-1.185,-0.773 -2.04,-2.009 -2.307,-3.45c-0.058,-0.312 -0.089,-0.632 -0.089,-0.96l-3.783,0l-0.006,15.158c-0.063,1.697 -1.46,3.06 -3.173,3.06c-0.532,-0 -1.034,-0.133 -1.475,-0.366c-1.012,-0.532 -1.704,-1.593 -1.704,-2.814c-0,-1.753 1.426,-3.179 3.179,-3.179c0.327,-0 0.641,0.054 0.938,0.147l0,-3.861c-0.307,-0.042 -0.619,-0.068 -0.938,-0.068c-3.839,-0 -6.962,3.123 -6.962,6.961c0,2.356 1.177,4.44 2.972,5.7c1.131,0.794 2.507,1.262 3.99,1.262c3.839,0 6.962,-3.123 6.962,-6.962l-0,-7.686c1.483,1.065 3.3,1.692 5.262,1.692l-0,-3.782c-1.057,-0 -2.041,-0.314 -2.866,-0.852"/></svg>
{{- else if (eq .name "admonition_note") -}}
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-edit-2"><path d="M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z"></path></svg>
{{- else if (eq .name "admonition_info") -}}
Expand Down

0 comments on commit dced558

Please sign in to comment.