Configuration
Note the page property hasHero: true
and in the section configuration isFullScreen: true
---
hasHero: true
# other settings
sections:
- sectionType: hero
containerTag: section
classes: 'first-section'
id: ''
description: "This is a full screen hero section with a background image and text overlay. The proporty 'isFullScreen' is set to true, which turn a standard hero section into full screen."
isDisabled: false
isReverse: false
isAnimated: true
isFullScreen: true
targetId: 'first-section'
date: ''
author: ''
containerFields:
inContainer: false
noMargin:
top: true
bottom: true
noPadding:
top: false
bottom: false
background:
isDark: false
color: ''
image: '/assets/images/sample13.jpg'
imageScreen: 'none' # light, dark, none
text:
leadIn: 'Metalsmith Components Library'
title: Hero
titleTag: 'h1'
subTitle:
prose: Examples of hero sections including full page. Click the down arrow at the bottom of the screen to scroll down. That requires 'targetId' to be set to the id of the next section, in this case 'first-section' and the id of the next section is set to 'first-section'. Also, notice the up-arrow in the bottom right screen corner, when scrolling starts, to return to the top of the page.
ctas:
- url: '/'
label: 'go home'
isButton: true
buttonStyle: 'primary'
image:
src: ''
alt: ''
caption: ''
# other sections
---