Skip to content

Commit

Permalink
Update analytics links in AllFacets and LeftBar components
Browse files Browse the repository at this point in the history
  • Loading branch information
needim committed Dec 25, 2023
1 parent de7e555 commit f8162ff
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions src/components/AllFacets.astro
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@ const filtered = facetEntries.some(([_, values]) =>
>
<Icon name="tabler:plus" class="h-5 w-5" />
</a>
<a
target="_blank"
href="https://plausible.io/smashing.tools?period=all"
aria-label="Analytics of smashing.tools"
class="flex h-11 w-11 items-center justify-center rounded-2xl transition-colors hover:bg-zinc-200 dark:hover:bg-zinc-800"
>
<Icon name="tabler:trending-up" class="h-5 w-5" />
</a>
<a
href="/bookmarks"
aria-label="View your bookmarks"
Expand Down
2 changes: 1 addition & 1 deletion src/components/LeftBar.astro
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import smashingLogo from '../../public/logo.svg';
</a>
<a
target="_blank"
href="https://plausible.io/smashing.tools"
href="https://plausible.io/smashing.tools?period=all"
aria-label="Analytics of smashing.tools"
class="flex h-11 w-11 items-center justify-center rounded-2xl transition-colors hover:bg-zinc-200 dark:hover:bg-zinc-800"
>
Expand Down

0 comments on commit f8162ff

Please sign in to comment.