source: client_app/src/components/data/components/item_components/job_component.js@ 2e507a8

Last change on this file since 2e507a8 was 2e507a8, checked in by Vzdra <vladko.zdravkovski@…>, 3 years ago

front end additions

  • Property mode set to 100644
File size: 880 bytes
Line 
1import React from 'react';
2import {Header, List, Segment, Button} from 'semantic-ui-react';
3
4const Jobs = (props) => {
5
6 return(
7 <Segment>
8 <Header as="h3">{props.title}</Header>
9 {props.type!=="USER" ? <Button primary>Edit</Button> : <span> </span>}
10 <Segment>{props.description}</Segment>
11 <Segment>
12 <Header as="h5" color="gray">{props.accountName}</Header>
13 <Header as="h4" color="blue">Owner Mail: {props.accountEmail}</Header>
14 </Segment>
15 <Segment>
16 <Header as="h3">Skills Required:</Header>
17 <List>
18 {props.skills.map(skill => {
19 return <List.Item>{skill.name}</List.Item>
20 })}
21 </List>
22 </Segment>
23 </Segment>
24 );
25}
26
27export default Jobs;
Note: See TracBrowser for help on using the repository browser.