Skip to content

Commit

Permalink
fix(homepage): add download events
Browse files Browse the repository at this point in the history
  • Loading branch information
chroxify committed Sep 3, 2024
1 parent 370db3f commit 0a77850
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions apps/homepage/src/routes/download/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -169,13 +169,15 @@
<Button
class="flex items-center gap-2 rounded-[0.55rem] w-full sm:w-[210px]"
scale="sm"
data-sln-event="download: mac-aarch64"
on:click={() => downloadForMac('aarch64')}
>
Download for Apple Silicon
</Button>
<Button
class="flex items-center gap-2 rounded-[0.55rem] w-full sm:w-[210px]"
scale="sm"
data-sln-event="download: mac-x86_64"
on:click={() => downloadForMac('x86_64')}
>
Download for Intel Chip
Expand All @@ -193,8 +195,10 @@
</div>
{:else if $selected === 'web'}
<a href="/app" rel="noopener noreferrer" target="_blank">
<Button class="flex items-center gap-2 rounded-[0.55rem] w-full sm:w-fit" scale="sm"
>Open Web App</Button
<Button
class="flex items-center gap-2 rounded-[0.55rem] w-full sm:w-fit"
scale="sm"
data-sln-event="download: web">Open Web App</Button
>
</a>
{:else if $selected === 'mobile'}
Expand Down

0 comments on commit 0a77850

Please sign in to comment.