-
Notifications
You must be signed in to change notification settings - Fork 3
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
1 parent
a387ce5
commit 622bdbf
Showing
6 changed files
with
86 additions
and
13 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
File renamed without changes
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
<script lang="ts" setup> | ||
import { ref } from 'vue' | ||
import useWallet from '@/composables/wallet' | ||
import { ProviderString } from '@casimir/types' | ||
const { connectWallet } = useWallet() | ||
const wallets = ref([ | ||
'MetaMask', | ||
'CoinbaseWallet', | ||
'WalletConnect', | ||
'Trezor', | ||
'Ledger', | ||
'IoPay' | ||
] as ProviderString[]) | ||
</script> | ||
|
||
<template> | ||
<div class="h-full w-full flex justify-center items-center"> | ||
<div class="min-w-[360px] w-full max-w-[600px]"> | ||
<div class="mb-25"> | ||
<img | ||
src="/casimir.svg" | ||
alt="Casimir Logo" | ||
class="w-30" | ||
> | ||
</div> | ||
<div | ||
class="flex justify-between items-center gap-50 h-[400px]" | ||
> | ||
<div class="w-full border-y-[2px] border-l-[2px] rounded-l-[5px] h-full p-35 flex flex-col justify-between"> | ||
<div> | ||
<h6 class="font-medium text-[#727476]"> | ||
Connect Your Wallet | ||
</h6> | ||
</div> | ||
<div> | ||
<p class="text-caption font-medium text-grey_5 mb-10"> | ||
New user? Connect any wallet to create an account with wallet. | ||
Once wallet is connected, you can connect more wallets on the dashboard page with the | ||
Multi-Wallet tab in the top right of the page. | ||
</p> | ||
<p class="text-caption font-medium text-grey_5"> | ||
By connecting your wallets you agree to | ||
<button class="font-semibold text-primary hover:text-blue_3"> | ||
Casimir Terms | ||
</button> | ||
</p> | ||
</div> | ||
</div> | ||
<div class="w-[350px] h-full overflow-y-auto flex flex-col justify-center items-center"> | ||
<button | ||
v-for="wallet in wallets" | ||
:key="wallet" | ||
class="flex justify-between items-center border-[2px] border-[#b2bacb] | ||
rounded-[5px] mb-[10px] px-10 py-5 w-full hover:border-blue_3" | ||
@click="connectWallet(wallet)" | ||
> | ||
<img | ||
:src="'/'+wallet.toLocaleLowerCase()+'.svg'" | ||
:alt="wallet + ' Logo'" | ||
class="w-[35px] rounded-[100%]" | ||
> | ||
<h6 class="text-body font-bold text-[#8E9095]"> | ||
{{ wallet }} | ||
</h6> | ||
</button> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</template> |
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