-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #38 from thebrandonlucas/adoption-table
feat: add adoption table
- Loading branch information
Showing
6 changed files
with
284 additions
and
7 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,54 @@ | ||
<script lang="ts"> | ||
import { WALLET_ADOPTION } from '$lib/constants'; | ||
</script> | ||
|
||
<table> | ||
<thead> | ||
<tr> | ||
<th>Wallet</th> | ||
<th>Sending</th> | ||
<th>Receiving</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
{#each WALLET_ADOPTION as { name, sending, receiving }} | ||
<tr> | ||
<td>{name}</td> | ||
<td class={`${sending ? 'yes' : 'no'} text-black`}>{sending ? 'Yes' : 'No'}</td> | ||
<td class={`${receiving ? 'yes' : 'no'} text-black`}>{receiving ? 'Yes' : 'No'}</td> | ||
</tr> | ||
{/each} | ||
</tbody> | ||
</table> | ||
|
||
<style lang="postcss"> | ||
table { | ||
@apply bg-gray-600 table-fixed border-collapse w-full; | ||
} | ||
thead th:nth-child(1) { | ||
@apply w-1/3; | ||
} | ||
thead th:nth-child(2) { | ||
@apply w-1/3; | ||
} | ||
thead th:nth-child(3) { | ||
@apply w-1/3; | ||
} | ||
th, | ||
td { | ||
@apply text-left px-4 py-2; | ||
} | ||
th, | ||
td { | ||
@apply border border-gray-500; | ||
} | ||
tbody tr:nth-child(odd) { | ||
@apply bg-gray-700; | ||
} | ||
.no { | ||
@apply bg-red-300; | ||
} | ||
.yes { | ||
@apply bg-green-400; | ||
} | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,212 @@ | ||
export const WALLET_ADOPTION = [ | ||
{ | ||
name: 'Armory', | ||
sending: false, | ||
receiving: false | ||
}, | ||
{ | ||
name: 'bcoin', | ||
sending: false, | ||
receiving: false | ||
}, | ||
{ | ||
name: 'BDK-CLI', | ||
sending: false, | ||
receiving: false | ||
}, | ||
{ | ||
name: 'Bitcoin Core', | ||
sending: false, | ||
receiving: false | ||
}, | ||
{ | ||
name: 'Bitcoin Knots', | ||
sending: false, | ||
receiving: false | ||
}, | ||
{ | ||
name: 'Bitcoin Wallet for Android', | ||
sending: false, | ||
receiving: false | ||
}, | ||
{ | ||
name: 'BitMask', | ||
sending: true, | ||
receiving: false | ||
}, | ||
{ | ||
name: 'Blink (Bitcoin Beach Wallet)', | ||
sending: false, | ||
receiving: false | ||
}, | ||
{ | ||
name: 'Blixt Wallet', | ||
sending: false, | ||
receiving: false | ||
}, | ||
{ | ||
name: 'Blockstream Green', | ||
sending: false, | ||
receiving: false | ||
}, | ||
{ | ||
name: 'BlueWallet', | ||
sending: true, | ||
receiving: false | ||
}, | ||
{ | ||
name: 'Brainbow', | ||
sending: false, | ||
receiving: false | ||
}, | ||
{ | ||
name: 'Breadwallet', | ||
sending: false, | ||
receiving: false | ||
}, | ||
{ | ||
name: 'BTC.com', | ||
sending: false, | ||
receiving: false | ||
}, | ||
{ | ||
name: 'BTCPay Server', | ||
sending: true, | ||
receiving: true | ||
}, | ||
{ | ||
name: 'Casa', | ||
sending: false, | ||
receiving: false | ||
}, | ||
{ | ||
name: 'CLN', | ||
sending: false, | ||
receiving: false | ||
}, | ||
{ | ||
name: 'Coinomi', | ||
sending: false, | ||
receiving: false | ||
}, | ||
{ | ||
name: 'Eclair', | ||
sending: false, | ||
receiving: false | ||
}, | ||
{ | ||
name: 'Electrum', | ||
sending: false, | ||
receiving: false | ||
}, | ||
{ | ||
name: 'Envoy', | ||
sending: false, | ||
receiving: false | ||
}, | ||
{ | ||
name: 'Fedimint', | ||
sending: false, | ||
receiving: false | ||
}, | ||
{ | ||
name: 'FireBolt', | ||
sending: false, | ||
receiving: false | ||
}, | ||
{ | ||
name: 'Fully Noded', | ||
sending: false, | ||
receiving: false | ||
}, | ||
{ | ||
name: 'Gordian Wallet', | ||
sending: false, | ||
receiving: false | ||
}, | ||
{ | ||
name: 'Guarda Wallet', | ||
sending: false, | ||
receiving: false | ||
}, | ||
{ | ||
name: 'JAM', | ||
sending: false, | ||
receiving: false | ||
}, | ||
{ | ||
name: 'JoinMarket', | ||
sending: true, | ||
receiving: true | ||
}, | ||
{ | ||
name: 'Liana', | ||
sending: false, | ||
receiving: false | ||
}, | ||
{ | ||
name: 'LND', | ||
sending: false, | ||
receiving: false | ||
}, | ||
{ | ||
name: 'Mutiny Wallet', | ||
sending: false, | ||
receiving: false | ||
}, | ||
{ | ||
name: 'Mycelium', | ||
sending: false, | ||
receiving: false | ||
}, | ||
{ | ||
name: 'Nunchuk', | ||
sending: false, | ||
receiving: false | ||
}, | ||
{ | ||
name: 'Phoenix', | ||
sending: false, | ||
receiving: false | ||
}, | ||
{ | ||
name: 'Samourai Wallet', | ||
sending: false, | ||
receiving: false | ||
}, | ||
{ | ||
name: 'Sparrow Wallet', | ||
sending: true, | ||
receiving: false | ||
}, | ||
{ | ||
name: 'Stack Wallet', | ||
sending: false, | ||
receiving: false | ||
}, | ||
{ | ||
name: 'Trezor Suite', | ||
sending: false, | ||
receiving: false | ||
}, | ||
{ | ||
name: 'Trust Wallet', | ||
sending: false, | ||
receiving: false | ||
}, | ||
{ | ||
name: 'Vortex', | ||
sending: false, | ||
receiving: false | ||
}, | ||
{ | ||
name: 'Wasabi Wallet', | ||
sending: true, | ||
receiving: false | ||
}, | ||
{ | ||
name: 'Zeus', | ||
sending: false, | ||
receiving: false | ||
} | ||
]; |
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 |
---|---|---|
|
@@ -5,7 +5,8 @@ | |
"current": "currentColor", | ||
"primary": { | ||
"DEFAULT": "#f75394" | ||
} | ||
}, | ||
"background": "#0f0f0f" | ||
} | ||
} | ||
} |