File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 <div class =" container--main" >
44 <top-metric />
55 <register />
6- <wasm-ad-area />
76 <dynamic-ads-area />
87
98 <div class =" divider" />
@@ -38,7 +37,6 @@ import OnChainData from './my-staking/OnChainData.vue';
3837import TopMetric from ' ./my-staking/TopMetric.vue' ;
3938import AdsArea from ' ./my-staking/AdsArea.vue' ;
4039import DynamicAdsArea from ' ./my-staking/DynamicAdsArea.vue' ;
41- import WasmAdArea from ' ./my-staking/WasmAdArea.vue' ;
4240import { generateMeta } from ' src/config/metadata' ;
4341import { Path } from ' src/router' ;
4442
@@ -51,7 +49,6 @@ export default defineComponent({
5149 Register ,
5250 DynamicAdsArea ,
5351 OnChainData ,
54- WasmAdArea ,
5552 },
5653 setup() {
5754 useMeta (generateMeta (Path .Discover ));
Original file line number Diff line number Diff line change 1+ <!-- @TODO: Will be removed after astar-ui library updated-->
2+ <template >
3+ <svg width =" 18" height =" 18" viewBox =" 0 0 18 18" fill =" none" xmlns =" http://www.w3.org/2000/svg" >
4+ <path
5+ d="M9.00281 17.7096C7.79838 17.7096 6.66626 17.481 5.60647 17.0239C4.54667 16.5668 3.62479 15.9465 2.84084 15.1629C2.05688 14.3793 1.43624 13.4578 0.978934 12.3984C0.521624 11.3391 0.292969 10.2073 0.292969 9.00282C0.292969 7.79838 0.521524 6.66626 0.978636 5.60647C1.43575 4.54667 2.0561 3.62479 2.8397 2.84084C3.62331 2.05688 4.54478 1.43624 5.60411 0.978933C6.66343 0.521624 7.79531 0.292969 8.99974 0.292969C10.2042 0.292969 11.3363 0.521524 12.3961 0.978635C13.4559 1.43575 14.3778 2.0561 15.1617 2.8397C15.9457 3.62331 16.5663 4.54478 17.0236 5.60411C17.4809 6.66343 17.7096 7.79531 17.7096 8.99974C17.7096 10.2042 17.481 11.3363 17.0239 12.3961C16.5668 13.4559 15.9465 14.3778 15.1629 15.1617C14.3793 15.9457 13.4578 16.5663 12.3984 17.0236C11.3391 17.4809 10.2073 17.7096 9.00281 17.7096ZM8.08461 16.2888V14.5013C7.58045 14.5013 7.14885 14.3218 6.78982 13.9627C6.43079 13.6037 6.25128 13.1721 6.25128 12.6679V11.7513L1.85128 7.35128C1.80545 7.62628 1.76343 7.90128 1.72524 8.17628C1.68704 8.45128 1.66795 8.72628 1.66795 9.00128C1.66795 10.8499 2.27524 12.4693 3.48982 13.8596C4.7044 15.2499 6.236 16.0596 8.08461 16.2888ZM14.4096 13.9513C14.7152 13.6152 14.9902 13.2523 15.2346 12.8627C15.4791 12.4732 15.6815 12.0683 15.8419 11.6482C16.0023 11.228 16.1245 10.7964 16.2086 10.3534C16.2926 9.91031 16.3346 9.45961 16.3346 9.00128C16.3346 7.49963 15.9198 6.12822 15.0901 4.88705C14.2604 3.6459 13.1474 2.75032 11.7513 2.20032V2.58461C11.7513 3.08878 11.5718 3.52038 11.2127 3.8794C10.8537 4.23843 10.4221 4.41795 9.91795 4.41795H8.08461V6.25128C8.08461 6.511 7.99677 6.72871 7.82107 6.9044C7.64538 7.0801 7.42767 7.16795 7.16795 7.16795H5.33461V9.00128H10.8346C11.0943 9.00128 11.312 9.08913 11.4877 9.26482C11.6634 9.44052 11.7513 9.65822 11.7513 9.91795V12.6679H12.6679C13.0652 12.6679 13.4242 12.7864 13.745 13.0232C14.0659 13.26 14.2874 13.5693 14.4096 13.9513Z"
6+ fill =" currentColor"
7+ />
8+ </svg >
9+ </template >
Original file line number Diff line number Diff line change 5757 </router-link >
5858 <div v-else class =" dummy-row" />
5959 </div >
60+ <!-- MEMO: need to add later
61+ <div>
62+ <router-link
63+ to="#"
64+ :class="['link', $route.path.split('/')[1] === 'astar-nft' ? 'activeLink' : '']"
65+ >
66+ <astar-icon-base
67+ :class="['iconAdd', isShiden ? 'shiden' : '']"
68+ stroke="currentColor"
69+ icon-name="staking"
70+ >
71+ <astar-icon-side-nft />
72+ </astar-icon-base>
73+ <div class="row-- item">
74+ <astar-text type="H4">NFT</astar-text>
75+ </div>
76+ </router-link>
77+ </div> -->
78+ <div >
79+ <a :class =" ['link']" href =" https://astar.network/community/ecosystem/" target =" _blank" >
80+ <astar-icon-base
81+ :class =" ['icon-add', isShiden ? 'shiden' : '']"
82+ stroke =" currentColor"
83+ icon-name =" staking"
84+ >
85+ <icon-ecosystem />
86+ </astar-icon-base >
87+ <div class =" row--item row--item-ecosystem" >
88+ <astar-text type =" H4" >{{ $t('common.ecosystem') }}</astar-text >
89+ <astar-icon-external-link />
90+ </div >
91+ </a >
92+ </div >
6093 <div class =" menu__indicator" :class =" getIndicatorClass(path)" />
6194 </nav >
6295
@@ -83,6 +116,7 @@ import Logo from '../common/Logo.vue';
83116import ConnectionTrouble from ' src/components/common/ConnectionTrouble.vue' ;
84117import { useRouter } from ' vue-router' ;
85118import { Path as RoutePath } from ' src/router/routes' ;
119+ import IconEcosystem from ' ./IconEcosystem.vue' ;
86120
87121export default defineComponent ({
88122 components: {
@@ -91,6 +125,7 @@ export default defineComponent({
91125 LocaleChanger ,
92126 Logo ,
93127 ConnectionTrouble ,
128+ IconEcosystem ,
94129 },
95130 setup() {
96131 const { isOpen } = useSidebar ();
Original file line number Diff line number Diff line change 3030 </span >
3131 </div >
3232 </router-link >
33+ <a :class =" ['link']" href =" https://astar.network/community/ecosystem/" target =" _blank" >
34+ <div class =" column--item" >
35+ <span class =" text--link" >
36+ {{ $t('common.ecosystem') }}
37+ </span >
38+ </div >
39+ </a >
3340 <div class =" tabs__indicator" :class =" getIndicatorClass(path)" />
3441 </nav >
3542
Original file line number Diff line number Diff line change 1515 height : 20px ;
1616}
1717
18+ .icon-add {
19+ color : $astar-blue-dark ;
20+ width : 20px ;
21+ height : 20px ;
22+ margin-top : 5px ;
23+ margin-left : 1px ;
24+ }
25+
1826.sidebar {
1927 width : 224px ;
2028 height : 100% ;
3442 flex : 1 1 0% ;
3543 margin-left : rem (12 );
3644 }
45+ .row--item-ecosystem {
46+ display : flex ;
47+ align-items : center ;
48+ gap : 10px ;
49+ }
3750}
3851
3952.link {
7891}
7992
8093.menu__assets {
81- margin-top : -139 px ;
94+ margin-top : -184 px ;
8295}
8396
8497.menu__dashboard {
85- margin-top : -92 px ;
98+ margin-top : -138 px ;
8699}
87100
88101.menu__staking {
89- margin-top : -46 px ;
102+ margin-top : -92 px ;
90103}
91104
92105.dummy-row {
Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ export default {
8181 dappStaking : 'dApp Staking' ,
8282 staking : 'Staking' ,
8383 contract : 'Contract' ,
84+ ecosystem : 'Ecosystem' ,
8485 plasmLockdrop : 'Plasm Lockdrop' ,
8586 closeSidebar : 'Close sidebar' ,
8687 twitter : 'Twitter' ,
You can’t perform that action at this time.
0 commit comments