Skip to content
Permalink
Browse files

Add and use todomvc-app-css

  • Loading branch information...
paulftw committed Mar 20, 2019
1 parent a18d1fd commit 1fbbda8263cb6c7ca0a6c910619080d50a5c2340
Showing with 906 additions and 1,121 deletions.
  1. +2 −1 package.json
  2. +8 −2 public/index.html
  3. +11 −2 src/App.js
  4. +885 −1,116 yarn.lock
@@ -5,7 +5,8 @@
"dependencies": {
"react": "^16.8.4",
"react-dom": "^16.8.4",
"react-scripts": "2.1.8"
"react-scripts": "2.1.8",
"todomvc-app-css": "^2.1.2"
},
"scripts": {
"start": "react-scripts start",
@@ -7,10 +7,16 @@
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<title>Dgraph TODO MVC</title>
<title>Dgraph + React • TodoMVC</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<section id="root" class="todoapp"></section>

<footer class="info">
<p>Double-click to edit a todo</p>
<p>Created by <a href="http://github.com/petehunt/" target="_blank">petehunt</a></p>
<p>Updated by <a href="http://github.com/dgraph-io/" target="_blank">Dgraph Labs</a></p>
</footer>
</body>
</html>
@@ -1,12 +1,21 @@
import React, { Component } from 'react'
import 'todomvc-app-css/index.css'

import './App.css'

export default class App extends Component {
render() {
return (
<div>
<h1>TODO: Insert our app here</h1>
</div>
<header className="header">
<h1>todos</h1>
<input
className="new-todo"
placeholder="What needs to be done?"
autoFocus={true}
/>
</header>
</div>
)
}
}
Oops, something went wrong.

0 comments on commit 1fbbda8

Please sign in to comment.
You can’t perform that action at this time.