Link demo React UI to Github repo

This commit is contained in:
Mars Hall
2017-01-31 10:53:50 -08:00
parent 174604b792
commit a0500c5476
2 changed files with 10 additions and 0 deletions

View File

@@ -18,6 +18,10 @@
font-size: large;
}
.App a {
color: #f60;
}
@keyframes App-logo-spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }

6
react-ui/src/App.js vendored
View File

@@ -40,6 +40,12 @@ class App extends Component {
<img src={logo} className="App-logo" alt="logo" />
<h2>Welcome to React</h2>
</div>
<p className="App-intro">
{'This is '}
<a href="https://github.com/mars/heroku-cra-node">
{'create-react-app with a custom Node/Express server'}
</a><br/>
</p>
<p className="App-intro">
{this.state.fetching
? 'Fetching message from API'