Fix some click propagation

This commit is contained in:
Jon Staab
2024-10-24 10:11:01 -07:00
parent edeb573caa
commit 7ae0711905
4 changed files with 23 additions and 11 deletions
+3 -3
View File
@@ -28,7 +28,7 @@
<div class="column content gap-4">
<h1 class="text-center text-5xl">Welcome to</h1>
<h1 class="mb-4 text-center text-5xl font-bold uppercase">{PLATFORM_NAME}</h1>
<div class="grid gap-3 lg:grid-cols-2">
<div class="col-3">
<Button on:click={addSpace}>
<CardButton>
<div slot="icon"><Icon icon="add-circle" size={7} /></div>
@@ -38,14 +38,14 @@
</Button>
<Link href="/people">
<CardButton>
<div slot="icon"><Icon icon="plain" size={7} /></div>
<div slot="icon"><Icon icon="compass" size={7} /></div>
<div slot="title">Browse the network</div>
<div slot="info">Find your people on the nostr network</div>
</CardButton>
</Link>
<Button on:click={startChat}>
<CardButton>
<div slot="icon"><Icon icon="hand-pills" size={7} /></div>
<div slot="icon"><Icon icon="chat-round" size={7} /></div>
<div slot="title">Start a conversation</div>
<div slot="info">Use nostr's encrypted group chats to stay in touch</div>
</CardButton>