Skip to content

Commit 5d052d6

Browse files
authored
Merge pull request #439 from Dev-Code24/main
making some links to open in a new tab
2 parents 29d9eca + c3deac1 commit 5d052d6

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

i18n/react-intl/en.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"basicExamples": "Programs about form, data, images, color, typography, and more...",
6767
"contactUs": "Contact Us",
6868
"contactUsDescription": "Feel free to write us!",
69-
"footer": "Processing is an open project initiated by <a href='https://benfry.com/'>Ben Fry</a> and <a href='http://reas.com/'>Casey Reas</a>. It is developed by a team of volunteers around the world.",
69+
"footer": "Processing is an open project initiated by <a href='https://benfry.com/' target='_blank' rel='noreferrer'>Ben Fry</a> and <a href='http://reas.com/' target='_blank' rel='noreferrer'>Casey Reas</a>. It is developed by a team of volunteers around the world.",
7070
"overviewIntro": "A short introduction to the Processing software and projects from the community.",
7171
"peopleIntro": "Processing is a community effort led by a small group of volunteers.",
7272
"booksIntro": "Processing books cover topics from programming basics to visualization. Browse this page to find the right books for you.",

i18n/react-intl/es.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"basicExamples": "Programas sobre formas, datos, imágenes, colores, tipografía y más...",
6767
"contactUs": "Contáctanos",
6868
"contactUsDescription": "¡Siéntete libre de escribirnos!",
69-
"footer": "Processing es un proyecto abierto iniciado por <a href='https://benfry.com/''>Ben Fry</a> y <a href='http://reas.com/'>Casey Reas</a>. Es desarrollado por un equipo de voluntarios alrededor del mundo.",
69+
"footer": "Processing es un proyecto abierto iniciado por <a href='https://benfry.com/' target='_blank' rel='noreferrer'>Ben Fry</a> y <a href='http://reas.com/' target='_blank' rel='noreferrer'>Casey Reas</a>. Es desarrollado por un equipo de voluntarios alrededor del mundo.",
7070
"overviewIntro": "Una pequeña introducción al software Processing y a los proyectos de la comunidad.",
7171
"peopleIntro": "Processing es un esfuerzo comunitario lidereado por un pequeño grupo de voluntarios.",
7272
"booksIntro": "Los libros sobre Processing cubren temas desde los principios básicos de programación a la visualización. Navega esta pagina para encontrar un libro adecuado para ti.",

src/components/Footer.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@ const Footer = ({ withSidebar }) => {
2020
<div className={classnames(grid.col, css.socialmediaWrapper)}>
2121
<ul>
2222
<li>
23-
<a href={'https://twitter.com/ProcessingOrg'} target="_blank">Twitter</a>
23+
<a href={'https://twitter.com/ProcessingOrg'} target="_blank" rel="noreferrer">Twitter</a>
2424
</li>
2525
<li>
26-
<a href={'https://medium.com/@ProcessingOrg'} target="_blank">Medium</a>
26+
<a href={'https://medium.com/@ProcessingOrg'} target="_blank" rel="noreferrer">Medium</a>
2727
</li>
2828
<li>
29-
<a href={'https://www.instagram.com/processingorg/'} target="_blank">Instagram</a>
29+
<a href={'https://www.instagram.com/processingorg/'} target="_blank" rel="noreferrer">Instagram</a>
3030
</li>
3131
<li>
32-
<a href={'http://github.com/processing/'} target="_blank">GitHub</a>
32+
<a href={'http://github.com/processing/'} target="_blank" rel="noreferrer">GitHub</a>
3333
</li>
3434
</ul>
3535
<p

src/pages/index.js

+5-3
Original file line numberDiff line numberDiff line change
@@ -176,15 +176,15 @@ const IndexPage = ({ data }) => {
176176
<p>{intl.formatMessage({ id: 'contributeP1' })}</p>
177177
<p>
178178
{intl.formatMessage({ id: 'contributeP2' })}
179-
<a href="https://github.com/processing/processing/wiki/Build-Instructions">
179+
<a href="https://github.com/processing/processing/wiki/Build-Instructions" target='_blank' rel='noreferrer'>
180180
{intl.formatMessage({ id: 'building' })}
181181
</a>
182182
,{' '}
183-
<a href="https://github.com/processing/processing/wiki/Report-Bugs">
183+
<a href="https://github.com/processing/processing/wiki/Report-Bugs" target='_blank' rel='noreferrer'>
184184
{intl.formatMessage({ id: 'reporting' })}
185185
</a>
186186
, {intl.formatMessage({ id: 'reporting' })}{' '}
187-
<a href="https://github.com/processing/processing/wiki">
187+
<a href="https://github.com/processing/processing/wiki" target='_blank' rel='noreferrer'>
188188
{intl.formatMessage({ id: 'creating' })}
189189
</a>
190190
.
@@ -193,6 +193,8 @@ const IndexPage = ({ data }) => {
193193
<div className={css.contributeButton}>
194194
<Button
195195
href={'https://github.com/processing'}
196+
target='_blank'
197+
rel='noreferrer'
196198
variant="animate1"
197199
size="large">
198200
{intl.formatMessage({ id: 'buttonContribute' })}

0 commit comments

Comments
 (0)