import Button from '@hashicorp/react-button' import InlineSvg from '@hashicorp/react-inline-svg' import RightArrowIcon from './img/right-arrow-icon.svg?include' export default function BasicHero({ heading, content, links, brand, backgroundImage, }) { return (

{heading}

{content &&

{content}

} {links && links.length > 0 && ( <>
{links.slice(0, 2).map((link, stableIdx) => { const buttonVariant = stableIdx === 0 ? 'primary' : 'secondary' const linkType = link.type || 'inbound' return (
{links[2] && (
{links[2].text}
)} )}
) }