From df073cbdb21c038b9d52198a4adbb24066239d9f Mon Sep 17 00:00:00 2001 From: Nonumpa Date: Sun, 4 Apr 2021 17:19:16 +0800 Subject: [PATCH 1/2] Add new signin methods --- components/AppLayout/LoginModal.js | 18 ++++++++++++++++++ components/AppLayout/images/google.svg | 1 + components/AppLayout/images/instagram.svg | 21 +++++++++++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 components/AppLayout/images/google.svg create mode 100644 components/AppLayout/images/instagram.svg diff --git a/components/AppLayout/LoginModal.js b/components/AppLayout/LoginModal.js index cdfaa458..a024f926 100644 --- a/components/AppLayout/LoginModal.js +++ b/components/AppLayout/LoginModal.js @@ -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: { @@ -130,6 +132,22 @@ function LoginModal({ onClose, redirectPath }) { > Github + + Google + + + Instagram + {jt`By logging in you agree to ${termsLink}, and your contribution will be published using ${licenseLink} as ${authorLink}.`} diff --git a/components/AppLayout/images/google.svg b/components/AppLayout/images/google.svg new file mode 100644 index 00000000..b518c527 --- /dev/null +++ b/components/AppLayout/images/google.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/components/AppLayout/images/instagram.svg b/components/AppLayout/images/instagram.svg new file mode 100644 index 00000000..77a0d8e8 --- /dev/null +++ b/components/AppLayout/images/instagram.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file From 2bfde2546dd783c411fcf4d5ce27f4e7f059ac3a Mon Sep 17 00:00:00 2001 From: MrOrz Date: Wed, 7 Apr 2021 20:23:38 +0800 Subject: [PATCH 2/2] Hide IG login because it needs app review fix lint --- components/AppLayout/LoginModal.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/AppLayout/LoginModal.js b/components/AppLayout/LoginModal.js index a024f926..bc6db44b 100644 --- a/components/AppLayout/LoginModal.js +++ b/components/AppLayout/LoginModal.js @@ -13,7 +13,7 @@ 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'; +// import Instagram from './images/instagram.svg'; const useStyles = makeStyles(theme => ({ title: { @@ -140,14 +140,14 @@ function LoginModal({ onClose, redirectPath }) { > Google - Instagram - + */} {jt`By logging in you agree to ${termsLink}, and your contribution will be published using ${licenseLink} as ${authorLink}.`}