From 9ca43d3e01b597b3bd63e124e3f22ab29f4629b4 Mon Sep 17 00:00:00 2001 From: sirinbaisa <baisashirin@gmail.com> Date: Tue, 28 Mar 2017 13:42:47 +0700 Subject: [PATCH] [#140654507] #12 update Lowongan.jsx --- assets/js/Dashboard.jsx | 2 +- assets/js/VacancyPage.jsx | 2 +- assets/js/components/Lowongan.jsx | 8 +++++--- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/assets/js/Dashboard.jsx b/assets/js/Dashboard.jsx index 634fdefa..f297f54d 100755 --- a/assets/js/Dashboard.jsx +++ b/assets/js/Dashboard.jsx @@ -11,7 +11,7 @@ export default class Dashboard extends React.Component { render = () => ( <div> - <TopMenu /> + <TopMenu color="blue" /> {this.props.children} </div> ) diff --git a/assets/js/VacancyPage.jsx b/assets/js/VacancyPage.jsx index 6bd60f65..0b0df181 100644 --- a/assets/js/VacancyPage.jsx +++ b/assets/js/VacancyPage.jsx @@ -16,7 +16,7 @@ export default class VacancyPage extends React.Component { handleItemClick = (e, { name }) => this.setState({ activeItem: name }); render() { - const data = [{ data1: 'val1' }, { data1: 'val2' }]; + const data = [{ data1: 'Software Enggineer' }, { data1: 'System Analyst' }]; const {activeItem} = this.state; diff --git a/assets/js/components/Lowongan.jsx b/assets/js/components/Lowongan.jsx index a21a705e..2998b80a 100644 --- a/assets/js/components/Lowongan.jsx +++ b/assets/js/components/Lowongan.jsx @@ -4,7 +4,7 @@ import ModalPendaftaran from './ModalPendaftaran'; const paragraph = <ImageComponent src="http://semantic-ui.com/images/wireframe/short-paragraph.png" />; - +const image = <Item.Image size="small" src="http://semantic-ui.com/images/wireframe/image.png" />; export default class Lowongan extends React.Component { static propTypes = { data: React.PropTypes.object.isRequired, @@ -14,14 +14,16 @@ export default class Lowongan extends React.Component { return ( <Item > - {this.props.image} + {image} <Item.Content verticalAlign="middle"> <Item.Header>{this.props.header}</Item.Header> <Item.Description>{this.props.content}</Item.Description> <Item.Extra> <h3>{ this.props.data.data1 }</h3> - {paragraph} + <h4>PT. Koding Kuat </h4> + <h5> JL.Kali deres utara no.1 </h5> + <h5> Jakarta Barat, DKI Jakarta</h5> <ModalPendaftaran id={1} data={ { header: 'Deskripsi Lowongan', description: 'Lorem ipsum dolor sit amet, consectetur' + ' adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim ' + -- GitLab