diff --git a/assets/js/HomeCompany.jsx b/assets/js/HomeCompany.jsx index 6005171c1c498b869b92580bcaba596d5d7ff98a..d5119f15964b42f347716366da67f57640c53cac 100644 --- a/assets/js/HomeCompany.jsx +++ b/assets/js/HomeCompany.jsx @@ -1,12 +1,10 @@ import React from 'react'; -import { Segment, Button, Icon, Image as ImageComponent, Image, Item, Label } from 'semantic-ui-react' import CompanyVacancy from './components/CompanyVacancy'; -export default class ApplicantPage extends React.Component{ -render() { - +export default class ApplicantPage extends React.Component { + render() { return ( - <CompanyVacancy header="Software Engineer"/> + <CompanyVacancy header="Software Engineer" /> ); } -} \ No newline at end of file +} diff --git a/assets/js/components/CompanyVacancy.jsx b/assets/js/components/CompanyVacancy.jsx index 20c341d511f2837da7c5154de5dfbe96c445ffeb..aa2969c560691a4ecd771d85cdb87937f947b03e 100644 --- a/assets/js/components/CompanyVacancy.jsx +++ b/assets/js/components/CompanyVacancy.jsx @@ -1,40 +1,40 @@ import React from 'react'; -import { Segment, Button, Icon, Image as ImageComponent, Image, Item, Label, Popup, Grid } from 'semantic-ui-react' +import { Segment, Button, Icon, Item } from 'semantic-ui-react'; export default class ApplicantList extends React.Component { - static propTypes = { - header : React.PropTypes.string.isRequired, + static propTypes = { + header: React.PropTypes.string.isRequired, }; render() { return ( - <div className="applicant" > - <Button icon='eye' secondary labelPosition='left' content='Lihat Semua Pendaftar'/> - <Button icon='add' secondary labelPosition='left' content='Tambah Lowongan Baru' /> + <div className="applicant" > + <Button icon="eye" secondary labelPosition="left" content="Lihat Semua Pendaftar" /> + <Button icon="add" secondary labelPosition="left" content="Tambah Lowongan Baru" /> - <Segment> - <Item.Group divided> - <Item className="applicantItems"> - <Item.Image src='/assets/images/wireframe/image.png' siza="tiny" /> + <Segment> + <Item.Group divided> + <Item className="applicantItems"> + <Item.Image src="/assets/images/wireframe/image.png" siza="tiny" /> - <Item.Content> - <Item.Header as='a'>{this.props.header}</Item.Header> - <Segment padded basic floated="right"> - <Button primary floated="right" >Ubah<Icon name='right chevron' /></Button> - <Segment basic> 5 jam lalu</Segment> - </Segment> + <Item.Content> + <Item.Header as="a">{this.props.header}</Item.Header> + <Segment padded basic floated="right"> + <Button primary floated="right" >Ubah<Icon name="right chevron" /></Button> + <Segment basic> 5 jam lalu</Segment> + </Segment> - <Item.Extra> - <h3> 105 Pendaftar </h3> - </Item.Extra> + <Item.Extra> + <h3> 105 Pendaftar </h3> + </Item.Extra> - </Item.Content> + </Item.Content> - </Item> + </Item> - </Item.Group> - </Segment> - </div> + </Item.Group> + </Segment> + </div> ); } -} \ No newline at end of file +}