Skip to content
This repository was archived by the owner on Apr 7, 2025. It is now read-only.

Commit 24696fe

Browse files
author
Joel Worrall
committed
fix(homepage): onclick
1 parent 9984e54 commit 24696fe

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

src/pages/index.js

+9-4
Original file line numberDiff line numberDiff line change
@@ -168,16 +168,21 @@ const HomePage = ({ data }) => {
168168
</h2>
169169
<p className={styles.homepageHeroBodyCopy}>
170170
We{' '}
171-
<a href="https://github.com/newrelic/opensource-website">built</a>{' '}
171+
<a
172+
href="https://github.com/newrelic/opensource-website"
173+
target="__blank"
174+
rel="noopener noreferrer"
175+
>
176+
built
177+
</a>{' '}
172178
this site to make it easy for <em>you</em> to explore the{' '}
173179
<a href="/explore-projects">open source projects</a> we maintain and
174180
the <a href="/external-projects">open standards projects</a> we
175181
participate in. Learn{' '}
176182
<a
177183
href="https://blog.newrelic.com/product-news/announcing-new-relic-open-source/"
178-
onClick={() => {
179-
alert('New Relic Blog post announcing this site'); // eslint-disable-line no-alert
180-
}}
184+
target="__blank"
185+
rel="noopener noreferrer"
181186
>
182187
more
183188
</a>

0 commit comments

Comments
 (0)