Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | 62x 62x 62x 62x | import Grid from '@material-ui/core/Grid';
import NavButton from './NavButton';
import React from 'react';
import TitleSection from './TitleSection';
import Box from '@material-ui/core/Box';
import Container from '@material-ui/core/Container';
export default function GetStartedCard(props) {
const headerTitle = props.headerTitle;
const buttonHref = props.buttonHref;
const buttonText = props.buttonText;
/**
* A footer call to action. Takes in a Title, Button Text and URL
* @param {*} props.headerTitle
* @param {*} props.buttonHref
* @param {*} props.buttonText
*/
return (
<>
<Box className='containerWhite'>
<Container>
<Grid
container
alignItems='center'
justify='center'
direction='column'
style={{
backgroundColor: '#FFFFFF',
padding: '30px 30px 60px 30px',
}}>
<TitleSection textVariant='black'>
{headerTitle}
</TitleSection>
<NavButton href={buttonHref} color='primary'>
{buttonText}
</NavButton>
</Grid>
</Container>
</Box>
</>
);
}
|