From a507c014d05305fcd03c6ae62f68effc3b4ba0d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20FAMIBELLE-PRONZOLA?= Date: Thu, 10 Jun 2021 19:26:21 +0200 Subject: [PATCH] Add LoginProvider to Koneksyon --- components/soumet/koneksyon.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/components/soumet/koneksyon.js b/components/soumet/koneksyon.js index 339cf6f..03d08ba 100644 --- a/components/soumet/koneksyon.js +++ b/components/soumet/koneksyon.js @@ -17,9 +17,20 @@ import { } from '@material-ui/core' import {Visibility, VisibilityOff} from '@material-ui/icons' import MuiAlert from '@material-ui/lab/Alert' +import {Google} from '@icons-pack/react-simple-icons' import {validateEmail} from '../../lib/utils/emails' +import LoginProvider from './login-provider' + +const PROVIDERS = [ + { + id: 'google', + title: 'Google', + icon: + } +] + function Alert(props) { return } @@ -161,6 +172,14 @@ function Koneksyon() { + + {PROVIDERS.map(({id, title, icon}) => ( + + + + ))} + + {loginError && (