diff --git a/.env b/.env index 49253e1..9e7a34d 100644 --- a/.env +++ b/.env @@ -16,3 +16,6 @@ REACT_APP_TERMS_LINK='https://qa-www.mermsemr.com/terms' # Inactivity timeout/logout AT 10MINS REACT_APP_TIMEOUT=600000 +# show download button +REACT_APP_SHOW_DOWNLOAD=0 + diff --git a/.env.development b/.env.development index 23286b1..97940b1 100644 --- a/.env.development +++ b/.env.development @@ -17,3 +17,6 @@ REACT_APP_TERMS_LINK='https://qa-www.mermsemr.com/terms' # Inactivity timeout/logout AT 10MINS REACT_APP_TIMEOUT=600000 +# show download button +REACT_APP_SHOW_DOWNLOAD=0 + diff --git a/.env.production b/.env.production index 612969b..4c4d90f 100644 --- a/.env.production +++ b/.env.production @@ -14,4 +14,7 @@ REACT_APP_CONTACTS_LINK='https://www.mermsemr.com/contacts' REACT_APP_TERMS_LINK='https://www.mermsemr.com/terms' # Inactivity timeout/logout AT 10MINS -REACT_APP_TIMEOUT=600000 \ No newline at end of file +REACT_APP_TIMEOUT=600000 + +# show download button +REACT_APP_SHOW_DOWNLOAD=0 \ No newline at end of file diff --git a/src/component/auth/AuthFooter.jsx b/src/component/auth/AuthFooter.jsx index 3b1bfc6..04eb5e8 100644 --- a/src/component/auth/AuthFooter.jsx +++ b/src/component/auth/AuthFooter.jsx @@ -5,27 +5,31 @@ import IOSDownload from '../../assets/img/download/apple.jpg' export default function AuthFooter() { return (
-
-
-
-
-
-
- - IOS Download - -
+ {Number(process.env.REACT_APP_SHOW_DOWNLOAD) == 100 && + <> +
+
+
+
+
+ + IOS Download + +
+
-
-
- - IOS Download - +
+
+ + IOS Download + +
-
+ + }
Home