Skip to content

Commit f916518

Browse files
committed
finish
1 parent 6e8c82f commit f916518

File tree

6 files changed

+324
-36
lines changed

6 files changed

+324
-36
lines changed

.prettierrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"semi": true,
3+
"trailingComma": "all",
4+
"singleQuote": true,
5+
"printWidth": 70,
6+
}

package-lock.json

Lines changed: 157 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,13 @@
33
"version": "0.1.0",
44
"private": true,
55
"dependencies": {
6+
"apollo-cache-inmemory": "^1.2.0",
7+
"apollo-client": "^2.3.0",
8+
"apollo-link-http": "^1.5.4",
9+
"graphql": "^0.13.2",
10+
"graphql-tag": "^2.9.2",
611
"react": "^16.3.2",
12+
"react-apollo": "^2.1.4",
713
"react-dom": "^16.3.2",
814
"react-scripts": "1.1.4"
915
},
@@ -13,4 +19,4 @@
1319
"test": "react-scripts test --env=jsdom",
1420
"eject": "react-scripts eject"
1521
}
16-
}
22+
}

src/App.css

Lines changed: 8 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,15 @@
1-
.App {
2-
text-align: center;
1+
.row {
2+
padding: 5px;
33
}
44

5-
.App-logo {
6-
animation: App-logo-spin infinite 20s linear;
7-
height: 80px;
5+
.row:hover {
6+
background-color: lightblue;
87
}
98

10-
.App-header {
11-
background-color: #222;
12-
height: 150px;
13-
padding: 20px;
14-
color: white;
9+
.row_selected {
10+
background-color: orange;
1511
}
1612

17-
.App-title {
18-
font-size: 1.5em;
19-
}
20-
21-
.App-intro {
22-
font-size: large;
23-
}
24-
25-
@keyframes App-logo-spin {
26-
from { transform: rotate(0deg); }
27-
to { transform: rotate(360deg); }
13+
.row_selected:hover {
14+
background-color: orange;
2815
}

0 commit comments

Comments
 (0)