Fix links on new home page
@@ -57,7 +57,6 @@ class HomeSplash extends React.Component {
class Index extends React.Component {
render() {
- let language = this.props.language || 'en';
const showcase = siteConfig.customFields.users
.filter(user => {
return user.pinned;
@@ -76,7 +75,7 @@ class Index extends React.Component {
return (
<div>
- <HomeSplash language={language} />
+ <HomeSplash />
<div className="homePage mainContainer">
<Container className="textSection" background="light">
<h2>Built for scale</h2>
@@ -166,7 +165,7 @@ class Index extends React.Component {
<h2>Query Renderer</h2>
<p>
When creating a new screen, you start with a{' '}
- <a href="/docs/en/query-renderer">
+ <a href="/docs/query-renderer">
<code>QueryRenderer</code>
</a>
.
@@ -331,12 +330,7 @@ export default createFragmentContainer(ArtistHeader, {
<p>
See the{' '}
<a
- href={
- siteConfig.baseUrl +
- 'docs/' +
- this.props.language +
- '/fragment-container'
- }>
+ href={siteConfig.baseUrl + 'docs/fragment-container'}>
Fragment Container docs
</a>
</p>
@@ -371,9 +365,7 @@ export default createFragmentContainer(ArtistHeader, {
<a
href={
siteConfig.baseUrl +
- 'docs/' +
- this.props.language +
- '/graphql-server-specification.html#connections'
+ 'docs/graphql-server-specification#connections'
}>
Connections
</a>{' '}
@@ -405,9 +397,7 @@ export default createFragmentContainer(ArtistHeader, {
<a
href={
siteConfig.baseUrl +
- 'docs/' +
- this.props.language +
- '/graphql-server-specification.html#object-identification'
+ 'docs/graphql-server-specification#object-identification'
}>
See the Object Identification docs
</a>
@@ -549,8 +539,8 @@ export default createFragmentContainer(ArtistHeader, {
<p>
Relay requires a bit more up-front setup and tools, in
favour of supporting an architecture of isolated
- components which <a href="#">can scale</a> with your
- team and app complexity.
+ components which can scale with your team and app
+ complexity.
</p>
<p>
Learn these principles once, then spend more time
@@ -603,9 +593,7 @@ export default createFragmentContainer(ArtistHeader, {
<div className="logosHomepage">{showcase}</div>
</div>
<div className="more-users">
- <a
- className="button"
- href={siteConfig.baseUrl + this.props.language + '/users'}>
+ <a className="button" href={siteConfig.baseUrl + 'users'}>
More Relay Users
</a>
</div>
