Changeset bf9486e for client_app/src/components
- Timestamp:
- 02/09/21 20:25:28 (4 years ago)
- Branches:
- master
- Children:
- e857530
- Parents:
- 55149cd
- Location:
- client_app/src/components
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
client_app/src/components/filter/search.js
r55149cd rbf9486e 96 96 97 97 {formData.items.map((item,index) => { 98 return (item.skillsTrained && <Internships key={item.id} index={index} item={item} />)99 || (<Jobs key={item.id} index={index} item={item} />)98 return (item.skillsTrained && <Internships key={item.id} index={index} item={item} search={true}/>) 99 || (<Jobs key={item.id} index={index} item={item} search={true}/>) 100 100 })} 101 101 </Container> -
client_app/src/components/item_components/internship_component.js
r55149cd rbf9486e 4 4 5 5 const Internships = (props) => { 6 console.log(props.item); 7 6 8 return( 7 9 <Segment> 8 10 <Header as="h3">{props.item.title}</Header> 9 { props.item.type!=="USER"? <Button primary as={Link} to={{11 {!props.search ? <Button primary as={Link} to={{ 10 12 pathname: "/edit/internship", 11 13 state: { -
client_app/src/components/item_components/job_component.js
r55149cd rbf9486e 7 7 <Segment> 8 8 <Header as="h3">{props.item.title}</Header> 9 { props.item.accountType!=="USER"? <Button primary as={Link} to={{9 {!props.search ? <Button primary as={Link} to={{ 10 10 pathname: "/edit/job", 11 11 state: { -
client_app/src/components/item_components/project_component.js
r55149cd rbf9486e 8 8 <Segment> 9 9 <Header as="h3">{props.item.title}</Header> 10 { props.item.type!=="USER"? <Button primary as={Link} to={{10 {!props.search ? <Button primary as={Link} to={{ 11 11 pathname: "/edit/project", 12 12 state: { -
client_app/src/components/template/header.js
r55149cd rbf9486e 7 7 if(props.accType == null){ 8 8 return( 9 <Menu inverted>9 <Menu stackable> 10 10 <MenuItem> 11 11 <div className="ui mini image"> … … 30 30 if(props.accType==="COMPANY"){ 31 31 return( 32 <Menu inverted>32 <Menu stackable> 33 33 <MenuItem> 34 34 <div className="ui mini image"> … … 52 52 }else if(props.accType==="TEAM"){ 53 53 return( 54 <Menu inverted>54 <Menu stackable> 55 55 <MenuItem> 56 56 <div className="ui mini image"> … … 74 74 }else if(props.accType==="USER"){ 75 75 return( 76 <Menu inverted>76 <Menu stackable> 77 77 <MenuItem> 78 78 <div className="ui mini image"> -
client_app/src/components/work/user_internships.js
r55149cd rbf9486e 12 12 {props.userProfile.internships.map((item, index) =>{ 13 13 return <Internships 14 search={true} 14 15 key={item.id} 15 16 index={index} -
client_app/src/components/work/user_jobs.js
r55149cd rbf9486e 13 13 {props.userProfile.jobs.map((item, index) =>{ 14 14 return <Jobs 15 search={true} 15 16 key={item.id} 16 17 index={index} -
client_app/src/components/work/user_projects.js
r55149cd rbf9486e 12 12 {props.userProfile.projects.map((item,index) =>{ 13 13 return <Projects 14 search={true} 14 15 key={item.id} 15 16 index={index}
Note:
See TracChangeset
for help on using the changeset viewer.