diff --git a/.env b/.env index 949303d..fcdc42c 100644 --- a/.env +++ b/.env @@ -118,4 +118,10 @@ REACT_APP_SHOW_ACCOUNT_DASH=1 REACT_APP_SHOW_SLIDER_BANNERS=0 # FOR MEDIA LINK -REACT_APP_MEDIA_LINK='https://dev-media.wrenchboard.com' \ No newline at end of file +REACT_APP_MEDIA_LINK='https://dev-media.wrenchboard.com' + +# FOR FAMILY GAME LINK +REACT_APP_FAM_GAME_LINK='https://games.wrenchboard.com' + +# REACT APP CUSTOMTIMER +REACT_APP_CUSTOMTIMER=90 \ No newline at end of file diff --git a/.env.development b/.env.development index 3e1b1be..5f2d549 100644 --- a/.env.development +++ b/.env.development @@ -86,4 +86,10 @@ REACT_APP_SHOW_ACCOUNT_DASH=1 REACT_APP_SHOW_SLIDER_BANNERS=0 # FOR MEDIA LINK -REACT_APP_MEDIA_LINK='https://dev-media.wrenchboard.com' \ No newline at end of file +REACT_APP_MEDIA_LINK='https://dev-media.wrenchboard.com' + +# FOR FAMILY GAME LINK +REACT_APP_FAM_GAME_LINK='https://games.wrenchboard.com' + +# REACT APP CUSTOMTIMER +REACT_APP_CUSTOMTIMER=90 \ No newline at end of file diff --git a/.env.production b/.env.production index 615202b..cfa2c24 100644 --- a/.env.production +++ b/.env.production @@ -92,4 +92,10 @@ REACT_APP_SHOW_ACCOUNT_DASH=1 REACT_APP_SHOW_SLIDER_BANNERS=0 # FOR MEDIA LINK -REACT_APP_MEDIA_LINK='https://media.wrenchboard.com' \ No newline at end of file +REACT_APP_MEDIA_LINK='https://media.wrenchboard.com' + +# FOR FAMILY GAME LINK +REACT_APP_FAM_GAME_LINK='https://games.wrenchboard.com' + +# REACT APP CUSTOMTIMER +REACT_APP_CUSTOMTIMER=90 \ No newline at end of file diff --git a/src/Routers.jsx b/src/Routers.jsx index f1b658b..e8466e5 100644 --- a/src/Routers.jsx +++ b/src/Routers.jsx @@ -66,6 +66,7 @@ import FamWorkInProgressPage from "./views/FamWorkInProgressPage"; import MyPastDueTasksPage from "./views/MyPastDueTasksPage"; import FamilyWalletPage from "./views/FamilyWalletPage"; import FamilyActivitiesPage from "./views/FamilyActivitiesPage"; +import FamGamesPage from "./views/FamGamesPage"; export default function Routers() { return ( @@ -144,6 +145,7 @@ export default function Routers() { } /> } /> } /> + } /> } /> - {(props) => { return ( -
-
-
- {/* inputs starts here */} -
-
- - + {walletDetails?.loading ? ( + ) : walletDetails.data.length > 1 ? ( + <> + + {walletDetails.data?.map((item, index) => ( + + ))} + + ) : walletDetails.data.length == 1 ? + <> {walletDetails.data?.map((item, index) => ( - )} - + :( + + )} + +
+ + {/* Price */} +
+ +
+ + {/* Timeline */} +
+ + + + + {publicArray.map(({ name, duration }, idx) => ( + + ))} + +
- {/* Price */} -
+ {/* Title */} +
-
- {/* Title */} -
- -
- - {/* Description */} -
- -
- - {/* Details */} -
-
- -