-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from djunicode/master
Merge changes from upstream repo
- Loading branch information
Showing
46 changed files
with
994 additions
and
938 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
import React from 'react'; | ||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' | ||
import { faChevronDown } from '@fortawesome/free-solid-svg-icons' | ||
import '../css_styling/addComp.css'; | ||
import Empty from '../assets/empty.jpg'; | ||
|
||
const Companies = ({companies, showMore,showItems}) => { | ||
const companyList = companies.length ? ( | ||
companies.slice(0,showItems).map(company => { | ||
return ( | ||
|
||
<div className="addComp_collection-item" key={company.id}> | ||
<div className="addComp_gridComp"> | ||
<img src={Empty} alt="default"/> | ||
</div> | ||
<div className="addComp_gridComp"> | ||
<p>Name : {company.name}</p> | ||
<p>Category : {company.category}</p> | ||
<p>Link : {company.link}</p> | ||
</div> | ||
|
||
{/* <span onClick={() => {deleteCompany(company.id)}}>{company.content}</span> */} | ||
</div> | ||
) | ||
}) | ||
) : ( | ||
<p className="center">No companies to show</p> | ||
); | ||
|
||
return ( | ||
<div className="addComp_bgw1"> | ||
<div className="grid-item"> | ||
<h4 style={{fontWeight:600}}>COMPANIES</h4> | ||
<div className="addComp_list"> | ||
{companyList} | ||
<div className="addComp_more addComp_center"> | ||
<button className="addComp_downIcon" onClick={ showMore} > <FontAwesomeIcon icon={faChevronDown} /></button></div> | ||
</div> | ||
|
||
</div> | ||
|
||
</div> | ||
) | ||
} | ||
|
||
export default Companies; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import React from 'react'; | ||
import Profile from '../assets/default.png'; | ||
import '../css_styling/addComp.css'; | ||
|
||
|
||
|
||
function SidenavR(){ | ||
return( | ||
|
||
<div className="container"> | ||
<div className="profimg"> | ||
<img src={Profile} alt="img" className="SidenavR_center SidenavR_imgno" /> | ||
<h4 className="SidenavR_center"> ADMIN</h4> | ||
<p className="SidenavR_center">........</p> | ||
</div> | ||
</div> | ||
|
||
)} | ||
|
||
export default SidenavR; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import React from 'react'; | ||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' | ||
import { faSearch } from '@fortawesome/free-solid-svg-icons' | ||
import '../css_styling/display.css'; | ||
import {Link} from 'react-router-dom'; | ||
|
||
|
||
function NavR2(){ | ||
return( | ||
<div className="NavR2_topnav"> | ||
<Link to="/display" className ="NavR2_anchor" style={{ textDecoration: 'none' }} >NAME</Link> | ||
<Link to="/CompanyMain" className ="NavR2_anchor" style={{ textDecoration: 'none' }} >APPLICANTS</Link> | ||
|
||
<form> | ||
|
||
<div className="NavR2_search-container"> | ||
<input type="text" placeholder="Search"/> | ||
<FontAwesomeIcon icon={faSearch} className="searchIcon" /> | ||
</div> | ||
</form> | ||
|
||
{/* <div className="search-container"> | ||
<form > | ||
<div className="inner-addon right-addon"> | ||
<FontAwesomeIcon icon={faCoffee} /> | ||
<input type="text" placeholder="Name:" name="name" required/> | ||
</div> | ||
</form> | ||
</div> */} | ||
</div> | ||
|
||
)} | ||
export default NavR2; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.