feat: add rel to <a> & few <Link> tags

This commit is contained in:
Marvin9
2020-10-06 21:19:31 +05:30
parent 434ef5fce0
commit 7db0ffb6e5
3 changed files with 27 additions and 6 deletions
@@ -65,7 +65,12 @@ export const ErrorPage = ({
Go back
</Link>
... or if you think this is a bug, please file an{' '}
<Link href="https://github.com/spotify/backstage/issues">issue.</Link>
<Link
href="https://github.com/spotify/backstage/issues"
rel="noopener noreferrer"
>
issue.
</Link>
</Typography>
</Grid>
</Grid>
@@ -66,7 +66,11 @@ export const TechDocsPageHeader = ({
<HeaderLabel
label=""
value={
<a href={locationMetadata.target} target="_blank">
<a
href={locationMetadata.target}
target="_blank"
rel="noopener noreferrer"
>
<GitHubIcon style={{ marginTop: '-25px', fill: '#fff' }} />
</a>
}
@@ -69,7 +69,10 @@ const WelcomePage = () => {
the project and we have already begun work on various aspects
of these phases. The best way to keep track of the progress is
through the&nbsp;
<Link href="https://github.com/spotify/backstage/milestones">
<Link
href="https://github.com/spotify/backstage/milestones"
rel="noopener noreferrer"
>
Milestones
</Link>
.
@@ -113,7 +116,10 @@ const WelcomePage = () => {
</Typography>
<Typography variant="body1" paragraph>
We suggest you either check out the documentation for{' '}
<Link href="https://github.com/spotify/backstage/blob/master/docs/plugins/create-a-plugin.md">
<Link
href="https://github.com/spotify/backstage/blob/master/docs/plugins/create-a-plugin.md"
rel="noopener noreferrer"
>
creating a plugin
</Link>{' '}
or have a look in the code for the{' '}
@@ -121,7 +127,10 @@ const WelcomePage = () => {
existing plugins
</Link>{' '}
in the directory{' '}
<Link href="https://github.com/spotify/backstage/tree/master/plugins">
<Link
href="https://github.com/spotify/backstage/tree/master/plugins"
rel="noopener noreferrer"
>
<code>plugins/</code>
</Link>
.
@@ -135,7 +144,10 @@ const WelcomePage = () => {
<Link href="https://backstage.io">backstage.io</Link>
</ListItem>
<ListItem>
<Link href="https://github.com/spotify/backstage/blob/master/docs/plugins/create-a-plugin.md">
<Link
href="https://github.com/spotify/backstage/blob/master/docs/plugins/create-a-plugin.md"
rel="noopener noreferrer"
>
Create a plugin
</Link>
</ListItem>