+
+
{
+ linkRefs.current.home = ref;
+ }}
+ onMouseOver={() => setActiveLink("home")}
+ className='relative flex items-center gap-1 rounded-md px-4 py-2 font-mono text-muted-foreground transition-colors hover:text-primary'
+ >
+
~/
+ home
+
-
{
- linkRefs.current.demo = ref;
- }}
- onMouseOver={() => setActiveLink("demo")}
- onMouseLeave={() => setActiveLink("home")}
- className="relative flex items-center gap-2 rounded-md px-4 py-2 font-mono text-muted-foreground transition-colors hover:text-primary"
- >
-
demo
-
+
{
+ linkRefs.current.demo = ref;
+ }}
+ onMouseOver={() => setActiveLink("demo")}
+ onMouseLeave={() => setActiveLink("home")}
+ className='relative flex items-center gap-2 rounded-md px-4 py-2 font-mono text-muted-foreground transition-colors hover:text-primary'
+ >
+
demo
+
-
{
- linkRefs.current.npm = ref;
- }}
- onMouseOver={() => setActiveLink("npm")}
- onMouseLeave={() => setActiveLink("home")}
- className="relative flex items-center gap-2 rounded-md px-4 py-2 font-mono text-muted-foreground transition-colors hover:text-primary"
- >
-
{" "}
-
npm
-
+
{
+ linkRefs.current.docs = ref;
+ }}
+ onMouseOver={() => setActiveLink("docs")}
+ onMouseLeave={() => setActiveLink("home")}
+ className='relative flex items-center gap-2 rounded-md px-4 py-2 font-mono text-muted-foreground transition-colors hover:text-primary'
+ >
+
docs
+
-
{
- linkRefs.current.github = ref;
- }}
- onMouseOver={() => setActiveLink("github")}
- onMouseLeave={() => setActiveLink("home")}
- className={cn(
- "relative flex items-center gap-2 rounded-md px-4 py-2 font-mono text-muted-foreground transition-colors hover:text-primary",
- scrolled
- ? "translate-y-0 opacity-100"
- : "pointer-events-none opacity-0",
- )}
- >
-
- GitHub
-
- Github
-
-