Skip to content

Commit

Permalink
update icons
Browse files Browse the repository at this point in the history
  • Loading branch information
HardhatChad committed Mar 26, 2024
1 parent 7606689 commit c0ac027
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions src/components/icons.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,25 @@ pub struct IconProps<'a> {
pub solid: Option<bool>,
}

// <svg width="216" height="216" viewBox="0 0 216 216" fill="none" xmlns="http://www.w3.org/2000/svg">
// <path fill-rule="evenodd" clip-rule="evenodd" d="M0.279729 192.083C-0.0932429 191.71 -0.0932429 191.105 0.279729 190.732L28.4516 162.56C28.7938 162.218 28.8414 161.68 28.5687 161.28C18.1262 145.969 12.0208 127.463 12.0208 107.532C12.0208 54.7824 54.7823 12.0209 107.531 12.0209C127.463 12.0209 145.969 18.1262 161.28 28.569C161.68 28.8417 162.218 28.7941 162.56 28.4519L190.732 0.279816C191.105 -0.0932721 191.71 -0.0932721 192.083 0.279816L215.72 23.9178C216.093 24.2908 216.093 24.8953 215.72 25.2683L187.365 53.6242C187.026 53.9626 186.975 54.493 187.239 54.8921C197.227 69.9845 203.042 88.0792 203.042 107.532C203.042 160.281 160.28 203.042 107.531 203.042C88.0788 203.042 69.9844 197.226 54.8921 187.24C54.4929 186.976 53.9625 187.026 53.6241 187.365L25.2681 215.721C24.8952 216.094 24.2904 216.094 23.9174 215.721L0.279729 192.083ZM107.531 167.703C97.5942 167.703 88.2198 165.294 79.96 161.029C69.2678 155.507 60.4434 146.875 54.6844 136.327C50.0141 127.774 47.3597 117.963 47.3597 107.532C47.3597 74.2996 74.2995 47.3598 107.531 47.3598C117.963 47.3598 127.774 50.0144 136.327 54.6845C146.874 60.4431 155.507 69.2685 161.029 79.9603C165.294 88.2205 167.703 97.5943 167.703 107.532C167.703 140.763 140.763 167.703 107.531 167.703Z" fill="#1D1D1F"/>
// </svg>

