2017-07-11 15:37:43 +00:00
|
|
|
import React from 'react';
|
2018-02-23 16:31:41 +00:00
|
|
|
import { Helmet } from 'react-helmet';
|
2020-07-06 09:36:45 +00:00
|
|
|
import { useTranslation } from 'react-i18next';
|
2020-04-29 22:34:37 +00:00
|
|
|
import SquareLogoIcon from '../../../images/p5js-square-logo.svg';
|
|
|
|
// import PlayIcon from '../../../images/play.svg';
|
|
|
|
import AsteriskIcon from '../../../images/p5-asterisk.svg';
|
2016-08-22 16:35:59 +00:00
|
|
|
|
2017-07-11 15:37:43 +00:00
|
|
|
function About(props) {
|
2020-07-06 09:36:45 +00:00
|
|
|
const { t } = useTranslation();
|
2017-07-11 15:37:43 +00:00
|
|
|
return (
|
|
|
|
<div className="about__content">
|
2018-02-23 16:31:41 +00:00
|
|
|
<Helmet>
|
2020-07-31 13:20:42 +00:00
|
|
|
<title> {t('About.TitleHelmet')} </title>
|
2018-02-23 16:31:41 +00:00
|
|
|
</Helmet>
|
2017-07-11 15:37:43 +00:00
|
|
|
<div className="about__content-column">
|
2020-07-31 13:20:42 +00:00
|
|
|
<SquareLogoIcon className="about__logo" role="img" aria-label={t('Common.p5logoARIA')} focusable="false" />
|
2017-07-11 15:37:43 +00:00
|
|
|
</div>
|
|
|
|
<div className="about__content-column">
|
2020-07-31 13:20:42 +00:00
|
|
|
<h3 className="about__content-column-title">{t('About.NewP5')}</h3>
|
2017-07-11 15:37:43 +00:00
|
|
|
<p className="about__content-column-list">
|
|
|
|
<a
|
|
|
|
href="https://p5js.org/examples/"
|
|
|
|
target="_blank"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
>
|
2020-05-05 23:03:58 +00:00
|
|
|
<AsteriskIcon className="about__content-column-asterisk" aria-hidden="true" focusable="false" />
|
2020-07-31 13:20:42 +00:00
|
|
|
{t('About.Examples')}
|
2018-05-05 00:22:39 +00:00
|
|
|
</a>
|
2017-07-11 15:37:43 +00:00
|
|
|
</p>
|
|
|
|
<p className="about__content-column-list">
|
|
|
|
<a
|
2017-10-30 18:53:54 +00:00
|
|
|
href="https://p5js.org/learn/"
|
2017-07-11 15:37:43 +00:00
|
|
|
target="_blank"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
>
|
2020-05-05 23:03:58 +00:00
|
|
|
<AsteriskIcon className="about__content-column-asterisk" aria-hidden="true" focusable="false" />
|
2020-07-31 13:20:42 +00:00
|
|
|
{t('About.Learn')}
|
2018-05-05 00:22:39 +00:00
|
|
|
</a>
|
2017-07-11 15:37:43 +00:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<div className="about__content-column">
|
2020-07-31 13:20:42 +00:00
|
|
|
<h3 className="about__content-column-title">{t('About.Resources')}</h3>
|
2017-07-11 15:37:43 +00:00
|
|
|
<p className="about__content-column-list">
|
|
|
|
<a
|
|
|
|
href="https://p5js.org/libraries/"
|
|
|
|
target="_blank"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
>
|
2020-05-05 23:03:58 +00:00
|
|
|
<AsteriskIcon className="about__content-column-asterisk" aria-hidden="true" focusable="false" />
|
2020-07-31 13:20:42 +00:00
|
|
|
{t('About.Libraries')}
|
2018-05-05 00:22:39 +00:00
|
|
|
</a>
|
2017-07-11 15:37:43 +00:00
|
|
|
</p>
|
|
|
|
<p className="about__content-column-list">
|
|
|
|
<a
|
|
|
|
href="https://p5js.org/reference/"
|
|
|
|
target="_blank"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
>
|
2020-05-05 23:03:58 +00:00
|
|
|
<AsteriskIcon className="about__content-column-asterisk" aria-hidden="true" focusable="false" />
|
2020-07-31 13:20:42 +00:00
|
|
|
{t('Nav.Help.Reference')}
|
2018-05-05 00:22:39 +00:00
|
|
|
</a>
|
2017-07-11 15:37:43 +00:00
|
|
|
</p>
|
|
|
|
<p className="about__content-column-list">
|
|
|
|
<a
|
2018-08-20 16:25:48 +00:00
|
|
|
href="https://discourse.processing.org/"
|
2017-07-11 15:37:43 +00:00
|
|
|
target="_blank"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
>
|
2020-05-05 23:03:58 +00:00
|
|
|
<AsteriskIcon className="about__content-column-asterisk" aria-hidden="true" focusable="false" />
|
2020-07-31 13:20:42 +00:00
|
|
|
{t('About.Forum')}
|
2018-05-05 00:22:39 +00:00
|
|
|
</a>
|
2017-07-11 15:37:43 +00:00
|
|
|
</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"
|
2020-07-31 13:20:42 +00:00
|
|
|
>{t('About.Contribute')}
|
2018-05-05 00:22:39 +00:00
|
|
|
</a>
|
2017-07-11 15:37:43 +00:00
|
|
|
</p>
|
|
|
|
<p className="about__footer-list">
|
|
|
|
<a
|
|
|
|
href="https://github.com/processing/p5.js-web-editor/issues/new"
|
|
|
|
target="_blank"
|
|
|
|
rel="noopener noreferrer"
|
2020-07-31 13:20:42 +00:00
|
|
|
>{t('About.Report')}
|
2018-05-05 00:22:39 +00:00
|
|
|
</a>
|
2017-07-11 15:37:43 +00:00
|
|
|
</p>
|
|
|
|
<p className="about__footer-list">
|
|
|
|
<a
|
|
|
|
href="https://twitter.com/p5xjs?lang=en"
|
|
|
|
target="_blank"
|
|
|
|
rel="noopener noreferrer"
|
2018-05-05 00:22:39 +00:00
|
|
|
>Twitter
|
|
|
|
</a>
|
2017-07-11 15:37:43 +00:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
);
|
2016-08-22 16:35:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export default About;
|