umami updated

This commit is contained in:
NOCanoa
2024-09-25 19:30:34 +01:00
parent 2144ed7a6c
commit 994d7ab2b2
3 changed files with 5 additions and 2 deletions

View File

@@ -566,6 +566,7 @@ export default function Features() {
</p> </p>
<div className="relative mt-8 flex"> <div className="relative mt-8 flex">
<Button <Button
data-umami-event="patreon-feature"
variant="ghost" variant="ghost"
onClick={() => onClick={() =>
window.open("https://patreon.com/zen_browser", "_blank") window.open("https://patreon.com/zen_browser", "_blank")
@@ -574,6 +575,7 @@ export default function Features() {
Patreon <ExternalLinkIcon className="ml-4 h-4 w-4 opacity-50" /> Patreon <ExternalLinkIcon className="ml-4 h-4 w-4 opacity-50" />
</Button> </Button>
<Button <Button
data-umami-event="ko-fi-feature"
className="ml-8" className="ml-8"
variant="ghost" variant="ghost"
onClick={() => onClick={() =>

View File

@@ -93,10 +93,10 @@ export default function Footer() {
<h2 className="text-md mt-8 font-bold opacity-80">Support Us</h2> <h2 className="text-md mt-8 font-bold opacity-80">Support Us</h2>
<ul className="mt-4 font-normal opacity-70"> <ul className="mt-4 font-normal opacity-70">
<li> <li>
<a href="https://patreon.com/zen_browser">Patreon</a> <a data-umami-event="patreon-fotter" href="https://patreon.com/zen_browser">Patreon</a>
</li> </li>
<li className="mt-2"> <li className="mt-2">
<a href="https://ko-fi.com/zen_browser">Ko-fi</a> <a data-umami-event="ko-fi-fotter" href="https://ko-fi.com/zen_browser">Ko-fi</a>
</li> </li>
</ul> </ul>
</div> </div>

View File

@@ -157,6 +157,7 @@ const ListItem = React.forwardRef<
<li> <li>
<NavigationMenuLink asChild> <NavigationMenuLink asChild>
<a <a
data-umami-event={title}
ref={ref} ref={ref}
className={ny( className={ny(
"block select-none space-y-1 rounded-md p-3 leading-none no-underline outline-none transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground", "block select-none space-y-1 rounded-md p-3 leading-none no-underline outline-none transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground",