File tree Expand file tree Collapse file tree 4 files changed +25
-1
lines changed
Expand file tree Collapse file tree 4 files changed +25
-1
lines changed Original file line number Diff line number Diff line change 11<script lang =" ts" >
22 import { nonNullish } from ' @dfinity/utils' ;
3+ import IconInfo from ' $lib/components/icons/IconInfo.svelte' ;
34 import IconWallet from ' $lib/components/icons/IconWallet.svelte' ;
45 import ButtonIcon from ' $lib/components/ui/ButtonIcon.svelte' ;
5- import Hr from ' $lib/components/ui/Hr.svelte' ;
66 import Popover from ' $lib/components/ui/Popover.svelte' ;
77 import WalletActions from ' $lib/components/wallet/WalletActions.svelte' ;
88 import WalletPicker from ' $lib/components/wallet/WalletPicker.svelte' ;
4646
4747<Popover anchor ={button } direction =" rtl" bind:visible >
4848 <div class =" container" >
49+ <div class =" info" >
50+ <a
51+ aria-label ={$i18n .wallet .information }
52+ href =" https://juno.build/docs/miscellaneous/wallet"
53+ rel =" noreferrer noopener"
54+ tabindex =" -1"
55+ target =" _blank" ><IconInfo size =" 20px" /></a
56+ >
57+ </div >
58+
4959 <div >
5060 <WalletTotal />
5161 </div >
112122 width : fit-content ;
113123 }
114124 }
125+
126+ .info {
127+ display : flex ;
128+ justify-content : flex-end ;
129+
130+ a {
131+ display : flex ;
132+ justify-content : center ;
133+ align-items : center ;
134+ }
135+ }
115136 </style >
Original file line number Diff line number Diff line change 359359 "credits" : " Credits" ,
360360 "transfer_icp_info" : " Learn how to provision your wallet in the" ,
361361 "documentation" : " documentation" ,
362+ "information" : " Learn about the wallet in the documentation" ,
362363 "tx_id" : " ID" ,
363364 "tx_timestamp" : " Timestamp" ,
364365 "tx_from" : " From" ,
Original file line number Diff line number Diff line change 359359 "credits" : " 积分" ,
360360 "transfer_icp_info" : " 了解如何为您的钱包充值" ,
361361 "documentation" : " 文档" ,
362+ "information" : " 在文档中了解更多钱包信息" ,
362363 "tx_id" : " 交易ID" ,
363364 "tx_timestamp" : " 时间" ,
364365 "tx_from" : " 发送方" ,
Original file line number Diff line number Diff line change @@ -369,6 +369,7 @@ interface I18nWallet {
369369 credits : string ;
370370 transfer_icp_info : string ;
371371 documentation : string ;
372+ information : string ;
372373 tx_id : string ;
373374 tx_timestamp : string ;
374375 tx_from : string ;
You can’t perform that action at this time.
0 commit comments