Merge pull request #10 from sdwilsh/use-baseUrl-more

Use the siteConfig more
This commit is contained in:
Joel Marcey 2017-07-12 10:52:58 -07:00 committed by GitHub
commit a66f0a72fd

View file

@ -44,7 +44,7 @@ class HomeSplash extends React.Component {
<div className="inner">
<h2 className="projectTitle">
{siteConfig.title}
<small>My Tagline</small>
<small>{siteConfig.tagline}</small>
</h2>
<div className="section promoSection">
<div className="promoRow">
@ -52,14 +52,14 @@ class HomeSplash extends React.Component {
<Button href="#try">Try It Out</Button>
<Button
href={
"/test-site/docs/" + this.props.language + "/doc1.html"
siteConfig.baseUrl + "docs/" + this.props.language + "/doc1.html"
}
>
Example Link
</Button>
<Button
href={
"/test-site/docs/" + this.props.language + "/doc2.html"
siteConfig.baseUrl + "docs/" + this.props.language + "/doc2.html"
}
>
Example Link 2