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