Updates
This commit is contained in:
parent
668b596402
commit
d586c56bd3
@ -80,7 +80,8 @@ export function twuiAddActiveLinksFn({
|
||||
|
||||
const linkAttr = linkEl.getAttribute("href");
|
||||
|
||||
if (window.location.pathname === "/") {
|
||||
if (window.location.pathname === "/" && linkAttr == "/") {
|
||||
linkEl.classList.add("active");
|
||||
} else if (
|
||||
isLinkStrict &&
|
||||
linkEl.getAttribute("href") === window.location.pathname
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { TWUI_LINK_LIST_LINK_OBJECT } from "@/components/lib/elements/LinkList";
|
||||
import { GitBranch, Github, Linkedin, Mail, Users } from "lucide-react";
|
||||
import { GitBranch, Linkedin, Mail } from "lucide-react";
|
||||
import { ReactNode } from "react";
|
||||
|
||||
export const HeaderLinks: TWUI_LINK_LIST_LINK_OBJECT[] = [
|
||||
|
Loading…
Reference in New Issue
Block a user