@@ -25,7 +31,7 @@ const ProjectsSection: React.FC = () =>
className={ `${shared.listItem} ${cls.listItem}` }
appearance={ selection === index ? "primary" : "secondary" }
data-selected={ selection === index }
- onClick={ () => setSelection(selection == index ? undefined : index) }
+ onClick={ () => select(selection == index ? undefined : index) }
aria-label={ `"${project.title}". ${project.subtitle}` }>
diff --git a/app/_page_sections/SkillsSection.tsx b/app/_page_sections/SkillsSection.tsx
index 2661139..0428100 100644
--- a/app/_page_sections/SkillsSection.tsx
+++ b/app/_page_sections/SkillsSection.tsx
@@ -5,7 +5,7 @@ import skills from "@/_data/skills";
import shared from "@/_styles/gallery.module.scss";
import { ArrowDownload24Regular } from "@fluentui/react-icons";
import Image from "next/image";
-import React, { useId, useState } from "react";
+import React, { useCallback, useId, useState } from "react";
import cls from "./SkillsSection.module.scss";
import links from "@/_data/links";
@@ -14,6 +14,12 @@ const SkillsSection: React.FC = () =>
const [selection, setSelection] = useState
(0);
const illustrations = useId();
+ const select = useCallback((index: number) =>
+ {
+ setSelection(index);
+ window.clarity?.("set", "checked", "skills");
+ }, []);
+
return (
@@ -25,7 +31,13 @@ const SkillsSection: React.FC = () =>
{ selection === 4 &&
// [SPECIAL] It's a surprize tool that will help us later
-
window.open("https://www.youtube.com/watch?v=dQw4w9WgXcQ") } />
+
+ {
+ window.clarity?.("event", "ngguu");
+ window.open("https://www.youtube.com/watch?v=dQw4w9WgXcQ");
+ } } />
}
@@ -35,7 +47,7 @@ const SkillsSection: React.FC = () =>