Skip to content

Commit 0a77850

Browse files
committed
fix(homepage): add download events
1 parent 370db3f commit 0a77850

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

apps/homepage/src/routes/download/+page.svelte

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,13 +169,15 @@
169169
<Button
170170
class="flex items-center gap-2 rounded-[0.55rem] w-full sm:w-[210px]"
171171
scale="sm"
172+
data-sln-event="download: mac-aarch64"
172173
on:click={() => downloadForMac('aarch64')}
173174
>
174175
Download for Apple Silicon
175176
</Button>
176177
<Button
177178
class="flex items-center gap-2 rounded-[0.55rem] w-full sm:w-[210px]"
178179
scale="sm"
180+
data-sln-event="download: mac-x86_64"
179181
on:click={() => downloadForMac('x86_64')}
180182
>
181183
Download for Intel Chip
@@ -193,8 +195,10 @@
193195
</div>
194196
{:else if $selected === 'web'}
195197
<a href="/app" rel="noopener noreferrer" target="_blank">
196-
<Button class="flex items-center gap-2 rounded-[0.55rem] w-full sm:w-fit" scale="sm"
197-
>Open Web App</Button
198+
<Button
199+
class="flex items-center gap-2 rounded-[0.55rem] w-full sm:w-fit"
200+
scale="sm"
201+
data-sln-event="download: web">Open Web App</Button
198202
>
199203
</a>
200204
{:else if $selected === 'mobile'}

0 commit comments

Comments
 (0)