diff --git a/nefac-website/src/components/education/foi-guide/HoverButton.tsx b/nefac-website/src/components/education/foi-guide/HoverButton.tsx index f2f3996..581457f 100644 --- a/nefac-website/src/components/education/foi-guide/HoverButton.tsx +++ b/nefac-website/src/components/education/foi-guide/HoverButton.tsx @@ -31,7 +31,7 @@ export default function HoverButton({ state, isHovered, setHoveredId }: Props) { variant="outline" onMouseEnter={() => setHoveredId(state.id ?? null)} onMouseLeave={() => setHoveredId(null)} - className={`w-full my-4 relative overflow-hidden rounded-[10px]`} + className={`w-full my-4 relative overflow-hidden rounded-[10px] ${isHovered? "bg-black" : "bg-white"} transition-all duration-300`} >