Add a link to the source code from the login page.

master
Tom Hacohen 7 years ago
parent 0471f2424d
commit a374766ab8

@ -31,11 +31,16 @@ class Root extends React.Component {
margin: 'auto', margin: 'auto',
maxWidth: 400, maxWidth: 400,
padding: 20, padding: 20,
marginTop: 20,
}, },
isSafe: { isSafe: {
marginTop: 20,
textDecoration: 'none', textDecoration: 'none',
display: 'block',
}, },
divider: {
margin: '30px 0',
color: '#00000025',
}
}; };
return ( return (
@ -46,9 +51,11 @@ class Root extends React.Component {
error={this.props.credentials.error} error={this.props.credentials.error}
loading={this.props.credentials.fetching} loading={this.props.credentials.fetching}
/> />
<div style={style.isSafe}> <hr style={style.divider}/>
<a style={style.isSafe} href={C.faq + '#web-client'}>Is the web client safe to use?</a> <ul>
</div> <li><a style={style.isSafe} href={C.faq + '#web-client'}>Is the web client safe to use?</a></li>
<li><a style={style.isSafe} href={C.sourceCode}>Source code</a></li>
</ul>
</Paper> </Paper>
); );
} }

Loading…
Cancel
Save