diff --git a/package.json b/package.json index b619ae066..f05d3fc17 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ }, "dependencies": { "@astar-network/astar-sdk-core": "^0.2.8", - "@astar-network/astar-ui": "^0.0.140", + "@astar-network/astar-ui": "^0.0.142", "@astar-network/metamask-astar-adapter": "^0.5.4", "@astar-network/metamask-astar-types": "^0.6.1", "@ethersproject/bignumber": "^5.5.0", diff --git a/src/components/assets/Assets.vue b/src/components/assets/Assets.vue index b3946f7d5..0e5051357 100644 --- a/src/components/assets/Assets.vue +++ b/src/components/assets/Assets.vue @@ -69,6 +69,7 @@ @@ -100,6 +101,7 @@ import { useStore } from 'src/store'; import { EvmAssets, XcmAssets, XvmAssets } from 'src/store/assets/state'; import { Asset } from 'src/v2/models'; import VotingPeriodSideAdd from 'src/staking-v3/components/VotingPeriodSideAdd.vue'; +import GovernanceLinks from '../governance/GovernanceLinks.vue'; export default defineComponent({ components: { @@ -116,6 +118,7 @@ export default defineComponent({ AnchorLinks, RegisterBanner, VotingPeriodSideAdd, + GovernanceLinks, }, setup() { const token = ref(null); diff --git a/src/components/governance/GovernanceLink.vue b/src/components/governance/GovernanceLink.vue new file mode 100644 index 000000000..923f12a4c --- /dev/null +++ b/src/components/governance/GovernanceLink.vue @@ -0,0 +1,50 @@ + + + + + diff --git a/src/components/governance/GovernanceLinks.vue b/src/components/governance/GovernanceLinks.vue new file mode 100644 index 000000000..5b3db4be6 --- /dev/null +++ b/src/components/governance/GovernanceLinks.vue @@ -0,0 +1,75 @@ + + + + + diff --git a/src/components/header/mobile/MobileNav.vue b/src/components/header/mobile/MobileNav.vue index 0c4e7e5a1..8201086fb 100644 --- a/src/components/header/mobile/MobileNav.vue +++ b/src/components/header/mobile/MobileNav.vue @@ -46,6 +46,7 @@ {{ $t('sidenavi.data') }} + {{ $t('sidenavi.governance') }}
diff --git a/src/components/sidenav/SidebarDesktop.vue b/src/components/sidenav/SidebarDesktop.vue index 90affa21e..da29abdbf 100644 --- a/src/components/sidenav/SidebarDesktop.vue +++ b/src/components/sidenav/SidebarDesktop.vue @@ -9,11 +9,7 @@ :to="RoutePath.Assets" :class="['link', $route.path.split('/')[2] === 'assets' ? 'activeLink' : '']" > - +
@@ -26,11 +22,7 @@ :to="RoutePath.Dashboard" :class="['link', $route.path.split('/')[2] === 'dashboard' ? 'activeLink' : '']" > - +
@@ -45,11 +37,7 @@ data-testid="dapp-staking" :class="['link', $route.path.split('/')[2] === 'dapp-staking' ? 'activeLink' : '']" > - +
@@ -62,11 +50,7 @@ :to="RoutePath.Bridge" :class="['link', $route.path.split('/')[2] === 'bridge' ? 'activeLink' : '']" > - +
@@ -76,23 +60,31 @@
+ @@ -108,8 +100,8 @@