Skip to content

Commit 480bce6

Browse files
committed
Add links to PP and ToS in About
1 parent d83cc1e commit 480bce6

File tree

1 file changed

+72
-9
lines changed

1 file changed

+72
-9
lines changed

client/modules/IDE/components/About.jsx

Lines changed: 72 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,16 @@ function About(props) {
2222
</div>
2323
<div className="about__content-column">
2424
<h3 className="about__content-column-title">{t('About.NewP5')}</h3>
25+
<p className="about__content-column-list">
26+
<a href="https://p5js.org/" target="_blank" rel="noopener noreferrer">
27+
<AsteriskIcon
28+
className="about__content-column-asterisk"
29+
aria-hidden="true"
30+
focusable="false"
31+
/>
32+
Home
33+
</a>
34+
</p>
2535
<p className="about__content-column-list">
2636
<a
2737
href="https://p5js.org/examples/"
@@ -50,6 +60,34 @@ function About(props) {
5060
{t('About.Learn')}
5161
</a>
5262
</p>
63+
<p className="about__content-column-list">
64+
<a
65+
href="https://twitter.com/p5xjs?lang=en"
66+
target="_blank"
67+
rel="noopener noreferrer"
68+
>
69+
<AsteriskIcon
70+
className="about__content-column-asterisk"
71+
aria-hidden="true"
72+
focusable="false"
73+
/>
74+
Twitter
75+
</a>
76+
</p>
77+
<p className="about__content-column-list">
78+
<a
79+
href="https://www.instagram.com/p5xjs/?hl=en"
80+
target="_blank"
81+
rel="noopener noreferrer"
82+
>
83+
<AsteriskIcon
84+
className="about__content-column-asterisk"
85+
aria-hidden="true"
86+
focusable="false"
87+
/>
88+
Instagram
89+
</a>
90+
</p>
5391
</div>
5492
<div className="about__content-column">
5593
<h3 className="about__content-column-title">{t('About.Resources')}</h3>
@@ -95,33 +133,58 @@ function About(props) {
95133
{t('About.Forum')}
96134
</a>
97135
</p>
98-
</div>
99-
<div className="about__footer">
100-
<p className="about__footer-list">
136+
<p className="about__content-column-list">
101137
<a
102-
href="https://github.com/processing/p5.js-web-editor"
138+
href="https://discord.com/invite/SHQ8dH25r9"
103139
target="_blank"
104140
rel="noopener noreferrer"
105141
>
106-
{t('About.Contribute')}
142+
<AsteriskIcon
143+
className="about__content-column-asterisk"
144+
aria-hidden="true"
145+
focusable="false"
146+
/>
147+
Discord
107148
</a>
108149
</p>
150+
<p className="about__content-column-list">
151+
<a href="/privacy-policy" target="_blank" rel="noopener noreferrer">
152+
<AsteriskIcon
153+
className="about__content-column-asterisk"
154+
aria-hidden="true"
155+
focusable="false"
156+
/>
157+
Privacy Policy
158+
</a>
159+
</p>
160+
<p className="about__content-column-list">
161+
<a href="/terms-of-use" target="_blank" rel="noopener noreferrer">
162+
<AsteriskIcon
163+
className="about__content-column-asterisk"
164+
aria-hidden="true"
165+
focusable="false"
166+
/>
167+
Terms of Use
168+
</a>
169+
</p>
170+
</div>
171+
<div className="about__footer">
109172
<p className="about__footer-list">
110173
<a
111-
href="https://github.com/processing/p5.js-web-editor/issues/new"
174+
href="https://github.com/processing/p5.js-web-editor"
112175
target="_blank"
113176
rel="noopener noreferrer"
114177
>
115-
{t('About.Report')}
178+
{t('About.Contribute')}
116179
</a>
117180
</p>
118181
<p className="about__footer-list">
119182
<a
120-
href="https://twitter.com/p5xjs?lang=en"
183+
href="https://github.com/processing/p5.js-web-editor/issues/new"
121184
target="_blank"
122185
rel="noopener noreferrer"
123186
>
124-
Twitter
187+
{t('About.Report')}
125188
</a>
126189
</p>
127190
</div>

0 commit comments

Comments
 (0)