Skip to content

Commit

Permalink
Change references from 'reactjs.org' to 'pt-br.reactjs.org'
Browse files Browse the repository at this point in the history
  • Loading branch information
tibuurcio committed Feb 23, 2019
1 parent a7823cb commit 89f8a0d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
module.exports = {
siteMetadata: {
title: 'React: A JavaScript library for building user interfaces',
siteUrl: 'https://reactjs.org',
siteUrl: 'https://pt-br.reactjs.org',
rssFeedTitle: 'React',
rssFeedDescription: 'A JavaScript library for building user interfaces',
},
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "0.0.1",
"private": true,
"bugs": {
"url": "https://github.com/reactjs/reactjs.org"
"url": "https://github.com/reactjs/pt-br.reactjs.org"
},
"dependencies": {
"babel-eslint": "^8.0.1",
Expand Down Expand Up @@ -60,15 +60,15 @@
"node": ">8.4.0",
"yarn": "^1.3.2"
},
"homepage": "https://reactjs.org/",
"homepage": "https://pt-br.reactjs.org",
"keywords": [
"gatsby"
],
"license": "CC",
"main": "n/a",
"repository": {
"type": "git",
"url": "git+https://github.com/reactjs/reactjs.org.git"
"url": "git+https://github.com/reactjs/pt-br.reactjs.org.git"
},
"scripts": {
"build": "gatsby build",
Expand Down
2 changes: 1 addition & 1 deletion src/components/MarkdownPage/MarkdownPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const MarkdownPage = ({
<div css={{marginTop: 80}}>
<a
css={sharedStyles.articleLayout.editLink}
href={`https://github.com/reactjs/reactjs.org/tree/master/${
href={`https://github.com/reactjs/pt-br.reactjs.org/tree/master/${
markdownRemark.fields.path
}`}>
Edit this page
Expand Down
2 changes: 1 addition & 1 deletion src/html.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const JS_NPM_URLS = [
export default class HTML extends React.Component {
render() {
return (
<html lang="en" {...this.props.htmlAttributes}>
<html lang="pt-BR" {...this.props.htmlAttributes}>
<head>
{JS_NPM_URLS.map(url => (
<link key={url} rel="preload" href={url} as="script" />
Expand Down
2 changes: 1 addition & 1 deletion src/site-constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

// NOTE: We can't just use `location.toString()` because when we are rendering
// the SSR part in node.js we won't have a proper location.
const urlRoot = 'https://reactjs.org';
const urlRoot = 'https://pt-br.reactjs.org';
const version = '16.8.2';
const babelURL = 'https://unpkg.com/babel-standalone@6.26.0/babel.min.js';

Expand Down

0 comments on commit 89f8a0d

Please sign in to comment.