Skip to content

Commit

Permalink
update text and links
Browse files Browse the repository at this point in the history
  • Loading branch information
ayumitk committed Feb 8, 2024
1 parent c963111 commit dff0289
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/i18n/en-US/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,7 @@ export default {
stakingResetsEveryPeriod:
'Staking resets every period - It is requires to make votes every period.',
goToDappStakingAndVoteToday: 'Go to dApp Staking and Vote today',
goToDappStaking: 'Go to dApp Staking',
whatIsDappStaking: 'What is dApp Staking',
usersGuides: 'Users Guides',
},
loyalStakerWarningAmount:
Expand Down
14 changes: 6 additions & 8 deletions src/staking-v3/components/ModalOnboarding.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,11 @@
</router-link>
</div>
<div class="text--links">
<router-link :to="RoutePath.DappStaking" @click="closeModal">
<span>{{ $t('stakingV3.onboarding.goToDappStaking') }}</span>
<a :href="docsUrl.learnDappStaking" target="_blank" rel="noopener noreferrer">
<span>{{ $t('stakingV3.onboarding.whatIsDappStaking') }}</span>
<astar-icon-arrow-right />
</router-link>
<a
href="https://docs.astar.network/docs/build/dapp-staking/"
target="_blank"
rel="noopener noreferrer"
>
</a>
<a :href="docsUrl.dappStakingForStakers" target="_blank" rel="noopener noreferrer">
<span>{{ $t('stakingV3.onboarding.usersGuides') }}</span>
<astar-icon-arrow-right />
</a>
Expand Down Expand Up @@ -89,6 +85,7 @@ import 'swiper/css';
import 'swiper/css/navigation';
import 'swiper/css/pagination';
import { Navigation, Pagination } from 'swiper/modules';
import { docsUrl } from 'src/links';
export default defineComponent({
components: { Swiper, SwiperSlide },
Expand Down Expand Up @@ -120,6 +117,7 @@ export default defineComponent({
isClosingModal,
modules: [Navigation, Pagination],
RoutePath,
docsUrl,
closeModal,
};
},
Expand Down

0 comments on commit dff0289

Please sign in to comment.