Fakultas Ilmu Komputer UI

Commit 9ca43d3e authored by sirinbaisa's avatar sirinbaisa
Browse files

[#140654507] #12 update Lowongan.jsx

parent 4c2e619a
...@@ -11,7 +11,7 @@ export default class Dashboard extends React.Component { ...@@ -11,7 +11,7 @@ export default class Dashboard extends React.Component {
render = () => ( render = () => (
<div> <div>
<TopMenu /> <TopMenu color="blue" />
{this.props.children} {this.props.children}
</div> </div>
) )
......
...@@ -16,7 +16,7 @@ export default class VacancyPage extends React.Component { ...@@ -16,7 +16,7 @@ export default class VacancyPage extends React.Component {
handleItemClick = (e, { name }) => this.setState({ activeItem: name }); handleItemClick = (e, { name }) => this.setState({ activeItem: name });
render() { render() {
const data = [{ data1: 'val1' }, { data1: 'val2' }]; const data = [{ data1: 'Software Enggineer' }, { data1: 'System Analyst' }];
const {activeItem} = this.state; const {activeItem} = this.state;
......
...@@ -4,7 +4,7 @@ import ModalPendaftaran from './ModalPendaftaran'; ...@@ -4,7 +4,7 @@ import ModalPendaftaran from './ModalPendaftaran';
const paragraph = <ImageComponent src="http://semantic-ui.com/images/wireframe/short-paragraph.png" />; 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 { export default class Lowongan extends React.Component {
static propTypes = { static propTypes = {
data: React.PropTypes.object.isRequired, data: React.PropTypes.object.isRequired,
...@@ -14,14 +14,16 @@ export default class Lowongan extends React.Component { ...@@ -14,14 +14,16 @@ export default class Lowongan extends React.Component {
return ( return (
<Item > <Item >
{this.props.image} {image}
<Item.Content verticalAlign="middle"> <Item.Content verticalAlign="middle">
<Item.Header>{this.props.header}</Item.Header> <Item.Header>{this.props.header}</Item.Header>
<Item.Description>{this.props.content}</Item.Description> <Item.Description>{this.props.content}</Item.Description>
<Item.Extra> <Item.Extra>
<h3>{ this.props.data.data1 }</h3> <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' + <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 ' + ' adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim ' +
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment