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