1.0.0 • Published 3 years ago
@plone-collective/volto-educal-hero-block v1.0.0
volto-educal-hero-block
A volto block add-on for a hero block. It contains heading on left side and can have two images on the right side.
Customizable properties
preheadingText(string): The text before the heading.headingText(string): The heading text.subHeadingText(string): The sub-heading text.showActionButton(boolean): Toggle theCTA-Button.actionButtonText(string):CTA-Buttonlabel.actionButtonUrl(string):CTA-ButtonURL which is navigated onClick.foregroundImage(image): Foreground image url.backgroundImage(image): Background image url.quoteText1(string): The quote text for the first line.quoteText2(string): The quote text for the second line.enableShapes(boolean): Toggle the various background shapes along with the animations.margin(string): Specifies themargincss property of the banner.
Example
Configuration
preheadingText: 'Access 2700+'
headingText: 'Online Tutorial From Top Instructor.'
subHeadingText: 'Meet university,and cultural institutions, who'll share their experience.'
showActionButton: true
actionButtonText: 'View all courses'
actionButtonUrl: '/'
foregroundImage: '/hero.jpg'
foregroundImage: '/hero2.jpg'
quoteText1: 'Tomorrow is our'
quoteText2: '“When I Grow Up” Spirit Day!'
enableShapes: true
margin: '75px -50px 200px -50px'Output

1.0.0
3 years ago