Update components/home/magicui/interactive-grid-pattern.tsx
This commit is contained in:
parent
54da1aa02a
commit
58ded6c16f
@ -40,7 +40,7 @@ export function InteractiveGridPattern({
|
|||||||
width={width * horizontal}
|
width={width * horizontal}
|
||||||
height={height * vertical}
|
height={height * vertical}
|
||||||
className={cn(
|
className={cn(
|
||||||
"absolute inset-0 h-full w-full border border-[#1DA2FF]/30",
|
"absolute inset-0 h-full w-full border border-[#F3BA2F]/30",
|
||||||
className
|
className
|
||||||
)}
|
)}
|
||||||
{...props}
|
{...props}
|
||||||
@ -56,9 +56,9 @@ export function InteractiveGridPattern({
|
|||||||
width={width}
|
width={width}
|
||||||
height={height}
|
height={height}
|
||||||
className={cn(
|
className={cn(
|
||||||
"stroke-[#1DA2FF]/30 transition-all duration-100 ease-in-out [&:not(:hover)]:duration-1000",
|
"stroke-[#F3BA2F]/30 transition-all duration-100 ease-in-out [&:not(:hover)]:duration-1000",
|
||||||
hoveredSquare === index
|
hoveredSquare === index
|
||||||
? "fill-[#1DA2FF]/30"
|
? "fill-[#F3BA2F]/30"
|
||||||
: "fill-transparent",
|
: "fill-transparent",
|
||||||
squaresClassName
|
squaresClassName
|
||||||
)}
|
)}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user