-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#352: fixed API call issue for publications
- Loading branch information
Showing
29 changed files
with
19,853 additions
and
12,654 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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
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 |
---|---|---|
@@ -1,5 +1,8 @@ | ||
import React from "react"; | ||
import { Link } from "react-router-dom"; | ||
import Container from 'react-bootstrap/Container'; | ||
import Row from 'react-bootstrap/Row'; | ||
import Col from 'react-bootstrap/Col'; | ||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; | ||
import { faTwitter } from '@fortawesome/free-brands-svg-icons'; | ||
import { faGithub } from '@fortawesome/free-brands-svg-icons'; | ||
|
@@ -11,87 +14,89 @@ import trustedciBadge from "../imgs/trustedci.png"; | |
|
||
class Footer extends React.Component { | ||
render() { | ||
return (<div className="app-footer bg-light"> | ||
<div className="row py-4"> | ||
<div className="col-sm-12 col-md-3"> | ||
<ul> | ||
<li><b>Useful Links</b></li> | ||
<li> | ||
<Link to="/aup">Acceptable Use Policy</Link> | ||
</li> | ||
<li><Link to="/cookie-policy">Cookie Policy</Link></li> | ||
{/* <li><Link to="/privacy-policy">Privacy Policy</Link></li> */} | ||
<li><Link to="/branding">Branding Resources</Link></li> | ||
</ul> | ||
</div> | ||
<div className="col-sm-12 col-md-3"> | ||
<ul> | ||
<li><b>Help & Support</b></li> | ||
<li><a href={portalData.knowledgeBaseLink} target="_blank" rel="noopener noreferrer">Knowledge Base</a></li> | ||
<li><a href={portalData.learnArticles.faq} target="_blank" rel="noopener noreferrer">FAQ</a></li> | ||
<li> | ||
<Link to="/help">Contact Us</Link> | ||
</li> | ||
<li> | ||
<a href={portalData.learnArticles.portalReleaseNotes} target="_blank" rel="noopener noreferrer"> | ||
<i>{`Portal Version: v${portalData.version}`}</i> | ||
</a> | ||
</li> | ||
</ul> | ||
</div> | ||
<div className="col-sm-12 col-md-4"> | ||
<div> | ||
return ( | ||
<Container bsclass="app-footer bg-light"> | ||
<Row bsclass="py-4"> | ||
<Col sm={12} md={3}> | ||
<ul> | ||
<li><b>Social</b></li> | ||
<li><b>Useful Links</b></li> | ||
<li> | ||
<div className="d-flex flex-row justify-content-between w-75 footer-social-icons"> | ||
<a href={portalData.fabricSocialLinks.twitter} target="_blank" rel="noopener noreferrer"> | ||
<FontAwesomeIcon icon={faTwitter} /> | ||
</a> | ||
<a href={portalData.fabricSocialLinks.github} target="_blank" rel="noopener noreferrer"> | ||
<FontAwesomeIcon icon={faGithub} /> | ||
</a> | ||
<a href={portalData.fabricSocialLinks.youtube} target="_blank" rel="noopener noreferrer"> | ||
<FontAwesomeIcon icon={faYoutube} /> | ||
</a> | ||
<a href="mailto:[email protected]"> | ||
<FontAwesomeIcon icon={faEnvelope} /> | ||
</a> | ||
</div> | ||
<Link to="/aup">Acceptable Use Policy</Link> | ||
</li> | ||
<li><Link to="/cookie-policy">Cookie Policy</Link></li> | ||
{/* <li><Link to="/privacy-policy">Privacy Policy</Link></li> */} | ||
<li><Link to="/branding">Branding Resources</Link></li> | ||
</ul> | ||
</div> | ||
</div> | ||
<div className="col-sm-12 col-md-2"> | ||
<img | ||
src={trustedciBadge} | ||
width="175" | ||
height="175" | ||
className="d-inline-block align-top mr-2" | ||
alt="" | ||
/> | ||
</div> | ||
</div> | ||
<div className="row"> | ||
<div className="col-sm-12 col-md-3"> | ||
<ul> | ||
<li><u><b>© FABRIC {new Date().getFullYear()}</b></u></li> | ||
</Col> | ||
<Col sm={12} md={3}> | ||
<ul> | ||
<li><b>Help & Support</b></li> | ||
<li><a href={portalData.knowledgeBaseLink} target="_blank" rel="noopener noreferrer">Knowledge Base</a></li> | ||
<li><a href={portalData.learnArticles.faq} target="_blank" rel="noopener noreferrer">FAQ</a></li> | ||
<li> | ||
<Link to="/help">Contact Us</Link> | ||
</li> | ||
<li> | ||
<a href={portalData.learnArticles.portalReleaseNotes} target="_blank" rel="noopener noreferrer"> | ||
<i>{`Portal Version: v${portalData.version}`}</i> | ||
</a> | ||
</li> | ||
</ul> | ||
</div> | ||
<div className="col-sm-12 col-md-9 d-flex flex-column align-items-center"> | ||
<div className="d-flex align-items-center mb-4"> | ||
</Col> | ||
<Col sm={12} md={3}> | ||
<div> | ||
<ul> | ||
<li><b>Social</b></li> | ||
<li> | ||
<div className="d-flex flex-row justify-content-between w-75 footer-social-icons"> | ||
<a href={portalData.fabricSocialLinks.twitter} target="_blank" rel="noopener noreferrer"> | ||
<FontAwesomeIcon icon={faTwitter} /> | ||
</a> | ||
<a href={portalData.fabricSocialLinks.github} target="_blank" rel="noopener noreferrer"> | ||
<FontAwesomeIcon icon={faGithub} /> | ||
</a> | ||
<a href={portalData.fabricSocialLinks.youtube} target="_blank" rel="noopener noreferrer"> | ||
<FontAwesomeIcon icon={faYoutube} /> | ||
</a> | ||
<a href="mailto:[email protected]"> | ||
<FontAwesomeIcon icon={faEnvelope} /> | ||
</a> | ||
</div> | ||
</li> | ||
</ul> | ||
</div> | ||
</Col> | ||
<Col sm={12} md={3}> | ||
<img | ||
src={nsfLogo} | ||
width="45" | ||
height="45" | ||
src={trustedciBadge} | ||
width="175" | ||
height="175" | ||
className="d-inline-block align-top mr-2" | ||
alt="" | ||
/> | ||
<u className="text-sm-size">FABRIC is funded by NSF grants CNS-1935966, CNS-2029176, CNS-2029200, CNS-2029235, CNS-2029260, CNS-2029261 and CNS-2330891.</u> | ||
</div> | ||
</div> | ||
</div> | ||
</div>) | ||
</Col> | ||
</Row> | ||
<Row> | ||
<Col sm={12} md={3}> | ||
<ul> | ||
<li><u><b>© FABRIC {new Date().getFullYear()}</b></u></li> | ||
</ul> | ||
</Col> | ||
<Col sm={12} md={9} bsclass="d-flex flex-column align-items-center"> | ||
<div className="d-flex align-items-center mb-4"> | ||
<img | ||
src={nsfLogo} | ||
width="45" | ||
height="45" | ||
className="d-inline-block align-top mr-2" | ||
alt="" | ||
/> | ||
<u className="text-sm-size">FABRIC is funded by NSF grants CNS-1935966, CNS-2029176, CNS-2029200, CNS-2029235, CNS-2029260, CNS-2029261 and CNS-2330891.</u> | ||
</div> | ||
</Col> | ||
</Row> | ||
</Container> | ||
) | ||
} | ||
}; | ||
|
||
|
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
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
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
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
Oops, something went wrong.