Add access request
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
import {useEffect, useState} from 'react'
|
||||
import {signIn} from 'next-auth/client'
|
||||
import {useRouter} from 'next/router'
|
||||
import Link from 'next/link'
|
||||
import {
|
||||
Box,
|
||||
Button,
|
||||
Container,
|
||||
FormControl,
|
||||
@@ -123,7 +125,7 @@ function Koneksyon() {
|
||||
<Button
|
||||
fullWidth
|
||||
disabled={loading || !validateEmail(credentials.username) || credentials.password === ''}
|
||||
style={{marginTop: 50}}
|
||||
style={{marginTop: 40}}
|
||||
variant='contained'
|
||||
color='primary'
|
||||
onClick={handleClick}
|
||||
@@ -135,6 +137,15 @@ function Koneksyon() {
|
||||
|
||||
{loading && <LinearProgress size={24} style={{width: '100%', marginTop: '1em'}} />}
|
||||
|
||||
<Box align='center' marginTop={4}>
|
||||
<Typography gutterBottom display='block' variant='h6' component='h2'>
|
||||
Demande d’accès
|
||||
</Typography>
|
||||
<Link passHref href='mailto:kontak@o-k-i.net?subject=Accès à soumèt'>
|
||||
<a style={{color: 'green', fontSize: 20}}>kontak@o-k-i.net</a>
|
||||
</Link>
|
||||
</Box>
|
||||
|
||||
{loginError && (
|
||||
<Snackbar
|
||||
open={open}
|
||||
|
||||
Reference in New Issue
Block a user