diff --git a/src/stories/Components/Cta.jsx b/src/stories/Components/Cta.jsx index e36e332..0388ac1 100644 --- a/src/stories/Components/Cta.jsx +++ b/src/stories/Components/Cta.jsx @@ -43,6 +43,7 @@ Cta.propTypes = { buttonText: PropTypes.string, buttonLink: PropTypes.string, imageSrc: PropTypes.string, + onClick: PropTypes.func, }; Cta.defaultProps = { diff --git a/src/stories/Components/Hero.jsx b/src/stories/Components/Hero.jsx index 4b20501..53d600f 100644 --- a/src/stories/Components/Hero.jsx +++ b/src/stories/Components/Hero.jsx @@ -1,43 +1,59 @@ import React from 'react' +import PropTypes from 'prop-types'; import 'tailwindcss/tailwind.css'; -export default function Hero() { + +function Hero({ title, description, getStartedLink, learnMoreLink, buttonText }) { return (
- Lorem ipsum dolor sit amet consectetur, adipisicing elit. Nesciunt illo tenetur fuga ducimus - numquam ea! -
++ {description} +
-