@@ -6,6 +6,7 @@ import { Link } from 'react-router-dom';
66import AsteriskIcon from '../../../images/p5-asterisk.svg' ;
77import Nav from '../components/Header/Nav' ;
88import packageData from '../../../../package.json' ;
9+ import LogoIcon from '../../../images/p5js-square-logo.svg' ;
910
1011function About ( props ) {
1112 const { t } = useTranslation ( ) ;
@@ -22,28 +23,36 @@ function About(props) {
2223 < Nav layout = "dashboard" />
2324 < div className = "about__content" >
2425 < div className = "about__content-section" >
25- < h3 className = "about__content-column-title" > { t ( 'Header' ) } </ h3 >
26- < div className = "about__content-row" >
27- < p className = "about__content-column-list" >
28- < a
29- href = "https://p5js.org/"
30- target = "_blank"
31- rel = "noopener noreferrer"
32- >
33- < AsteriskIcon
34- className = "about__content-column-asterisk"
35- aria-hidden = "true"
36- focusable = "false"
37- />
38- { t ( 'About.Home' ) }
39- </ a >
40- </ p >
26+ < h3 className = "about__content-column-title" > { t ( 'About.Title' ) } </ h3 >
27+ < div className = "about__content-header" >
28+ < div className = "about__content-intro" >
29+ < LogoIcon
30+ role = "img"
31+ aria-label = { t ( 'Common.p5logoARIA' ) }
32+ focusable = "false"
33+ className = "about__logo"
34+ />
35+ < div className = "big-description" >
36+ < p > { t ( 'About.OneLine' ) } </ p >
37+ </ div >
38+ </ div >
39+ < div className = "about__content-description" >
40+ < p > { t ( 'About.Description1' ) } </ p >
41+ < p > { t ( 'About.Description2' ) } </ p >
42+ </ div >
43+ < a
44+ href = "https://p5js.org/examples/"
45+ target = "_blank"
46+ rel = "noopener noreferrer"
47+ >
48+ { t ( 'About.Donate' ) }
49+ </ a >
4150 </ div >
4251 </ div >
4352 < div className = "about__content-section" >
4453 < h3 className = "about__content-column-title" > { t ( 'About.NewP5' ) } </ h3 >
4554 < div className = "about__content-row" >
46- < p className = "about__content-column-list" >
55+ < div className = "about__content-column-list" >
4756 < a
4857 href = "https://p5js.org/"
4958 target = "_blank"
@@ -56,8 +65,9 @@ function About(props) {
5665 />
5766 { t ( 'About.Home' ) }
5867 </ a >
59- </ p >
60- < p className = "about__content-column-list" >
68+ < p > { t ( 'About.LinkDescriptions.Home' ) } </ p >
69+ </ div >
70+ < div className = "about__content-column-list" >
6171 < a
6272 href = "https://p5js.org/examples/"
6373 target = "_blank"
@@ -70,8 +80,9 @@ function About(props) {
7080 />
7181 { t ( 'About.Examples' ) }
7282 </ a >
73- </ p >
74- < p className = "about__content-column-list" >
83+ < p > { t ( 'About.LinkDescriptions.Examples' ) } </ p >
84+ </ div >
85+ < div className = "about__content-column-list" >
7586 < Link to = "/code-of-conduct" >
7687 < AsteriskIcon
7788 className = "about__content-column-asterisk"
@@ -80,15 +91,16 @@ function About(props) {
8091 />
8192 { t ( 'About.CodeOfConduct' ) }
8293 </ Link >
83- </ p >
94+ < p > { t ( 'About.LinkDescriptions.CodeOfConduct' ) } </ p >
95+ </ div >
8496 </ div >
8597 </ div >
8698 < div className = "about__content-section" >
8799 < h3 className = "about__content-column-title" >
88100 { t ( 'About.Resources' ) }
89101 </ h3 >
90102 < div className = "about__content-row" >
91- < p className = "about__content-column-list" >
103+ < div className = "about__content-column-list" >
92104 < a
93105 href = "https://p5js.org/libraries/"
94106 target = "_blank"
@@ -101,8 +113,9 @@ function About(props) {
101113 />
102114 { t ( 'About.Libraries' ) }
103115 </ a >
104- </ p >
105- < p className = "about__content-column-list" >
116+ < p > { t ( 'About.LinkDescriptions.Libraries' ) } </ p >
117+ </ div >
118+ < div className = "about__content-column-list" >
106119 < a
107120 href = "https://p5js.org/reference/"
108121 target = "_blank"
@@ -115,13 +128,14 @@ function About(props) {
115128 />
116129 { t ( 'About.Reference' ) }
117130 </ a >
118- </ p >
131+ < p > { t ( 'About.LinkDescriptions.Reference' ) } </ p >
132+ </ div >
119133 </ div >
120134 </ div >
121135 < div className = "about__content-section" >
122136 < h3 className = "about__content-column-title" > { t ( 'Get Involved' ) } </ h3 >
123137 < div className = "about__content-row" >
124- < p className = "about__content-column-list" >
138+ < div className = "about__content-column-list" >
125139 < a
126140 href = "https://p5js.org/donate/"
127141 target = "_blank"
@@ -132,28 +146,41 @@ function About(props) {
132146 aria-hidden = "true"
133147 focusable = "false"
134148 />
135- Donate
149+ { t ( 'About. Donate' ) }
136150 </ a >
137- </ p >
138- < p className = "about__footer-list" >
151+ < p > { t ( 'About.LinkDescriptions.Donate' ) } </ p >
152+ </ div >
153+ < div className = "about__footer-list" >
139154 < a
140155 href = "https://github.com/processing/p5.js-web-editor"
141156 target = "_blank"
142157 rel = "noopener noreferrer"
143158 >
159+ < AsteriskIcon
160+ className = "about__content-column-asterisk"
161+ aria-hidden = "true"
162+ focusable = "false"
163+ />
144164 { t ( 'About.Contribute' ) }
145165 </ a >
146- </ p >
147- < p className = "about__footer-list" >
166+ < p > { t ( 'About.LinkDescriptions.Contribute' ) } </ p >
167+ </ div >
168+ < div className = "about__footer-list" >
148169 < a
149170 href = "https://github.com/processing/p5.js-web-editor/issues/new"
150171 target = "_blank"
151172 rel = "noopener noreferrer"
152173 >
174+ < AsteriskIcon
175+ className = "about__content-column-asterisk"
176+ aria-hidden = "true"
177+ focusable = "false"
178+ />
153179 { t ( 'About.Report' ) }
154180 </ a >
155- </ p >
156- < p className = "about__content-column-list" >
181+ < p > { t ( 'About.LinkDescriptions.Report' ) } </ p >
182+ </ div >
183+ < div className = "about__content-column-list" >
157184 < a
158185 href = "https://discourse.processing.org/"
159186 target = "_blank"
@@ -164,10 +191,11 @@ function About(props) {
164191 aria-hidden = "true"
165192 focusable = "false"
166193 />
167- { t ( 'About.Forum ' ) }
194+ { t ( 'About.ForumCTA ' ) }
168195 </ a >
169- </ p >
170- < p className = "about__content-column-list" >
196+ < p > { t ( 'About.LinkDescriptions.Forum' ) } </ p >
197+ </ div >
198+ < div className = "about__content-column-list" >
171199 < a
172200 href = "https://discord.com/invite/SHQ8dH25r9"
173201 target = "_blank"
@@ -178,13 +206,28 @@ function About(props) {
178206 aria-hidden = "true"
179207 focusable = "false"
180208 />
181- { t ( 'About.Discord ' ) }
209+ { t ( 'About.DiscordCTA ' ) }
182210 </ a >
183- </ p >
211+ < p > { t ( 'About.LinkDescriptions.Discord' ) } </ p >
212+ </ div >
184213 </ div >
185214 </ div >
186215 < div className = "about__content-section" >
187216 < h3 className = "about__content-column-title" > { t ( 'Contact' ) } </ h3 >
217+ < div className = "contact-container" >
218+ < div className = "contact-row" >
219+ < p > { t ( 'About.Email' ) } </ p >
220+ < p > { t ( 'About.EmailAddress' ) } </ p >
221+ </ div >
222+ < div className = "contact-row" >
223+ < p > { t ( 'About.Socials' ) } </ p >
224+ < p >
225+ { t ( 'About.Github' ) } , { t ( 'About.Instagram' ) } ,{ ' ' }
226+ { t ( 'About.Youtube' ) } , { t ( 'About.X' ) } , { t ( 'About.Discord' ) } ,{ ' ' }
227+ { t ( 'About.Forum' ) } ,{ ' ' }
228+ </ p >
229+ </ div >
230+ </ div >
188231 </ div >
189232 < div className = "about__footer" >
190233 < div className = "about__footer-list-container" >
0 commit comments