p5.js-web-editor/client/modules/IDE/components/About.jsx

115 lines
3.8 KiB
React
Raw Normal View History

import React from 'react';
import { Helmet } from 'react-helmet';
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
function About(props) {
const { t } = useTranslation();
return (
<div className="about__content">
<Helmet>
<title>p5.js Web Editor | About </title>
</Helmet>
<div className="about__content-column">
<SquareLogoIcon className="about__logo" role="img" aria-label="p5.js Logo" focusable="false" />
{/* Video button to hello p5 video page */}
{/* <p className="about__play-video">
<a
href="http://hello.p5js.org/"
target="_blank"
rel="noopener noreferrer"
>
2020-04-30 00:34:37 +02:00
<PlayIcon className="about__play-video-button" title="Play Hello Video" />
Play hello! video</a>
</p> */}
</div>
<div className="about__content-column">
<h3 className="about__content-column-title">{t('NewP5')}</h3>
<p className="about__content-column-list">
<a
href="https://p5js.org/examples/"
target="_blank"
rel="noopener noreferrer"
>
<AsteriskIcon className="about__content-column-asterisk" aria-hidden="true" focusable="false" />
{t('Examples')}
2018-05-05 02:22:39 +02:00
</a>
</p>
<p className="about__content-column-list">
<a
href="https://p5js.org/learn/"
target="_blank"
rel="noopener noreferrer"
>
<AsteriskIcon className="about__content-column-asterisk" aria-hidden="true" focusable="false" />
{t('Learn')}
2018-05-05 02:22:39 +02:00
</a>
</p>
</div>
<div className="about__content-column">
<h3 className="about__content-column-title">{t('Resources')}</h3>
<p className="about__content-column-list">
<a
href="https://p5js.org/libraries/"
target="_blank"
rel="noopener noreferrer"
>
<AsteriskIcon className="about__content-column-asterisk" aria-hidden="true" focusable="false" />
{t('Libraries')}
2018-05-05 02:22:39 +02:00
</a>
</p>
<p className="about__content-column-list">
<a
href="https://p5js.org/reference/"
target="_blank"
rel="noopener noreferrer"
>
<AsteriskIcon className="about__content-column-asterisk" aria-hidden="true" focusable="false" />
{t('Reference')}
2018-05-05 02:22:39 +02:00
</a>
</p>
<p className="about__content-column-list">
<a
2018-08-20 18:25:48 +02:00
href="https://discourse.processing.org/"
target="_blank"
rel="noopener noreferrer"
>
<AsteriskIcon className="about__content-column-asterisk" aria-hidden="true" focusable="false" />
{t('Forum')}
2018-05-05 02:22:39 +02:00
</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"
>{t('Contribute')}
2018-05-05 02:22:39 +02:00
</a>
</p>
<p className="about__footer-list">
<a
href="https://github.com/processing/p5.js-web-editor/issues/new"
target="_blank"
rel="noopener noreferrer"
>{t('Report')}
2018-05-05 02:22:39 +02:00
</a>
</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>
</p>
</div>
</div>
);
2016-08-22 18:35:59 +02:00
}
export default About;