Skip to content

Commit

Permalink
feat: wallet adoption cards
Browse files Browse the repository at this point in the history
  • Loading branch information
thebrandonlucas committed Nov 2, 2023
1 parent 09686b1 commit 1a11a32
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
12 changes: 8 additions & 4 deletions src/features/WalletCard.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@
export let wallets: AcceptedWallet[] = [];
</script>

<div class={`flex gap-12 p-4 ${bad ? 'bg-red-400' : 'bg-green-300'}`}>
{#each wallets as { name, href }}
<LinkTag {href} {bad} text={name} />
{/each}
<div class="flex-1">
<div
class={`flex gap-4 p-4 items-end rounded-3xl flex-wrap ${bad ? 'bg-red-400' : 'bg-green-300'}`}
>
{#each wallets as { name, href }}
<LinkTag {href} {bad} text={name} />
{/each}
</div>
</div>
4 changes: 1 addition & 3 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -288,9 +288,7 @@
list!</H3
>
</div>

<!-- <AdoptionTable /> -->
<div class="flex w-full gap-12 overflow-visible">
<div class="flex gap-12 max-md:flex-col">
<WalletCard wallets={privateWallets} />
<WalletCard bad wallets={surveilledWallets} />
</div>
Expand Down

0 comments on commit 1a11a32

Please sign in to comment.