You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
packer/website/components/section-break-cta/index.tsx

23 lines
579 B

import Button from '@hashicorp/react-button'
import s from './style.module.css'
export default function SectionBreakCta({ heading, description, link }) {
return (
<div className={s.sectionBreakCta}>
<hr />
<h4 className={s.heading}>{heading}</h4>
{description && <p className={s.description}>{description}</p>}
<Button
title={link.text}
url={link.url}
theme={{
brand: 'neutral',
variant: 'tertiary-neutral',
background: 'light',
}}
linkType="outbound"
/>
</div>
)
}