Compare commits

...

3 Commits

Author SHA1 Message Date
victorAnumudu 30540e46ba added app download show/hide env value 2025-10-30 17:53:16 +01:00
victorAnumudu b195b1f787 added app download show/hide env value 2025-10-30 17:52:13 +01:00
ameye 2ddd04a1a1 Merge branch 'auth-footer-component' of MERMS/MermsPanelReactJS into master 2025-10-20 19:27:38 +00:00
4 changed files with 31 additions and 18 deletions
+3
View File
@@ -16,3 +16,6 @@ REACT_APP_TERMS_LINK='https://qa-www.mermsemr.com/terms'
# Inactivity timeout/logout AT 10MINS # Inactivity timeout/logout AT 10MINS
REACT_APP_TIMEOUT=600000 REACT_APP_TIMEOUT=600000
# show download button
REACT_APP_SHOW_DOWNLOAD=0
+3
View File
@@ -17,3 +17,6 @@ REACT_APP_TERMS_LINK='https://qa-www.mermsemr.com/terms'
# Inactivity timeout/logout AT 10MINS # Inactivity timeout/logout AT 10MINS
REACT_APP_TIMEOUT=600000 REACT_APP_TIMEOUT=600000
# show download button
REACT_APP_SHOW_DOWNLOAD=0
+3
View File
@@ -15,3 +15,6 @@ REACT_APP_TERMS_LINK='https://www.mermsemr.com/terms'
# Inactivity timeout/logout AT 10MINS # Inactivity timeout/logout AT 10MINS
REACT_APP_TIMEOUT=600000 REACT_APP_TIMEOUT=600000
# show download button
REACT_APP_SHOW_DOWNLOAD=0
+4
View File
@@ -5,6 +5,8 @@ import IOSDownload from '../../assets/img/download/apple.jpg'
export default function AuthFooter() { export default function AuthFooter() {
return ( return (
<div className='w-100'> <div className='w-100'>
{Number(process.env.REACT_APP_SHOW_DOWNLOAD) == 100 &&
<>
<div className="row" style={{margin: '5px'}}> <div className="row" style={{margin: '5px'}}>
<hr /> <hr />
</div> </div>
@@ -26,6 +28,8 @@ export default function AuthFooter() {
</div> </div>
</div> </div>
</div> </div>
</>
}
<div className="login-links"> <div className="login-links">
<a href={process.env.REACT_APP_HOME_LINK}>Home</a> <a href={process.env.REACT_APP_HOME_LINK}>Home</a>