48 lines
1.7 KiB
React
48 lines
1.7 KiB
React
|
import Image from '@hashicorp/react-image'
|
||
|
import Button from '@hashicorp/react-button'
|
||
|
import InlineSvg from '@hashicorp/react-inline-svg'
|
||
|
import ArrowIcon from './img/arrow.svg?include'
|
||
|
|
||
|
export default function EnterpriseInfo({ title, itemOne, itemTwo }) {
|
||
|
return (
|
||
|
<div className="g-enterprise-info">
|
||
|
<div className=" g-grid-container">
|
||
|
<h2 className="g-type-display-2">{title}</h2>
|
||
|
|
||
|
<div className="complexity-container">
|
||
|
<div className="item">
|
||
|
<Image url={itemOne.imageUrl} />
|
||
|
<div className="g-type-label-strong">{itemOne.label}</div>
|
||
|
<h4 className="g-type-display-4">{itemOne.title}</h4>
|
||
|
|
||
|
<p className="g-type-body">{itemOne.description}</p>
|
||
|
<Button
|
||
|
url={itemOne.link.url}
|
||
|
title={itemOne.link.text}
|
||
|
linkType={itemOne.link.type}
|
||
|
theme={{ variant: 'tertiary', brand: 'nomad' }}
|
||
|
/>
|
||
|
</div>
|
||
|
<div className="spacer">
|
||
|
<div className="vertical-spacer"></div>
|
||
|
<InlineSvg className="arrow" src={ArrowIcon} />
|
||
|
</div>
|
||
|
<div className="item">
|
||
|
<Image url={itemTwo.imageUrl} />
|
||
|
<div className="g-type-label-strong">{itemTwo.label}</div>
|
||
|
<h4 className="g-type-display-4">{itemTwo.title}</h4>
|
||
|
|
||
|
<p className="g-type-body">{itemTwo.description}</p>
|
||
|
<Button
|
||
|
url={itemTwo.link.url}
|
||
|
title={itemTwo.link.text}
|
||
|
linkType={itemTwo.link.type}
|
||
|
theme={{ variant: 'tertiary', brand: 'nomad' }}
|
||
|
/>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
)
|
||
|
}
|