Skip to content

Commit

Permalink
[design] add coffee icon
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieFox committed May 14, 2021
1 parent cbed3d1 commit e3dd87a
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 14 deletions.
4 changes: 4 additions & 0 deletions src/css/icons.css
Original file line number Diff line number Diff line change
Expand Up @@ -139,3 +139,7 @@
.icon-replay:before {
content: "\e904";
}

.icon-coffee:before {
content: "\e906";
}
Binary file modified src/fonts/icons/icons.eot
100755 → 100644
Binary file not shown.
2 changes: 1 addition & 1 deletion src/fonts/icons/icons.json
100755 → 100644

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/fonts/icons/icons.svg
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/fonts/icons/icons.ttf
100755 → 100644
Binary file not shown.
Binary file modified src/fonts/icons/icons.woff
100755 → 100644
Binary file not shown.
14 changes: 1 addition & 13 deletions src/html/menu/content/coffee/coffee.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,7 @@ <h1 class="menu-item-header-text">Coffee for fuel</h1>
<hr>
<div class="form-wrap">
<a href="https://www.buymeacoffee.com/zombieFox" class="button button-line button-large px-4 py-3">
<svg width="39" height="32" viewBox="0 0 39 32" fill="none" xmlns="http://www.w3.org/2000/svg" class="coffee-icon">
<g>
<path
d="M11.7043 8.72025C11.1342 8.72025 10.672 8.25805 10.672 7.68798C10.672 6.90875 10.878 6.47121 11.0284 6.15172L11.0285 6.15151C11.1348 5.92546 11.1882 5.81188 11.1882 5.4943C11.1882 5.17672 11.1348 5.06323 11.0287 4.83736L11.0284 4.83688C10.878 4.51739 10.672 4.07971 10.672 3.30061C10.672 2.52151 10.878 2.08396 11.0284 1.76448C11.1347 1.53846 11.1882 1.42483 11.1882 1.10731C11.1882 0.537246 11.6504 0.0750504 12.2204 0.0750504C12.7905 0.0750504 13.2527 0.537246 13.2527 1.10731C13.2527 1.88641 13.0468 2.32396 12.8963 2.64345C12.79 2.86947 12.7366 2.9831 12.7366 3.30061C12.7366 3.61806 12.7899 3.73155 12.8961 3.95742L12.8963 3.9579C13.0468 4.27739 13.2527 4.71507 13.2527 5.4943C13.2527 6.27353 13.0468 6.71108 12.8963 7.03069L12.8961 7.03117C12.7899 7.25705 12.7366 7.37053 12.7366 7.68798C12.7366 8.25805 12.2744 8.72025 11.7043 8.72025Z" />
<path
d="M33.14 14.7847H31.7551C31.9661 13.7656 32.0755 12.7276 32.0755 11.6879C32.0755 11.1178 31.6133 10.6556 31.0432 10.6556H1.13975C0.56968 10.6556 0.107484 11.1178 0.107484 11.6879C0.107484 15.7987 1.81227 19.8815 4.78479 22.8895C7.83255 25.9735 11.848 27.6719 16.0915 27.6719C19.0905 27.6719 21.9752 26.8225 24.4853 25.2363H33.1186C36 25.2363 38.3443 22.892 38.3443 20.0105C38.3443 17.1289 36.0096 14.7847 33.14 14.7847ZM29.9711 12.7203C29.4226 19.8055 23.2899 25.6075 16.0915 25.6075C8.8932 25.6075 2.7604 19.8055 2.21188 12.7203H29.9711ZM33.1186 23.1718H27.1124C27.2085 23.079 27.3037 22.9849 27.3982 22.8895C29.1033 21.164 30.3903 19.0845 31.1787 16.8492H33.14C34.8712 16.8492 36.2798 18.2673 36.2798 20.0105C36.2798 21.7537 34.8617 23.1718 33.1186 23.1718Z" />
<path d="M30.9679 30.0105H1.03226C0.462195 30.0105 0 30.4727 0 31.0428C0 31.6129 0.462195 32.075 1.03226 32.075H30.9679C31.5379 32.075 32.0001 31.6129 32.0001 31.0428C32.0001 30.4727 31.5379 30.0105 30.9679 30.0105Z" />
<path
d="M14.8011 7.68798C14.8011 8.25805 15.2633 8.72025 15.8334 8.72025C16.4034 8.72025 16.8656 8.25805 16.8656 7.68798C16.8656 7.37053 16.919 7.25705 17.0251 7.03117L17.0254 7.03069C17.1758 6.71108 17.3817 6.27353 17.3817 5.4943C17.3817 4.71507 17.1758 4.27739 17.0254 3.9579L17.0251 3.95742C16.919 3.73155 16.8656 3.61806 16.8656 3.30061C16.8656 2.98309 16.919 2.86954 17.0253 2.64352C17.1758 2.32403 17.3817 1.88641 17.3817 1.10731C17.3817 0.537246 16.9196 0.0750504 16.3495 0.0750504C15.7794 0.0750504 15.3172 0.537246 15.3172 1.10731C15.3172 1.42483 15.2638 1.53839 15.1575 1.7644C15.0071 2.08389 14.8011 2.52151 14.8011 3.30061C14.8011 4.07971 15.007 4.51739 15.1575 4.83688L15.1577 4.83736C15.2639 5.06323 15.3172 5.17672 15.3172 5.4943C15.3172 5.81188 15.2638 5.92546 15.1576 6.15151L15.1575 6.15172C15.007 6.47121 14.8011 6.90875 14.8011 7.68798Z" />
<path
d="M19.9624 8.72025C19.3923 8.72025 18.9301 8.25805 18.9301 7.68798C18.9301 6.90875 19.1361 6.47121 19.2865 6.15172L19.2866 6.15152C19.3929 5.92546 19.4463 5.81188 19.4463 5.4943C19.4463 5.17671 19.3929 5.06323 19.2868 4.83735L19.2865 4.83688C19.1361 4.51739 18.9301 4.07971 18.9301 3.30061C18.9301 2.52151 19.1361 2.08396 19.2865 1.76448C19.3928 1.53845 19.4463 1.42483 19.4463 1.10731C19.4463 0.537246 19.9085 0.0750504 20.4785 0.0750504C21.0486 0.0750504 21.5108 0.537246 21.5108 1.10731C21.5108 1.88641 21.3049 2.32396 21.1544 2.64345C21.0481 2.86947 20.9947 2.98309 20.9947 3.30061C20.9947 3.61806 21.048 3.73155 21.1542 3.95742L21.1544 3.9579C21.3049 4.27739 21.5108 4.71507 21.5108 5.4943C21.5108 6.27353 21.3049 6.71108 21.1544 7.03069L21.1542 7.03117C21.048 7.25705 20.9947 7.37053 20.9947 7.68798C20.9947 8.25805 20.5325 8.72025 19.9624 8.72025Z" />
</g>
</svg>
<span class="button-icon icon-coffee"></span>
<span class="button-text">Buy me a coffee</span>
</a>
</div>
Expand Down

0 comments on commit e3dd87a

Please sign in to comment.