diff --git a/client/src/views/common/components/BannerTopBar.js b/client/src/views/common/components/BannerTopBar.js index 866cbfe2a..3c6b3505e 100644 --- a/client/src/views/common/components/BannerTopBar.js +++ b/client/src/views/common/components/BannerTopBar.js @@ -19,8 +19,8 @@ const BannerTopBar = ({ BannerTopBar.propTypes = { backgroundUrl: PropTypes.string, size: PropTypes.string, - title: PropTypes.string, - text: PropTypes.string + title: PropTypes.oneOfType([PropTypes.string, PropTypes.array]), + text: PropTypes.oneOfType([PropTypes.string, PropTypes.array]) } export default BannerTopBar diff --git a/client/src/views/email-verification/index.js b/client/src/views/email-verification/index.js index c4ca17709..889a88613 100644 --- a/client/src/views/email-verification/index.js +++ b/client/src/views/email-verification/index.js @@ -2,10 +2,11 @@ import React from 'react' import { BannerTopBar } from '../common' -const EmailSignupConfirm = () => { - return ( - - ) -} +export const EmailSignupConfirm = () => , 'Thank you for opting-in to recieve updates about the Advanced Algos project!']} + backgroundUrl='https://aacorporatesitedevelop.azurewebsites.net/img/photos/superalgos-platform.jpg' +/> export default EmailSignupConfirm