Skip to content

Commit f8162ff

Browse files
committed
Update analytics links in AllFacets and LeftBar components
1 parent de7e555 commit f8162ff

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

src/components/AllFacets.astro

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ const filtered = facetEntries.some(([_, values]) =>
3636
>
3737
<Icon name="tabler:plus" class="h-5 w-5" />
3838
</a>
39+
<a
40+
target="_blank"
41+
href="https://plausible.io/smashing.tools?period=all"
42+
aria-label="Analytics of smashing.tools"
43+
class="flex h-11 w-11 items-center justify-center rounded-2xl transition-colors hover:bg-zinc-200 dark:hover:bg-zinc-800"
44+
>
45+
<Icon name="tabler:trending-up" class="h-5 w-5" />
46+
</a>
3947
<a
4048
href="/bookmarks"
4149
aria-label="View your bookmarks"

src/components/LeftBar.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ import smashingLogo from '../../public/logo.svg';
4040
</a>
4141
<a
4242
target="_blank"
43-
href="https://plausible.io/smashing.tools"
43+
href="https://plausible.io/smashing.tools?period=all"
4444
aria-label="Analytics of smashing.tools"
4545
class="flex h-11 w-11 items-center justify-center rounded-2xl transition-colors hover:bg-zinc-200 dark:hover:bg-zinc-800"
4646
>

0 commit comments

Comments
 (0)