import Button from '@hashicorp/react-button' 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' return (
{links[2] && (
)} )}
) }