mirror of
https://github.com/facebook/docusaurus.git
synced 2025-04-30 18:58:36 +02:00
Use project title for example (#84)
Small change to keep the example file usable for whichever project it's inserted into. * do baseUrl too
This commit is contained in:
parent
1872df78ae
commit
2c108d36cb
1 changed files with 7 additions and 7 deletions
|
@ -30,7 +30,7 @@ class HomeSplash extends React.Component {
|
||||||
<div className="homeSplashFade">
|
<div className="homeSplashFade">
|
||||||
<div className="wrapper homeWrapper">
|
<div className="wrapper homeWrapper">
|
||||||
<div className="projectLogo">
|
<div className="projectLogo">
|
||||||
<img src="/test-site/img/docusaurus.svg" />
|
<img src={siteConfig.baseUrl + "/img/docusaurus.svg"} />
|
||||||
</div>
|
</div>
|
||||||
<div className="inner">
|
<div className="inner">
|
||||||
<h2 className="projectTitle">
|
<h2 className="projectTitle">
|
||||||
|
@ -99,13 +99,13 @@ class Index extends React.Component {
|
||||||
contents={[
|
contents={[
|
||||||
{
|
{
|
||||||
content: "This is the content of my feature",
|
content: "This is the content of my feature",
|
||||||
image: "/test-site/img/docusaurus.svg",
|
image: siteConfig.baseUrl + "img/docusaurus.svg",
|
||||||
imageAlign: "top",
|
imageAlign: "top",
|
||||||
title: "Feature One"
|
title: "Feature One"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
content: "The content of my second feature",
|
content: "The content of my second feature",
|
||||||
image: "/test-site/img/docusaurus.svg",
|
image: siteConfig.baseUrl + "img/docusaurus.svg",
|
||||||
imageAlign: "top",
|
imageAlign: "top",
|
||||||
title: "Feature Two"
|
title: "Feature Two"
|
||||||
}
|
}
|
||||||
|
@ -127,7 +127,7 @@ class Index extends React.Component {
|
||||||
contents={[
|
contents={[
|
||||||
{
|
{
|
||||||
content: "Talk about learning how to use this",
|
content: "Talk about learning how to use this",
|
||||||
image: "/test-site/img/docusaurus.svg",
|
image: siteConfig.baseUrl + "img/docusaurus.svg",
|
||||||
imageAlign: "right",
|
imageAlign: "right",
|
||||||
title: "Learn How"
|
title: "Learn How"
|
||||||
}
|
}
|
||||||
|
@ -140,7 +140,7 @@ class Index extends React.Component {
|
||||||
contents={[
|
contents={[
|
||||||
{
|
{
|
||||||
content: "Talk about trying this out",
|
content: "Talk about trying this out",
|
||||||
image: "/test-site/img/docusaurus.svg",
|
image: siteConfig.baseUrl + "img/docusaurus.svg",
|
||||||
imageAlign: "left",
|
imageAlign: "left",
|
||||||
title: "Try it Out"
|
title: "Try it Out"
|
||||||
}
|
}
|
||||||
|
@ -154,7 +154,7 @@ class Index extends React.Component {
|
||||||
{
|
{
|
||||||
content:
|
content:
|
||||||
"This is another description of how this project is useful",
|
"This is another description of how this project is useful",
|
||||||
image: "/test-site/img/docusaurus.svg",
|
image: siteConfig.baseUrl + "img/docusaurus.svg",
|
||||||
imageAlign: "right",
|
imageAlign: "right",
|
||||||
title: "Description"
|
title: "Description"
|
||||||
}
|
}
|
||||||
|
@ -177,7 +177,7 @@ class Index extends React.Component {
|
||||||
siteConfig.baseUrl + this.props.language + "/" + "users.html"
|
siteConfig.baseUrl + this.props.language + "/" + "users.html"
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
More Docusaurus Users
|
More {siteConfig.title} Users
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue