0.7.5

WidgetCallToAction1

Source code

.

Need help choosing?

Order a free consultation with our company's specialists. We will call you back at a time convenient for you and discuss how we can help you.

---
import { WidgetCallToAction1 } from '@yatoday/astro-ui/astro';
---

<WidgetCallToAction1
  title="Need help choosing?"
  subtitle="Order a free consultation with our company's specialists. We will call you back at a time convenient for you and discuss how we can help you."
  actions={[
    {
      variant: 'primary',
      size: 'lg',
      text: 'Order a consultation',
      href: '/',
    },
  ]}
/>

Props

PropTypeDefaultDescription
titlestring-Title in Headline component
subtitlestring-Subtitle in Headline component
taglinestring-Tagline in Headline component
callToActionToAction | string | ToAction[] | string[]-Action button or link. See the ToAction for details.
isAfterContentbooleanfalse-
idstring-Specify a unique id for the section
isDarkbooleanfalseAdds the dark CSS class to the wrapper
bgstring-Set background element
classes.containerstring-CSS classes for the root container
classes.actionstring-CSS classes for each action
classes.headline.{...}string-CSS classes for the Headline component