Register field in frontend. still needs some design things

This commit is contained in:
cami 2021-06-21 04:55:31 +02:00
parent 514de0e4ae
commit 9621a12f0c
5 changed files with 18 additions and 15 deletions

View file

@ -0,0 +1,6 @@
.input-field {
width: auto;
}
.input-field input {
border-color: var(--primary);
}

View file

@ -1,8 +1,9 @@
import React from "react";
import "./Input.css";
function InputField(props) {
return (
<label>
<label className="input-field">
<p>{props.LabelName}</p>
<input name={props.InputName} type={props.InputType} />
</label>

View file

@ -146,7 +146,7 @@
background-color: transparent;
color: var(--primary);
padding: 14px 20px;
border: 1px solid #fff;
border: 1px solid var(--primary);
transition: all 0.3s ease-out;
}

View file

@ -20,6 +20,7 @@ export default function Login() {
InputType="password"
InputName="password"
/>
<br />
<SubmitField LabelName="Einloggen" />
</form>
</div>