make sign in with ion link a button

This commit is contained in:
Michael Fatemi 2021-04-10 16:05:50 -04:00
parent e389ebd1ab
commit d12b289176
2 changed files with 8729 additions and 9120 deletions

View File

@ -1,4 +1,5 @@
import { ION_AUTHORIZATION_ENDPOINT } from '../api'; import { ION_AUTHORIZATION_ENDPOINT } from '../api';
import Button from '@material-ui/core/Button';
export default function Home() { export default function Home() {
return ( return (
@ -11,7 +12,11 @@ export default function Home() {
> >
<h1>Home</h1> <h1>Home</h1>
<div style={{ display: 'flex', flexDirection: 'row' }}> <div style={{ display: 'flex', flexDirection: 'row' }}>
<a href={ION_AUTHORIZATION_ENDPOINT}>Log In with Ion</a> <Button
onClick={() => (window.location.href = ION_AUTHORIZATION_ENDPOINT)}
>
Sign In with Ion
</Button>
</div> </div>
</div> </div>
); );

17842
yarn.lock

File diff suppressed because it is too large Load Diff