diff --git a/src/components/services/item.jsx b/src/components/services/item.jsx index df0caf677..11bc56d2d 100644 --- a/src/components/services/item.jsx +++ b/src/components/services/item.jsx @@ -22,43 +22,58 @@ function resolveIcon(icon) { } export default function Item({ service }) { + const handleOnClick = () => { + if (service.href && service.href !== "#") { + window.open(service.href, "_blank").focus(); + } + }; + + const hasLink = service.href && service.href !== "#"; + return (
  • -
    - {service.icon && ( +
    + {service.icon && + (hasLink ? ( + + ) : ( +
    + logo +
    + ))} + + {hasLink ? ( + ) : ( +
    +
    + {service.name} +

    {service.description}

    +
    +
    )} - {service.container && (