Skip to content

Commit

Permalink
Merge pull request #424 from cofacts/new-signin-methods
Browse files Browse the repository at this point in the history
New signin methods
  • Loading branch information
MrOrz authored Apr 7, 2021
2 parents 01c1011 + 2bfde25 commit 82b15ed
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
18 changes: 18 additions & 0 deletions components/AppLayout/LoginModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ import { AUTHOR, LICENSE } from 'lib/terms';
import Facebook from './images/facebook.svg';
import Twitter from './images/twitter.svg';
import Github from './images/github.svg';
import Google from './images/google.svg';
// import Instagram from './images/instagram.svg';

const useStyles = makeStyles(theme => ({
title: {
Expand Down Expand Up @@ -130,6 +132,22 @@ function LoginModal({ onClose, redirectPath }) {
>
Github
</ProviderLink>
<ProviderLink
provider="google"
logo={Google}
color="#2B414D"
redirectPath={redirectPath}
>
Google
</ProviderLink>
{/* <ProviderLink
provider="instagram"
logo={Instagram}
color="#2B414D"
redirectPath={redirectPath}
>
Instagram
</ProviderLink> */}
<Typography variant="body2" className={classes.terms}>
{jt`By logging in you agree to ${termsLink}, and your contribution will be published using ${licenseLink} as ${authorLink}.`}
</Typography>
Expand Down
1 change: 1 addition & 0 deletions components/AppLayout/images/google.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions components/AppLayout/images/instagram.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 82b15ed

Please sign in to comment.