Feedback and test sender implement, minor fixes with links

This commit is contained in:
MrFry 2020-03-15 10:53:28 +01:00
parent 8a1149d223
commit c5d6518ceb
11 changed files with 154 additions and 89 deletions

View file

@ -1,7 +1,24 @@
import constants from '../constants.json'
export default function Feedback (props) {
// TODO: textarea style to css
// TODO: response to user that msg is sucessfully sent
return (
<div>
hello Feedback
<form action={constants.serverUrl + 'postfeedback'} method='post'>
<div>Észrevételek: (közeledő teszt miatti kérdés-karbantartás, bug, feature vagy egyéb dolog, ami nyomja a lelked)</div>
<textarea
type='text'
name='message_field'
style={{
width: '100%',
boxSizing: 'border-box',
height: '400px'
}}
/>
<div>Rengeteg spam-et kapok, nyugodtan küldd el ezerszer, akkor hátha észreveszem a spam között :)</div>
<button>Küldés</button>
</form>
</div>
)
}