diff --git a/apps/sim/app/(landing)/components/hero/components/icon-button.tsx b/apps/sim/app/(landing)/components/hero/components/icon-button.tsx
index c8e523e2f86..15bb2cb618d 100644
--- a/apps/sim/app/(landing)/components/hero/components/icon-button.tsx
+++ b/apps/sim/app/(landing)/components/hero/components/icon-button.tsx
@@ -8,7 +8,7 @@ interface IconButtonProps {
onMouseEnter?: () => void
style?: React.CSSProperties
'aria-label': string
- isAutoHovered?: boolean
+ highlightFromParent?: boolean
}
export function IconButton({
@@ -17,19 +17,19 @@ export function IconButton({
onMouseEnter,
style,
'aria-label': ariaLabel,
- isAutoHovered = false,
+ highlightFromParent = false,
}: IconButtonProps) {
+ const hoverHighlight = highlightFromParent
+ ? ''
+ : 'hover:border-[#E5E5E5] hover:shadow-[0_2px_4px_0_rgba(0,0,0,0.08)]'
+
return (
- {/* Service integration buttons */}
+ {pillLayout !== null && (
+
+ )}
{serviceIcons.slice(0, visibleIconCount).map((service, index) => {
const Icon = service.icon
return (
- handleServiceClick(service.key as keyof typeof SERVICE_TEMPLATES)}
- onMouseEnter={() => setLastHoveredIndex(index)}
- style={service.style}
- isAutoHovered={!isUserHovering && index === autoHoverIndex}
+ ref={(el) => {
+ buttonRefs.current[index] = el
+ }}
>
-
-
+
+ handleServiceClick(index, service.key as keyof typeof SERVICE_TEMPLATES)
+ }
+ onMouseEnter={() => setLastHoveredIndex(index)}
+ style={service.style}
+ highlightFromParent
+ >
+
+
+
)
})}