Skip to content

Commit a403a2b

Browse files
authored
Merge pull request #237 from blocknative/enhancement/opera-install-msg
Add opera install hint. Closes #233
2 parents b31ace8 + 3faf0c7 commit a403a2b

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

src/modules/select/content.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ export const extensionInstallMessage = (helpers: {
3636
onclick={window.location.reload();}>
3737
refresh the page.
3838
</span>
39+
${
40+
selectedWallet === 'Opera'
41+
? '<br><br><i>Hint: If you already have Opera installed, make sure that your web3 wallet is <a style="color: #4a90e2; font-size: 0.889rem; font-family: inherit;" class="bn-onboard-clickable" href="https://help.opera.com/en/touch/crypto-wallet/" rel="noreferrer noopener" target="_blank">enabled</a></i>'
42+
: ''
43+
}
3944
</p>
4045
`
4146
}

src/views/Onboard.svelte

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@
2525
background: #0e212a;
2626
}
2727
28+
:global(.bn-onboard-clickable) {
29+
text-decoration: none;
30+
}
31+
2832
:global(.bn-onboard-clickable:hover) {
2933
cursor: pointer;
3034
text-decoration: underline;

0 commit comments

Comments
 (0)