Skip to content

Commit

Permalink
making some links to open in a new tab
Browse files Browse the repository at this point in the history
  • Loading branch information
Dev-Code24 committed Feb 11, 2023
1 parent 29d9eca commit c3deac1
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion i18n/react-intl/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"basicExamples": "Programs about form, data, images, color, typography, and more...",
"contactUs": "Contact Us",
"contactUsDescription": "Feel free to write us!",
"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.",
"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.",
"overviewIntro": "A short introduction to the Processing software and projects from the community.",
"peopleIntro": "Processing is a community effort led by a small group of volunteers.",
"booksIntro": "Processing books cover topics from programming basics to visualization. Browse this page to find the right books for you.",
Expand Down
2 changes: 1 addition & 1 deletion i18n/react-intl/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"basicExamples": "Programas sobre formas, datos, imágenes, colores, tipografía y más...",
"contactUs": "Contáctanos",
"contactUsDescription": "¡Siéntete libre de escribirnos!",
"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.",
"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.",
"overviewIntro": "Una pequeña introducción al software Processing y a los proyectos de la comunidad.",
"peopleIntro": "Processing es un esfuerzo comunitario lidereado por un pequeño grupo de voluntarios.",
"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.",
Expand Down
8 changes: 4 additions & 4 deletions src/components/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ const Footer = ({ withSidebar }) => {
<div className={classnames(grid.col, css.socialmediaWrapper)}>
<ul>
<li>
<a href={'https://twitter.com/ProcessingOrg'} target="_blank">Twitter</a>
<a href={'https://twitter.com/ProcessingOrg'} target="_blank" rel="noreferrer">Twitter</a>
</li>
<li>
<a href={'https://medium.com/@ProcessingOrg'} target="_blank">Medium</a>
<a href={'https://medium.com/@ProcessingOrg'} target="_blank" rel="noreferrer">Medium</a>
</li>
<li>
<a href={'https://www.instagram.com/processingorg/'} target="_blank">Instagram</a>
<a href={'https://www.instagram.com/processingorg/'} target="_blank" rel="noreferrer">Instagram</a>
</li>
<li>
<a href={'http://github.com/processing/'} target="_blank">GitHub</a>
<a href={'http://github.com/processing/'} target="_blank" rel="noreferrer">GitHub</a>
</li>
</ul>
<p
Expand Down
8 changes: 5 additions & 3 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,15 +176,15 @@ const IndexPage = ({ data }) => {
<p>{intl.formatMessage({ id: 'contributeP1' })}</p>
<p>
{intl.formatMessage({ id: 'contributeP2' })}
<a href="https://github.com/processing/processing/wiki/Build-Instructions">
<a href="https://github.com/processing/processing/wiki/Build-Instructions" target='_blank' rel='noreferrer'>
{intl.formatMessage({ id: 'building' })}
</a>
,{' '}
<a href="https://github.com/processing/processing/wiki/Report-Bugs">
<a href="https://github.com/processing/processing/wiki/Report-Bugs" target='_blank' rel='noreferrer'>
{intl.formatMessage({ id: 'reporting' })}
</a>
, {intl.formatMessage({ id: 'reporting' })}{' '}
<a href="https://github.com/processing/processing/wiki">
<a href="https://github.com/processing/processing/wiki" target='_blank' rel='noreferrer'>
{intl.formatMessage({ id: 'creating' })}
</a>
.
Expand All @@ -193,6 +193,8 @@ const IndexPage = ({ data }) => {
<div className={css.contributeButton}>
<Button
href={'https://github.com/processing'}
target='_blank'
rel='noreferrer'
variant="animate1"
size="large">
{intl.formatMessage({ id: 'buttonContribute' })}
Expand Down

0 comments on commit c3deac1

Please sign in to comment.