-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
161 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<script lang="ts"> | ||
import Modal from '$lib/components/modals/Modal.svelte'; | ||
import {url} from '$lib/utils/path'; | ||
import {connection} from '.'; | ||
</script> | ||
|
||
<Modal onResponse={() => connection.cancel()}> | ||
<div class="title">You need to a web3 wallet to continue</div> | ||
<div class="download"> | ||
<a href="https://metamask.io/download.html" class="button primary"> | ||
<img alt={`Download Metamask}`} src={url('/images/wallets/metamask.svg')} /> | ||
Download metamask | ||
</a> | ||
</div> | ||
</Modal> | ||
|
||
<style> | ||
.title { | ||
text-align: center; | ||
} | ||
.download { | ||
display: flex; | ||
justify-content: center; | ||
} | ||
.download a { | ||
margin: 1rem; | ||
width: max-content; | ||
height: 3rem; | ||
} | ||
.download img { | ||
object-fit: contain; | ||
padding: 0; | ||
margin-left: 0.5rem; | ||
margin-right: 0.5rem; | ||
width: 2.5rem; | ||
height: 2.5rem; | ||
cursor: pointer; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters