Skip to content

Commit 79e6cce

Browse files
Merge pull request #159 from loconluis/from-react-to-esreact
Change from reactjs.org to es.reactjs.org
2 parents 157ef5a + 936ca1f commit 79e6cce

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

gatsby-config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
module.exports = {
1010
siteMetadata: {
1111
title: 'React: A JavaScript library for building user interfaces',
12-
siteUrl: 'https://reactjs.org',
12+
siteUrl: 'https://es.reactjs.org',
1313
rssFeedTitle: 'React',
1414
rssFeedDescription: 'A JavaScript library for building user interfaces',
1515
},

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"version": "0.0.1",
55
"private": true,
66
"bugs": {
7-
"url": "https://github.com/reactjs/reactjs.org"
7+
"url": "https://github.com/reactjs/es.reactjs.org"
88
},
99
"dependencies": {
1010
"babel-eslint": "^8.0.1",
@@ -60,15 +60,15 @@
6060
"node": ">8.4.0",
6161
"yarn": "^1.3.2"
6262
},
63-
"homepage": "https://reactjs.org/",
63+
"homepage": "https://es.reactjs.org/",
6464
"keywords": [
6565
"gatsby"
6666
],
6767
"license": "CC",
6868
"main": "n/a",
6969
"repository": {
7070
"type": "git",
71-
"url": "git+https://github.com/reactjs/reactjs.org.git"
71+
"url": "git+https://github.com/reactjs/es.reactjs.org.git"
7272
},
7373
"scripts": {
7474
"build": "gatsby build",

src/components/MarkdownPage/MarkdownPage.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,10 @@ const MarkdownPage = ({
112112
<div css={{marginTop: 80}}>
113113
<a
114114
css={sharedStyles.articleLayout.editLink}
115-
href={`https://github.com/reactjs/reactjs.org/tree/master/${
115+
href={`https://github.com/reactjs/es.reactjs.org/tree/master/${
116116
markdownRemark.fields.path
117117
}`}>
118-
Edit this page
118+
Edita esta página
119119
</a>
120120
</div>
121121
)}

src/html.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const JS_NPM_URLS = [
77
export default class HTML extends React.Component {
88
render() {
99
return (
10-
<html lang="en" {...this.props.htmlAttributes}>
10+
<html lang="es" {...this.props.htmlAttributes}>
1111
<head>
1212
{JS_NPM_URLS.map(url => (
1313
<link key={url} rel="preload" href={url} as="script" />

src/site-constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
// NOTE: We can't just use `location.toString()` because when we are rendering
99
// the SSR part in node.js we won't have a proper location.
10-
const urlRoot = 'https://reactjs.org';
10+
const urlRoot = 'https://es.reactjs.org';
1111
const version = '16.8.1';
1212
const babelURL = 'https://unpkg.com/[email protected]/babel.min.js';
1313

0 commit comments

Comments
 (0)