Skip to content

Commit d9fc15b

Browse files
committed
chore(navigation): include protocol in external links
1 parent 2ce2315 commit d9fc15b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/Navigation/Navigation.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ export default class Navigation extends React.Component {
3030
...links,
3131
{
3232
title: 'GitHub Repository',
33-
url: '//github.com/webpack/webpack',
33+
url: 'https://github.com/webpack/webpack',
3434
className: 'navigation__item--icon',
3535
content: <i className="icon-github" />
3636
},
3737
{
3838
title: 'Webpack on Stack Overflow',
39-
url: '//stackoverflow.com/questions/tagged/webpack',
39+
url: 'https://stackoverflow.com/questions/tagged/webpack',
4040
className: 'navigation__item--icon',
4141
content: <i className="icon-stack-overflow" />
4242
},

src/components/Site/Site.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class Site extends React.Component {
7171
},
7272
{ content: 'Contribute', url: '/contribute' },
7373
{ content: 'Vote', url: '/vote' },
74-
{ content: 'Blog', url: '//medium.com/webpack' }
74+
{ content: 'Blog', url: 'https://medium.com/webpack' }
7575
]} />
7676

7777
{ window.document !== undefined ? (

0 commit comments

Comments
 (0)