#[component]
pub fn OreIcon<'a>(cx: Scope<'a, IconProps<'a>>) -> Element {
let class = cx.props.class.unwrap_or("");
render! {
svg {
// view_box: "0 0 48 48",
view_box: "0 0 218 218",
// view_box: "0 0 218 218",
view_box: "0 0 216 216",
fill: "currentColor",
class: "{class}",
path {
fill_rule: "evenodd",
clip_rule: "evenodd",
d: "M0.292923 192.626C-0.097641 192.235 -0.097641 191.603 0.292923 191.212L25.6202 165.884C25.9615 165.543 26.0099 165.007 25.7392 164.607C14.911 148.626 8.58583 129.345 8.58583 108.586C8.58583 53.3574 53.3573 8.58594 108.586 8.58594C129.344 8.58594 148.626 14.9114 164.608 25.739C165.007 26.0096 165.543 25.9612 165.884 25.6199L191.212 0.292969C191.602 -0.0976562 192.235 -0.0976562 192.626 0.292969L217.375 25.042C217.765 25.4326 217.765 26.0654 217.375 26.4561L191.95 51.88C191.611 52.2194 191.561 52.7516 191.827 53.1508C202.414 69.0175 208.586 88.0805 208.586 108.586C208.586 163.814 163.814 208.586 108.586 208.586C88.0807 208.586 69.0171 202.414 53.1511 191.827C52.7519 191.561 52.2197 191.611 51.8803 191.95L26.4559 217.375C26.0653 217.766 25.4321 217.766 25.0416 217.375L0.292923 192.626ZM108.586 171.586C98.0533 171.586 88.1245 169.001 79.3989 164.432C68.2422 158.589 59.0526 149.501 53.0841 138.421C48.3004 129.54 45.5858 119.38 45.5858 108.586C45.5858 73.792 73.7919 45.5859 108.586 45.5859C119.38 45.5859 129.54 48.3008 138.42 53.084C149.501 59.0527 158.589 68.2422 164.432 79.3994C169.001 88.124 171.586 98.0537 171.586 108.586C171.586 143.38 143.38 171.586 108.586 171.586Z",
d: "M0.279729 192.083C-0.0932429 191.71 -0.0932429 191.105 0.279729 190.732L28.4516 162.56C28.7938 162.218 28.8414 161.68 28.5687 161.28C18.1262 145.969 12.0208 127.463 12.0208 107.532C12.0208 54.7824 54.7823 12.0209 107.531 12.0209C127.463 12.0209 145.969 18.1262 161.28 28.569C161.68 28.8417 162.218 28.7941 162.56 28.4519L190.732 0.279816C191.105 -0.0932721 191.71 -0.0932721 192.083 0.279816L215.72 23.9178C216.093 24.2908 216.093 24.8953 215.72 25.2683L187.365 53.6242C187.026 53.9626 186.975 54.493 187.239 54.8921C197.227 69.9845 203.042 88.0792 203.042 107.532C203.042 160.281 160.28 203.042 107.531 203.042C88.0788 203.042 69.9844 197.226 54.8921 187.24C54.4929 186.976 53.9625 187.026 53.6241 187.365L25.2681 215.721C24.8952 216.094 24.2904 216.094 23.9174 215.721L0.279729 192.083ZM107.531 167.703C97.5942 167.703 88.2198 165.294 79.96 161.029C69.2678 155.507 60.4434 146.875 54.6844 136.327C50.0141 127.774 47.3597 117.963 47.3597 107.532C47.3597 74.2996 74.2995 47.3598 107.531 47.3598C117.963 47.3598 127.774 50.0144 136.327 54.6845C146.874 60.4431 155.507 69.2685 161.029 79.9603C165.294 88.2205 167.703 97.5943 167.703 107.532C167.703 140.763 140.763 167.703 107.531 167.703Z"
// d: "M0.292923 192.626C-0.097641 192.235 -0.097641 191.603 0.292923 191.212L25.6202 165.884C25.9615 165.543 26.0099 165.007 25.7392 164.607C14.911 148.626 8.58583 129.345 8.58583 108.586C8.58583 53.3574 53.3573 8.58594 108.586 8.58594C129.344 8.58594 148.626 14.9114 164.608 25.739C165.007 26.0096 165.543 25.9612 165.884 25.6199L191.212 0.292969C191.602 -0.0976562 192.235 -0.0976562 192.626 0.292969L217.375 25.042C217.765 25.4326 217.765 26.0654 217.375 26.4561L191.95 51.88C191.611 52.2194 191.561 52.7516 191.827 53.1508C202.414 69.0175 208.586 88.0805 208.586 108.586C208.586 163.814 163.814 208.586 108.586 208.586C88.0807 208.586 69.0171 202.414 53.1511 191.827C52.7519 191.561 52.2197 191.611 51.8803 191.95L26.4559 217.375C26.0653 217.766 25.4321 217.766 25.0416 217.375L0.292923 192.626ZM108.586 171.586C98.0533 171.586 88.1245 169.001 79.3989 164.432C68.2422 158.589 59.0526 149.501 53.0841 138.421C48.3004 129.54 45.5858 119.38 45.5858 108.586C45.5858 73.792 73.7919 45.5859 108.586 45.5859C119.38 45.5859 129.54 48.3008 138.42 53.084C149.501 59.0527 158.589 68.2422 164.432 79.3994C169.001 88.124 171.586 98.0537 171.586 108.586C171.586 143.38 143.38 171.586 108.586 171.586Z",
// d: "M0.00527625 42.1406C-0.010802 42.0669 0.00987002 41.9866 0.0672362 41.9293L4.91651 37.0801C4.9946 37.002 5.0059 36.8794 4.94428 36.7878C2.48729 33.1337 1.0535 28.7342 1.0535 23.9999C1.0535 11.3269 11.327 1.05343 24 1.05343C28.7343 1.05343 33.1338 2.48717 36.7878 4.94421C36.8794 5.00584 37.002 4.99454 37.0801 4.91645L41.9293 0.0672259C42.0189 -0.0224086 42.1642 -0.0224086 42.2538 0.0672259L47.9327 5.74625C48.0224 5.83588 48.0224 5.98109 47.9327 6.07073L43.0835 10.9199C43.0054 10.998 42.9941 11.1206 43.0557 11.2122C45.5127 14.8661 46.9464 19.2655 46.9464 23.9999C46.9464 36.6729 36.6729 46.9463 24 46.9463C19.2657 46.9463 14.8663 45.5126 11.2122 43.0556C11.1206 42.9939 10.998 43.0052 10.92 43.0833L6.07068 47.9328C5.9811 48.0224 5.83578 48.0224 5.7462 47.9328L0.0672362 42.2537C0.0349677 42.2215 0.0143518 42.182 0.00527625 42.1406ZM24 38.4562C21.5532 38.4562 19.2483 37.8482 17.2282 36.7753C14.6769 35.4202 12.5798 33.323 11.2247 30.7718C10.1516 28.7516 9.54369 26.4467 9.54369 23.9999C9.54369 16.0159 16.016 9.54362 24 9.54362C26.4469 9.54362 28.7518 10.1516 30.7719 11.2245C33.3232 12.5798 35.4202 14.6768 36.7753 17.228C37.8483 19.2481 38.4562 21.5531 38.4562 23.9999C38.4562 31.9839 31.9839 38.4562 24 38.4562Z"
}
}
Expand Down Expand Up @@ -414,16 +420,16 @@ pub fn OreLogoIcon<'a>(cx: Scope<'a, IconProps<'a>>) -> Element {
path {
fill_rule: "evenodd",
clip_rule: "evenodd",
d: "M0.356988 125.663C0.102196 125.409 0.102196 124.996 0.356988 124.741L16.8797 108.218C17.1024 107.995 17.134 107.645 16.9574 107.385C9.89339 96.9593 5.76703 84.3807 5.76703 70.8382C5.76703 34.8088 34.9746 5.60121 71.004 5.60121C84.5463 5.60121 97.1249 9.72777 107.551 16.7913C107.812 16.9679 108.161 16.9363 108.384 16.7137L124.907 0.191124C125.161 -0.063708 125.574 -0.063708 125.829 0.191124L141.975 16.3366C142.229 16.5915 142.229 17.0043 141.975 17.2591L125.388 33.845C125.167 34.0663 125.134 34.4135 125.308 34.674C132.215 45.025 136.241 57.4611 136.241 70.8382C136.241 106.868 107.033 136.075 71.004 136.075C57.6271 136.075 45.1906 132.049 34.8401 125.142C34.5796 124.968 34.2324 125.001 34.011 125.222L17.4249 141.809C17.1701 142.064 16.7571 142.064 16.5023 141.809L0.356988 125.663ZM71.004 111.937C64.1329 111.937 57.6556 110.251 51.9634 107.27C44.685 103.459 38.69 97.5299 34.7964 90.3016C31.6756 84.508 29.9047 77.8798 29.9047 70.8382C29.9047 48.1397 48.3055 29.7389 71.004 29.7389C78.0457 29.7389 84.6738 31.51 90.4672 34.6304C97.6956 38.5242 103.624 44.5191 107.436 51.7978C110.417 57.4894 112.103 63.9673 112.103 70.8382C112.103 93.5367 93.7025 111.937 71.004 111.937Z",
d: "M0.183896 126.277C-0.0612986 126.031 -0.0612986 125.634 0.183896 125.389L18.5017 107.071C18.8439 106.728 18.8913 106.191 18.6205 105.79C11.8537 95.7702 7.90257 83.6927 7.90257 70.692C7.90257 36.0144 36.0143 7.90263 70.692 7.90263C83.6925 7.90263 95.7702 11.8536 105.79 18.6206C106.191 18.8915 106.729 18.8441 107.071 18.5019L125.389 0.183953C125.634 -0.0613178 126.031 -0.0613178 126.276 0.183953L141.816 15.7237C142.061 15.969 142.061 16.3663 141.816 16.6116L123.374 35.0533C123.036 35.3917 122.986 35.922 123.248 36.3223C129.718 46.1966 133.481 58.0051 133.481 70.692C133.481 105.37 105.37 133.481 70.692 133.481C58.0048 133.481 46.1965 129.718 36.3223 123.248C35.9219 122.986 35.3917 123.036 35.0532 123.375L16.6115 141.816C16.3663 142.062 15.9687 142.062 15.7235 141.816L0.183896 126.277ZM70.692 110.249C64.1592 110.249 57.9963 108.665 52.5663 105.861C45.5372 102.231 39.736 96.5565 35.9499 89.6226C32.8797 83.9998 31.1346 77.5498 31.1346 70.692C31.1346 48.8451 48.8451 31.1347 70.692 31.1347C77.5497 31.1347 83.9997 32.8798 89.6225 35.95C96.5561 39.7357 102.231 45.5376 105.861 52.5665C108.666 57.9968 110.249 64.1592 110.249 70.692C110.249 92.5389 92.5389 110.249 70.692 110.249Z"
}
path {
d: "M359.135 111.552V30.4483H415.834V48.0593H381.033V61.6538H414.208V79.149H381.033V93.9407H415.83V111.552H359.135Z"
d: "M358.969 111.552V30.4483H415.668V48.0593H380.867V61.6538H414.042V79.149H380.867V93.9407H415.664V111.552H358.969Z"
}
path {
d: "M282.355 111.552V30.4483H319.199C334.84 30.4483 347.933 41.8028 347.933 58.8345C347.933 70.5945 341.85 79.6897 332.755 84.2662L350.945 111.552H326.151L312.595 89.3062H304.253V111.552H282.355ZM315.028 50.4924H304.253V69.4938H315.028C322.559 69.4938 326.383 65.5545 326.383 59.8772C326.383 54.2 322.559 50.4924 315.028 50.4924Z"
d: "M282.189 111.552V30.4483H319.034C334.675 30.4483 347.767 41.8028 347.767 58.8345C347.767 70.5945 341.685 79.6897 332.589 84.2662L350.78 111.552H325.985L312.429 89.3062H304.087V111.552H282.189ZM314.863 50.4924H304.087V69.4938H314.863C322.394 69.4938 326.217 65.5545 326.217 59.8772C326.217 54.2 322.394 50.4924 314.863 50.4924Z"
}
path {
d: "M232.166 113C206.248 113 190.166 92.7479 190.166 71C190.166 49.2521 206.248 29 232.166 29C258.083 29 274.166 49.2521 274.166 71C274.166 92.7479 258.083 113 232.166 113ZM232.166 91.8274C244.546 91.8274 252.182 81.9315 252.182 71C252.182 60.0685 244.546 50.1726 232.166 50.1726C219.785 50.1726 212.149 60.0685 212.149 71C212.149 81.9315 219.785 91.8274 232.166 91.8274Z"
d: "M232 113C206.083 113 190 92.7479 190 71C190 49.2521 206.083 29 232 29C257.917 29 274 49.2521 274 71C274 92.7479 257.917 113 232 113ZM232 91.8274C244.38 91.8274 252.017 81.9315 252.017 71C252.017 60.0685 244.38 50.1726 232 50.1726C219.62 50.1726 211.983 60.0685 211.983 71C211.983 81.9315 219.62 91.8274 232 91.8274Z"
}
}
}
Expand Down

0 comments on commit c0ac027

Please sign in to comment.