2017-07-11 17:37:43 +02:00
|
|
|
import React from 'react';
|
2016-08-22 18:35:59 +02:00
|
|
|
import InlineSVG from 'react-inlinesvg';
|
2017-02-22 20:29:35 +01:00
|
|
|
|
2017-01-06 19:14:39 +01:00
|
|
|
const squareLogoUrl = require('../../../images/p5js-square-logo.svg');
|
|
|
|
const playUrl = require('../../../images/play.svg');
|
|
|
|
const asteriskUrl = require('../../../images/p5-asterisk.svg');
|
2016-08-22 18:35:59 +02:00
|
|
|
|
2017-07-11 17:37:43 +02:00
|
|
|
function About(props) {
|
|
|
|
return (
|
|
|
|
<div className="about__content">
|
|
|
|
<div className="about__content-column">
|
|
|
|
<InlineSVG className="about__logo" src={squareLogoUrl} alt="p5js Square Logo" />
|
2018-02-15 20:43:32 +01:00
|
|
|
{/* Video button to hello p5 video page */}
|
|
|
|
{/* <p className="about__play-video">
|
2017-07-11 17:37:43 +02:00
|
|
|
<a
|
|
|
|
href="http://hello.p5js.org/"
|
|
|
|
target="_blank"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
>
|
|
|
|
<InlineSVG className="about__play-video-button" src={playUrl} alt="Play Hello Video" />
|
|
|
|
Play hello! video</a>
|
2018-02-15 20:43:32 +01:00
|
|
|
</p> */}
|
2017-07-11 17:37:43 +02:00
|
|
|
</div>
|
|
|
|
<div className="about__content-column">
|
|
|
|
<h3 className="about__content-column-title">New to p5.js?</h3>
|
|
|
|
<p className="about__content-column-list">
|
|
|
|
<a
|
|
|
|
href="https://p5js.org/examples/"
|
|
|
|
target="_blank"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
>
|
|
|
|
<InlineSVG className="about__content-column-asterisk" src={asteriskUrl} alt="p5 asterisk" />
|
|
|
|
Examples</a>
|
|
|
|
</p>
|
|
|
|
<p className="about__content-column-list">
|
|
|
|
<a
|
2017-10-30 19:53:54 +01:00
|
|
|
href="https://p5js.org/learn/"
|
2017-07-11 17:37:43 +02:00
|
|
|
target="_blank"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
>
|
|
|
|
<InlineSVG className="about__content-column-asterisk" src={asteriskUrl} alt="p5 asterisk" />
|
2017-10-30 19:53:54 +01:00
|
|
|
Learn</a>
|
2017-07-11 17:37:43 +02:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<div className="about__content-column">
|
|
|
|
<h3 className="about__content-column-title">Resources</h3>
|
|
|
|
<p className="about__content-column-list">
|
|
|
|
<a
|
|
|
|
href="https://p5js.org/libraries/"
|
|
|
|
target="_blank"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
>
|
|
|
|
<InlineSVG className="about__content-column-asterisk" src={asteriskUrl} alt="p5 asterisk" />
|
|
|
|
Libraries</a>
|
|
|
|
</p>
|
|
|
|
<p className="about__content-column-list">
|
|
|
|
<a
|
|
|
|
href="https://p5js.org/reference/"
|
|
|
|
target="_blank"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
>
|
|
|
|
<InlineSVG className="about__content-column-asterisk" src={asteriskUrl} alt="p5 asterisk" />
|
|
|
|
Reference</a>
|
|
|
|
</p>
|
|
|
|
<p className="about__content-column-list">
|
|
|
|
<a
|
|
|
|
href="https://forum.processing.org/two/"
|
|
|
|
target="_blank"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
>
|
|
|
|
<InlineSVG className="about__content-column-asterisk" src={asteriskUrl} alt="p5 asterisk" />
|
|
|
|
Forum</a>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<div className="about__footer">
|
|
|
|
<p className="about__footer-list">
|
|
|
|
<a
|
|
|
|
href="https://github.com/processing/p5.js-web-editor"
|
|
|
|
target="_blank"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
>Contribute</a>
|
|
|
|
</p>
|
|
|
|
<p className="about__footer-list">
|
|
|
|
<a
|
|
|
|
href="https://github.com/processing/p5.js-web-editor/issues/new"
|
|
|
|
target="_blank"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
>Report a bug</a>
|
|
|
|
</p>
|
|
|
|
<p className="about__footer-list">
|
|
|
|
<a
|
|
|
|
href="https://twitter.com/p5xjs?lang=en"
|
|
|
|
target="_blank"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
>Twitter</a>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
);
|
2016-08-22 18:35:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
export default About;
|