From c56420f55938410b02d44f4cc9c9b7041507561e Mon Sep 17 00:00:00 2001 From: Lara Salameh Date: Fri, 8 May 2020 12:39:27 +1000 Subject: [PATCH] cta btns --- pages/imagine/index.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pages/imagine/index.js b/pages/imagine/index.js index 2ea2405e1..fed938264 100644 --- a/pages/imagine/index.js +++ b/pages/imagine/index.js @@ -10,6 +10,8 @@ import WavyDonateSection from '../../components/wavyDonateSection'; import TypeformModal from '../../components/typeformModal'; import IntercomChat from '../../components/intercom'; import scrollToComponent from '../../utils/scrollToComponent'; +import useDonate from '../../hooks/useDonate'; + import styles from './style.scss'; const DoubleCurvedLine = dynamic(() => import('../../components/imaginationTv/doubleCurvedLine')); @@ -23,6 +25,7 @@ const ImagiNationTV = (props) => { const [showModal, setModal] = useState(false); const toggleModal = () => setModal(!showModal); const scrollToPanel = () => scrollToComponent(scrollToThisRef); + const [modalVisible, toggleDonateModal] = useDonate(); return ( @@ -65,7 +68,7 @@ const ImagiNationTV = (props) => { theme={process.env.REACT_APP_THEME} // onClickFunction={scrollHandler} className={`${styles.triBtn} ${styles.watchBtn}`} - url="https://www.youtube.com/user/aimementoring/live" + url="https://docs.google.com/document/d/1MyE1Xv8OSsFnJLEL2WNhLL0DbsKJfMtmcrrUUa7BOh8/edit" target="_blank" type="link" > @@ -76,14 +79,14 @@ const ImagiNationTV = (props) => { text="Film" theme={process.env.REACT_APP_THEME} className={`${styles.triBtn} ${styles.imagiDonate}`} - // onClickFunction={toggleDonateModal} />