aboutsummaryrefslogtreecommitdiff
path: root/pages/register.tsx
diff options
context:
space:
mode:
authorLoek Le Blansch <32883851+lonkaars@users.noreply.github.com>2021-04-21 10:40:52 +0200
committerGitHub <noreply@github.com>2021-04-21 10:40:52 +0200
commitdadc722875b2095bd3d6c4ab628a644197b85f7b (patch)
tree9e061708fad5bfdcc40f4c40662d77fbc42cfe64 /pages/register.tsx
parentc603cb79e7ba7fdbb101a506e36f6d8d70b3a8f4 (diff)
parent5cb39d822716c650e520c3855ef049ff308a348c (diff)
Merge pull request #12 from lonkaars/css-files
big redesign css move thing
Diffstat (limited to 'pages/register.tsx')
-rw-r--r--pages/register.tsx40
1 files changed, 20 insertions, 20 deletions
diff --git a/pages/register.tsx b/pages/register.tsx
index f78d092..bc2fc0f 100644
--- a/pages/register.tsx
+++ b/pages/register.tsx
@@ -88,35 +88,35 @@ export default function RegisterPage() {
return (
<div>
<NavBar />
- <CenteredPage width={500} style={{ height: '100vh' }}>
- <div
- style={{
- position: 'relative',
- top: '50%',
- transform: 'translateY(-50%)',
- margin: '0 auto',
- textAlign: 'center',
- }}
- >
- <Vierkant>
+ <CenteredPage width={500} className='h100vh'>
+ <div className='posrel center centeredForm'>
+ <Vierkant className='pad-l bg-800'>
<form onSubmit={(e) => submitRegister(e, toast)}>
<Input
autofocus
autocomplete='username'
id='username'
label='gebruikersnaam'
- style={{ marginBottom: 12 }}
- >
- </Input>
- <Input autocomplete='email' id='email' label='email' style={{ marginBottom: 12 }}></Input>
- <Input autocomplete='new-password' id='password' label='wachtwoord' type='password'></Input>
+ className='pad-m fullwidth bg-900 round-t'
+ />
+ <Input
+ autocomplete='email'
+ id='email'
+ label='email'
+ className='pad-m fullwidth bg-900 round-t'
+ />
+ <Input
+ autocomplete='new-password'
+ id='password'
+ label='wachtwoord'
+ type='password'
+ className='pad-m fullwidth bg-900 round-t'
+ />
<Button
text='Registreren'
- style={{ marginTop: 24 }}
onclick={() => submitRegister(null, toast)}
- >
- </Button>
- <input type='submit' style={{ display: 'none' }} />
+ />
+ <input type='submit' className='dispnone' />
</form>
</Vierkant>
</div>