|
|
|
@ -74,15 +74,20 @@ const Item = (props) => { |
|
|
|
|
style={{ |
|
|
|
|
width: `${props.data.width}%`, |
|
|
|
|
height: props.height, |
|
|
|
|
cursor: "pointer", |
|
|
|
|
}} |
|
|
|
|
className={`home-static__list--item d-flex ${ |
|
|
|
|
window.lang === "en" ? "flex-row-reverse" : "" |
|
|
|
|
}`}
|
|
|
|
|
onClick={() => |
|
|
|
|
props.data.link && window.open(props.data.link, "_blank") |
|
|
|
|
} |
|
|
|
|
> |
|
|
|
|
<div |
|
|
|
|
className={`d-flex flex-column ${ |
|
|
|
|
window.lang === "en" ? "align-items-end" : "" |
|
|
|
|
}`}
|
|
|
|
|
style={{}} |
|
|
|
|
> |
|
|
|
|
<h2 style={{ color: "#02733c", fontSize: fontSize.desktop.h2 }}> |
|
|
|
|
{props.data.topText} |
|
|
|
@ -98,9 +103,13 @@ const Item = (props) => { |
|
|
|
|
</div> |
|
|
|
|
) : ( |
|
|
|
|
<div |
|
|
|
|
onClick={() => |
|
|
|
|
props.data.link && window.open(props.data.link, "_blank") |
|
|
|
|
} |
|
|
|
|
style={{ |
|
|
|
|
width: `${props.data.width}%`, |
|
|
|
|
height: props.height, |
|
|
|
|
cursor: "pointer", |
|
|
|
|
}} |
|
|
|
|
className={`home-static__list2--item ${ |
|
|
|
|
window.lang === "en" ? "d-flex" : "" |
|
|
|
|