Bob AI: Add a navigation link to the products page in the navbar men

This commit is contained in:
2026-02-23 20:33:37 +00:00
parent 84878ee028
commit a2d78c7fd0

View File

@@ -13,7 +13,7 @@ import type { ButtonConfig } from "@/types/button";
import "./NavbarStyleFullscreen.css";
interface NavLinkProps {
item: NavItem;
item: NavItem & { href?: string };
onClose: () => void;
}
@@ -21,13 +21,13 @@ const NavLink = ({ item, onClose }: NavLinkProps) => {
const handleClick = useButtonClick(item.id, onClose);
return (
<button
type="button"
className="navbar-fullscreen__link text-background font-normal leading-[1.15] no-underline text-9xl bg-transparent border-none cursor-pointer"
<a
href={item.href || "#"}
className="navbar-fullscreen__link text-background font-normal leading-[1.15] no-underline text-9xl bg-transparent border-none cursor-pointer block"
onClick={handleClick}
>
<span className="navbar-fullscreen__link-text block relative">{item.name}</span>
</button>
</a>
);
};