Adding API to footer

This commit is contained in:
Dessalines 2019-05-15 09:12:54 -07:00
parent 5e1fcd318a
commit 13d7adab94

View file

@ -12,7 +12,7 @@ export class Footer extends Component<any, any> {
render() { render() {
return ( return (
<nav title={version} class="container navbar navbar-expand-md navbar-light navbar-bg p-0 px-3 my-2"> <nav class="container navbar navbar-expand-md navbar-light navbar-bg p-0 px-3 my-2">
<div className="navbar-collapse"> <div className="navbar-collapse">
<ul class="navbar-nav ml-auto"> <ul class="navbar-nav ml-auto">
<li class="nav-item"> <li class="nav-item">
@ -21,15 +21,15 @@ export class Footer extends Component<any, any> {
<li class="nav-item"> <li class="nav-item">
<Link class="nav-link" to="/modlog">Modlog</Link> <Link class="nav-link" to="/modlog">Modlog</Link>
</li> </li>
<li class="nav-item">
<a class="nav-link" href={`${repoUrl}/blob/master/docs/api.md`}>API</a>
</li>
<li class="nav-item"> <li class="nav-item">
<Link class="nav-link" to="/sponsors">Sponsors</Link> <Link class="nav-link" to="/sponsors">Sponsors</Link>
</li> </li>
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" href={repoUrl}>Code</a> <a class="nav-link" href={repoUrl}>Code</a>
</li> </li>
<li class="nav-item">
<a class="nav-link" href={repoUrl}>About</a>
</li>
</ul> </ul>
</div> </div>
</nav> </nav>