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