Skip to content
Snippets Groups Projects
Commit 65ad007f authored by Barnabás Czémán's avatar Barnabás Czémán
Browse files

Small style changes

parent f9db34a7
Branches
Tags
No related merge requests found
import React, { Component } from 'react'; import React, { Component } from 'react';
import { Container, Segment, Form, Dropdown, Divider } from 'semantic-ui-react'; import { Container, Segment, Form, Dropdown, Divider, Card, Header } from 'semantic-ui-react';
import { connect } from 'react-redux'; import { connect } from 'react-redux';
import { textChange, submitRegistration, groupChange } from '../../actions'; import { textChange, submitRegistration, groupChange } from '../../actions';
...@@ -23,9 +23,16 @@ class Profile extends Component { ...@@ -23,9 +23,16 @@ class Profile extends Component {
nick, groups, motivation, signed, id, nick, groups, motivation, signed, id,
} = this.props; } = this.props;
return ( return (
<div> <Container
<Segment textAlign='center' vertical> style={{
<Container> marginBottom: '0.5em',
marginTop: '0.5em',
}}
>
<Divider horizontal>
<Header as='h2' content='Profil (Jelentkezés)' />
</Divider>
<Segment textAlign='center'>
<Form> <Form>
<Divider horizontal>Becenév</Divider> <Divider horizontal>Becenév</Divider>
<Form.Input <Form.Input
...@@ -35,6 +42,7 @@ class Profile extends Component { ...@@ -35,6 +42,7 @@ class Profile extends Component {
placeholder='Becenév' placeholder='Becenév'
value={nick} value={nick}
/> />
<Divider horizontal>Motivációs levél</Divider> <Divider horizontal>Motivációs levél</Divider>
<Form.TextArea <Form.TextArea
rows={10} rows={10}
...@@ -43,6 +51,7 @@ class Profile extends Component { ...@@ -43,6 +51,7 @@ class Profile extends Component {
placeholder='Miért szeretnék jelentkezni...' placeholder='Miért szeretnék jelentkezni...'
value={motivation} value={motivation}
/> />
<Divider horizontal>Érdekelt Körök</Divider> <Divider horizontal>Érdekelt Körök</Divider>
<Dropdown <Dropdown
fluid fluid
...@@ -70,9 +79,8 @@ class Profile extends Component { ...@@ -70,9 +79,8 @@ class Profile extends Component {
Mentés Mentés
</Form.Button> </Form.Button>
</Form> </Form>
</Container>
</Segment> </Segment>
</div> </Container>
); );
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment