diff --git a/src/assets/images/modalbg.png b/src/assets/images/modalbg.png new file mode 100644 index 0000000..378cf8a Binary files /dev/null and b/src/assets/images/modalbg.png differ diff --git a/src/components/Home/FamilyDash.jsx b/src/components/Home/FamilyDash.jsx index afb2b5a..98181b5 100644 --- a/src/components/Home/FamilyDash.jsx +++ b/src/components/Home/FamilyDash.jsx @@ -147,7 +147,7 @@ export default function FamilyDash({ MyActiveJobList=[], serverImg }) { {/* last_login */} {(!familyBannersList?.loading && firstTimeModal) && - setFirstTimeModal(prev => !prev)} situation={firstTimeModal} /> + setFirstTimeModal(prev => !prev)} situation={firstTimeModal} /> } ); diff --git a/src/components/Home/HomeModal.jsx b/src/components/Home/HomeModal.jsx index e8e833f..3e982a8 100644 --- a/src/components/Home/HomeModal.jsx +++ b/src/components/Home/HomeModal.jsx @@ -1,7 +1,11 @@ import React from 'react' import ModalCom from '../Helpers/ModalCom' +import ModalBG from '../../assets/images/modalbg.png' + +export default function HomeModal({userDetails, action, situation}) { + + const {firstname, lastname} = userDetails -export default function HomeModal({action, situation}) { const options = [ 'Suggest Task to Parent', 'Suggest Task to Parent' ] @@ -12,47 +16,56 @@ export default function HomeModal({action, situation}) { return ( <> - -
-
-

- What will you want to do? -

- -
-
-
- - - - - -
-
- {options.map(item =>( -
-

- {item} -

-
- ))} +
+
+
+
+
+ modal image +
+
-
- - +
+
+ {/*

Welcome to WrenchBoard

*/} +

Welcome {firstname} {lastname}

+

+ Here's where you can explore informative vidoes that provide valuable insight + into how you can connect with siblings and family and explore more on personal development +

+
+ +
+
- +
+
) }