Skip to content
This repository was archived by the owner on Jul 16, 2024. It is now read-only.

Commit a18d1fd

Browse files
author
Paul Korzhyk
committed
Remove all CSS and the serviceWorker. Update branding and titles
1 parent fe09456 commit a18d1fd

File tree

7 files changed

+8
-95
lines changed

7 files changed

+8
-95
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "dgraph-react-todomvc",
2+
"name": "dgraph-todomvc",
33
"version": "0.1.0",
44
"private": true,
55
"dependencies": {

public/favicon.ico

11 KB
Binary file not shown.

public/index.html

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -7,35 +7,10 @@
77
name="viewport"
88
content="width=device-width, initial-scale=1, shrink-to-fit=no"
99
/>
10-
<meta name="theme-color" content="#000000" />
11-
<!--
12-
manifest.json provides metadata used when your web app is installed on a
13-
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
14-
-->
15-
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
16-
<!--
17-
Notice the use of %PUBLIC_URL% in the tags above.
18-
It will be replaced with the URL of the `public` folder during the build.
19-
Only files inside the `public` folder can be referenced from the HTML.
20-
21-
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
22-
work correctly both with client-side routing and a non-root public URL.
23-
Learn how to configure a non-root public URL by running `npm run build`.
24-
-->
25-
<title>React App</title>
10+
<title>Dgraph TODO MVC</title>
2611
</head>
2712
<body>
2813
<noscript>You need to enable JavaScript to run this app.</noscript>
2914
<div id="root"></div>
30-
<!--
31-
This HTML file is a template.
32-
If you open it directly in the browser, you will see an empty page.
33-
34-
You can add webfonts, meta tags, or analytics to this file.
35-
The build step will place the bundled scripts into the <body> tag.
36-
37-
To begin the development, run `npm start` or `yarn start`.
38-
To create a production bundle, use `npm run build` or `yarn build`.
39-
-->
4015
</body>
4116
</html>

src/App.css

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +0,0 @@
1-
.App {
2-
text-align: center;
3-
}
4-
5-
.App-logo {
6-
animation: App-logo-spin infinite 20s linear;
7-
height: 40vmin;
8-
pointer-events: none;
9-
}
10-
11-
.App-header {
12-
background-color: #282c34;
13-
min-height: 100vh;
14-
display: flex;
15-
flex-direction: column;
16-
align-items: center;
17-
justify-content: center;
18-
font-size: calc(10px + 2vmin);
19-
color: white;
20-
}
21-
22-
.App-link {
23-
color: #61dafb;
24-
}
25-
26-
@keyframes App-logo-spin {
27-
from {
28-
transform: rotate(0deg);
29-
}
30-
to {
31-
transform: rotate(360deg);
32-
}
33-
}

src/App.js

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,12 @@
1-
import React, { Component } from 'react';
2-
import logo from './logo.svg';
3-
import './App.css';
1+
import React, { Component } from 'react'
2+
import './App.css'
43

5-
class App extends Component {
4+
export default class App extends Component {
65
render() {
76
return (
8-
<div className="App">
9-
<header className="App-header">
10-
<img src={logo} className="App-logo" alt="logo" />
11-
<p>
12-
Edit <code>src/App.js</code> and save to reload.
13-
</p>
14-
<a
15-
className="App-link"
16-
href="https://reactjs.org"
17-
target="_blank"
18-
rel="noopener noreferrer"
19-
>
20-
Learn React
21-
</a>
22-
</header>
7+
<div>
8+
<h1>TODO: Insert our app here</h1>
239
</div>
24-
);
10+
)
2511
}
2612
}
27-
28-
export default App;

src/index.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,5 @@ import React from 'react';
22
import ReactDOM from 'react-dom';
33
import './index.css';
44
import App from './App';
5-
import * as serviceWorker from './serviceWorker';
65

76
ReactDOM.render(<App />, document.getElementById('root'));
8-
9-
// If you want your app to work offline and load faster, you can change
10-
// unregister() to register() below. Note this comes with some pitfalls.
11-
// Learn more about service workers: https://bit.ly/CRA-PWA
12-
serviceWorker.unregister();

src/logo.svg

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)