Skip to content

Commit

Permalink
Add rollups leaderboard link
Browse files Browse the repository at this point in the history
  • Loading branch information
GusevPM committed Jul 27, 2024
1 parent be8204a commit 771f5cb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions assets/icons.json
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@
],
"rollup": "m10.558 22.234c-0.16 0.0187-0.3549-0.0895-0.74462-0.3059-1.6664-0.9253-4.695-2.6071-6.4762-3.5967l-0.06317-0.0348c-0.23113-0.1274-0.52173-0.2874-0.74489-0.5296-0.19295-0.2094-0.33897-0.4575-0.4283-0.7279-0.10332-0.3127-0.10211-0.6445-0.10115-0.9083l1.8e-4 -0.0722c0-1.963 0.00254-5.3023 0.0041-7.1685 3.8e-4 -0.44834 5.6e-4 -0.67251 0.09511-0.8034 0.08247-0.11418 0.20931-0.18829 0.34928-0.20408 0.16045-0.01809 0.35621 0.09203 0.74775 0.31227l7.396 4.1603c0.1485 0.0835 0.2227 0.1253 0.2767 0.1844 0.0478 0.0522 0.084 0.114 0.1061 0.1813 0.025 0.0761 0.025 0.1612 0.025 0.3316v8.1752c0 0.4472 0 0.6708-0.094 0.8016-0.0821 0.1141-0.2083 0.1884-0.3479 0.2047zm11.437-13.344c-4e-4 -0.44833-6e-4 -0.67249-0.0951-0.80338-0.0825-0.11419-0.2093-0.1883-0.3493-0.20408-0.1604-0.0181-0.3562 0.09202-0.7477 0.31226l-7.396 4.1603c-0.1485 0.0835-0.2227 0.1253-0.2767 0.1843-0.0478 0.0523-0.084 0.1141-0.1061 0.1814-0.025 0.076-0.025 0.1612-0.025 0.3315v8.1753c0 0.4472 0 0.6708 0.094 0.8016 0.0821 0.1141 0.2083 0.1884 0.3479 0.2047 0.16 0.0187 0.3549-0.0895 0.7446-0.3059 1.6663-0.9253 4.695-2.6071 6.4762-3.5967l0.0631-0.0348c0.2311-0.1273 0.5218-0.2874 0.7449-0.5296 0.193-0.2094 0.339-0.4575 0.4283-0.7279 0.1034-0.3127 0.1021-0.6445 0.1012-0.9083l-2e-4 -0.0722c0-1.963-0.0025-5.3023-0.0041-7.1685zm-6.6793 0.09647-8.9752-4.9862c-0.75973 0.42226-1.4682 0.81608-2.031 1.1289-0.40825 0.22692-0.61237 0.34039-0.68058 0.49034-0.05947 0.13073-0.05985 0.28072-0.00105 0.41175 0.06746 0.1503 0.27118 0.2649 0.67862 0.49408l7.3001 4.1064c0.143 0.0804 0.2146 0.1207 0.2904 0.1365 0.0671 0.0139 0.1364 0.0139 0.2035 0 0.0759-0.0158 0.1474-0.0561 0.2905-0.1365zm-2.9137-7.8015c-0.2658-0.05467-0.54-0.05467-0.8058 0-0.3073 0.06319-0.5819 0.21702-0.8003 0.33931l-0.0595 0.03325c-0.654 0.36336-1.4759 0.82007-2.3369 1.2986l8.9628 4.9794 2.3291-1.3101c0.4074-0.22919 0.6112-0.34378 0.6786-0.49408 0.0588-0.13103 0.0584-0.28102-1e-3 -0.41175-0.0682-0.14996-0.2724-0.26342-0.6806-0.49035-1.6814-0.9346-4.6637-2.5922-6.4266-3.5716l-0.0595-0.03325c-0.2184-0.12229-0.493-0.27612-0.8003-0.33931z",
"rollup-plus": "m 9.81388,21.9281 c 0.38972,0.2164 0.58462,0.3246 0.74462,0.3059 0.1396,-0.0163 0.2658,-0.0906 0.3479,-0.2047 0.094,-0.1308 0.094,-0.3544 0.094,-0.8016 v -8.1752 c 0,-0.1704 0,-0.2555 -0.025,-0.3316 -0.0221,-0.0673 -0.0583,-0.1291 -0.1061,-0.1813 -0.054,-0.0591 -0.1282,-0.1009 -0.2767,-0.1844 L 3.19661,8.19493 C 2.80507,7.97469 2.60931,7.86457 2.44886,7.88266 2.30889,7.89845 2.18205,7.97256 2.09958,8.08674 2.00503,8.21763 2.00485,8.4418 2.00447,8.89014 2.00291,10.7563 2.00037,14.0956 2.00037,16.0586 l -1.8e-4,0.0722 c -9.6e-4,0.2638 -0.00217,0.5956 0.10115,0.9083 0.08933,0.2704 0.23535,0.5185 0.4283,0.7279 0.22316,0.2422 0.51376,0.4022 0.74489,0.5296 l 0.06317,0.0348 c 1.78119,0.9896 4.80982,2.6714 6.47618,3.5967 z M 21.9959,8.89012 C 21.9955,8.44179 21.9953,8.21763 21.9008,8.08674 21.8183,7.97255 21.6915,7.89844 21.5515,7.88266 21.3911,7.86456 21.1953,7.97468 20.8038,8.19492 l -7.396,4.16028 c -0.1485,0.0835 -0.2227,0.1253 -0.2767,0.1843 -0.0478,0.0523 -0.084,0.1141 -0.1061,0.1814 C 13,12.7969 13,12.8821 13,13.0524 v 8.1753 c 0,0.4472 0,0.6708 0.094,0.8016 0.0821,0.1141 0.2083,0.1884 0.3479,0.2047 0.16,0.0187 0.3549,-0.0895 0.7446,-0.3059 0.0912,-0.0506 0.1865,-0.1035 0.2855,-0.1585 0.4993,-0.2773 0.749,-0.4159 0.8176,-0.5277 0.0829,-0.1349 0.0906,-0.1711 0.0696,-0.3281 C 15.3418,20.7839 15.0956,20.4575 14.6033,19.8047 14.2246,19.3025 14,18.6775 14,18 c 0,-1.6569 1.3431,-3 3,-3 0,-1.6569 1.3431,-3 3,-3 0.1346,0 0.267,0.0089 0.3969,0.026 0.7767,0.1027 1.1651,0.154 1.2864,0.1056 0.145,-0.0578 0.1748,-0.084 0.2511,-0.2202 0.0637,-0.114 0.0635,-0.3888 0.0631,-0.9385 -5e-4,-0.7796 -0.0011,-1.50243 -0.0016,-2.08278 z M 6.3414,4.00037 15.3166,8.98659 12.3919,10.6318 c -0.1431,0.0804 -0.2146,0.1207 -0.2905,0.1365 -0.0671,0.0139 -0.1364,0.0139 -0.2035,0 -0.0758,-0.0158 -0.1474,-0.0561 -0.2904,-0.1365 L 4.30741,6.52543 C 3.89997,6.29625 3.69625,6.18165 3.62879,6.03135 3.56999,5.90032 3.57037,5.75033 3.62984,5.6196 3.69805,5.46965 3.90217,5.35618 4.31042,5.12926 Z m 5.2557,-2.81532 c 0.2658,-0.05467 0.54,-0.05467 0.8058,0 0.3073,0.06319 0.5819,0.21702 0.8003,0.33931 l 0.0595,0.03325 c 1.7629,0.9794 4.7452,2.63705 6.4266,3.57165 0.4082,0.22693 0.6124,0.34039 0.6806,0.49035 0.0594,0.13073 0.0598,0.28072 10e-4,0.41175 -0.0674,0.1503 -0.2712,0.26489 -0.6786,0.49408 L 17.3632,7.83555 8.40039,2.85619 10.7373,1.55761 10.7968,1.52436 c 0.2184,-0.12229 0.493,-0.27612 0.8003,-0.33931 z M 21,15 c 0,-0.5523 -0.4477,-1 -1,-1 -0.5523,0 -1,0.4477 -1,1 v 2 h -2 c -0.5523,0 -1,0.4477 -1,1 0,0.5523 0.4477,1 1,1 h 2 v 2 c 0,0.5523 0.4477,1 1,1 0.5523,0 1,-0.4477 1,-1 v -2 h 2 c 0.5523,0 1,-0.4477 1,-1 0,-0.5523 -0.4477,-1 -1,-1 h -2 z",
"rollup-leaderboard": "M 9.597 0.041 C 9.862 -0.014 10.137 -0.014 10.403 0.041 C 10.71 0.104 10.984 0.258 11.203 0.381 L 11.263 0.414 L 17.689 3.985 L 17.69 3.985 C 18.098 4.212 18.302 4.325 18.37 4.475 C 18.429 4.606 18.429 4.756 18.37 4.887 C 18.303 5.037 18.1 5.152 17.693 5.381 L 15.363 6.691 L 6.4 1.713 L 8.737 0.415 L 8.797 0.381 C 9.016 0.259 9.29 0.105 9.597 0.042 Z M 18 12.856 C 16.359 12.857 14.886 13.86 14.283 15.385 C 13.68 16.91 14.069 18.649 15.265 19.772 C 16.46 20.895 18.22 21.174 19.705 20.476 L 20.293 21.063 C 20.685 21.442 21.309 21.437 21.694 21.051 C 22.08 20.665 22.085 20.041 21.707 19.649 L 21.249 19.19 C 22.124 17.971 22.244 16.365 21.559 15.03 C 20.874 13.695 19.5 12.856 18 12.856 Z M 16 16.856 C 16 15.751 16.895 14.856 18 14.856 C 19.104 14.856 20 15.751 20 16.856 C 20 17.961 19.104 18.856 18 18.856 C 16.895 18.856 16 17.961 16 16.856 Z M 13.317 7.843 L 4.34 2.856 L 2.31 3.986 C 1.901 4.212 1.697 4.326 1.629 4.476 C 1.569 4.607 1.569 4.756 1.628 4.887 C 1.695 5.037 1.899 5.152 2.306 5.381 L 9.606 9.488 L 9.607 9.488 C 9.75 9.568 9.821 9.608 9.897 9.624 C 9.963 9.638 10.033 9.638 10.1 9.624 C 10.176 9.609 10.247 9.569 10.389 9.489 L 10.391 9.488 L 13.316 7.843 Z M 19.996 7.746 C 19.996 7.298 19.996 7.074 19.901 6.943 C 19.818 6.829 19.691 6.755 19.551 6.739 C 19.391 6.721 19.195 6.831 18.804 7.051 L 11.408 11.211 C 11.259 11.295 11.185 11.336 11.131 11.395 C 11.083 11.447 11.047 11.51 11.025 11.577 C 11 11.653 11 11.738 11 11.908 L 11 20.084 C 11 20.531 11 20.754 11.094 20.885 C 11.176 20.999 11.302 21.074 11.442 21.09 C 11.602 21.109 11.797 21 12.187 20.784 L 12.303 20.719 C 12.571 20.571 12.705 20.496 12.771 20.4 C 12.832 20.317 12.864 20.216 12.861 20.113 C 12.86 19.997 12.781 19.84 12.626 19.527 C 11.628 17.522 11.83 15.128 13.15 13.319 C 14.47 11.509 16.687 10.586 18.902 10.923 L 18.903 10.923 C 19.337 10.989 19.554 11.022 19.677 10.974 C 19.787 10.936 19.879 10.858 19.933 10.754 C 19.998 10.639 19.998 10.448 19.998 10.065 Z M 8.559 21.09 C 8.399 21.109 8.204 21 7.814 20.784 L 1.338 17.187 L 1.275 17.153 L 1.273 17.152 C 1.043 17.025 0.753 16.865 0.53 16.623 C 0.336 16.414 0.19 16.165 0.101 15.895 C -0.002 15.582 -0.001 15.251 0.001 14.987 L 0.001 14.915 L 0.004 7.746 C 0.004 7.298 0.005 7.074 0.1 6.943 C 0.182 6.829 0.309 6.755 0.449 6.739 C 0.609 6.721 0.805 6.831 1.197 7.051 L 8.593 11.211 C 8.741 11.295 8.815 11.336 8.869 11.396 C 8.916 11.448 8.952 11.509 8.975 11.576 C 9 11.653 9 11.738 9 11.908 L 9 20.084 C 9 20.531 9 20.754 8.906 20.885 C 8.823 20.999 8.697 21.074 8.558 21.09 Z",
"l2beat": "M3.50521 3.54966C6.19251 1.25356 9.65297 1.67202 11.9929 3.71691C14.3301 1.67124 17.7537 1.28246 20.4709 3.54089C23.4445 6.01238 23.8016 10.2274 21.5118 13.1739C20.7167 14.197 19.2374 15.6826 17.7545 17.0967C16.255 18.5267 14.6963 19.9356 13.7042 20.8209L13.6822 20.8405C13.5197 20.9856 13.3571 21.1307 13.2072 21.2444C13.0387 21.3721 12.8318 21.5036 12.5679 21.5828C12.1958 21.6944 11.7907 21.6944 11.4186 21.5828C11.1547 21.5036 10.9478 21.3721 10.7793 21.2444C10.6294 21.1307 10.4669 20.9857 10.3043 20.8405L10.2823 20.8209C9.29019 19.9356 7.73154 18.5267 6.23203 17.0967C4.74915 15.6826 3.26977 14.197 2.47471 13.1739C0.176093 10.216 0.598423 6.03328 3.50521 3.54966ZM11.9488 8.18372C11.8209 7.80002 11.4744 7.53114 11.071 7.50247C10.6675 7.4738 10.2866 7.69098 10.1057 8.05274L8.88209 10.4999H8.50012C7.94784 10.4999 7.50012 10.9476 7.50012 11.4999C7.50012 12.0522 7.94784 12.4999 8.50012 12.4999H9.50012C9.87889 12.4999 10.2251 12.2859 10.3945 11.9471L10.8149 11.1065L12.0514 14.8161C12.1793 15.1998 12.5258 15.4687 12.9292 15.4974C13.3327 15.5261 13.7136 15.3089 13.8945 14.9471L15.1181 12.4999H15.5001C16.0524 12.4999 16.5001 12.0522 16.5001 11.4999C16.5001 10.9476 16.0524 10.4999 15.5001 10.4999H14.5001C14.1213 10.4999 13.7751 10.7139 13.6057 11.0527L13.1853 11.8934L11.9488 8.18372Z",
"blockscout": "M 10.078125 3.554688 C 10.078125 3.066406 9.6875 2.667969 9.207031 2.667969 L 7.148438 2.667969 C 6.667969 2.667969 6.277344 3.066406 6.277344 3.554688 L 6.277344 5.660156 C 6.277344 6.152344 5.890625 6.550781 5.410156 6.550781 L 3.476562 6.550781 C 2.996094 6.550781 2.609375 6.949219 2.609375 7.441406 L 2.609375 20.421875 C 2.609375 20.914062 2.996094 21.3125 3.476562 21.3125 L 5.539062 21.3125 C 6.019531 21.3125 6.410156 20.914062 6.410156 20.421875 L 6.410156 7.441406 C 6.410156 6.949219 6.796875 6.550781 7.277344 6.550781 L 9.207031 6.550781 C 9.6875 6.550781 10.078125 6.152344 10.078125 5.660156 Z M 17.679688 3.554688 C 17.679688 3.066406 17.289062 2.667969 16.808594 2.667969 L 14.746094 2.667969 C 14.265625 2.667969 13.878906 3.066406 13.878906 3.554688 L 13.878906 5.660156 C 13.878906 6.152344 14.265625 6.550781 14.746094 6.550781 L 16.679688 6.550781 C 17.160156 6.550781 17.546875 6.949219 17.546875 7.441406 L 17.546875 20.421875 C 17.546875 20.914062 17.9375 21.3125 18.417969 21.3125 L 20.476562 21.3125 C 20.957031 21.3125 21.347656 20.914062 21.347656 20.421875 L 21.347656 7.441406 C 21.347656 6.949219 20.957031 6.550781 20.476562 6.550781 L 18.546875 6.550781 C 18.066406 6.550781 17.679688 6.152344 17.679688 5.660156 Z M 13.878906 10.992188 C 13.878906 10.5 13.488281 10.101562 13.007812 10.101562 L 10.949219 10.101562 C 10.46875 10.101562 10.078125 10.5 10.078125 10.992188 L 10.078125 16.761719 C 10.078125 17.25 10.46875 17.648438 10.949219 17.648438 L 13.007812 17.648438 C 13.488281 17.648438 13.878906 17.25 13.878906 16.761719 Z M 13.878906 10.992188",
"line-chart": "M3.5,18.5L9.5,12.5L13.5,16.5L22,6.92L20.59,5.5L13.5,13.5L9.5,9.5L2,17L3.5,18.5Z",
Expand Down
8 changes: 8 additions & 0 deletions components/modules/stats/tabs/RollupsTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
import PieChartCard from "@/components/modules/stats/PieChartCard.vue"
import RollupsBubbleChart from "@/components/modules/stats/RollupsBubbleChart.vue"
/** UI */
import Button from "@/components/ui/Button.vue"
/** Constants */
import { getSeriesByGroupAndType } from "@/services/constants/stats.js"
Expand Down Expand Up @@ -33,6 +36,11 @@ onBeforeMount(async () => {
<Flex align="center" direction="column" gap="12" wide>
<Flex align="center" justify="between" wide :class="$style.section">
<Text size="16" weight="600" color="primary" justify="start">Overview</Text>

<Button link="/rollups" type="secondary" size="mini">
<Icon name="rollup-leaderboard" size="12" color="secondary" />
Rollups Leaderboard
</Button>
</Flex>

<RollupsBubbleChart v-if="!isLoading" :series="series" />
Expand Down

0 comments on commit 771f5cb

Please sign in to comment.