File tree Expand file tree Collapse file tree 3 files changed +6
-29
lines changed Expand file tree Collapse file tree 3 files changed +6
-29
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
body {
2
2
font : 14px "Century Gothic" , Futura, sans-serif;
3
3
margin-top : 130px ;
4
+ margin-left : 520px ;
4
5
background-image : url (image/ppp.jpg);
5
6
background-position : center;
6
7
background-repeat : no-repeat;
23
24
font-size : 40px ;
24
25
color : white;
25
26
font-weight : 800 ;
26
- background : black;
27
- padding : 10px ;
28
27
}
29
28
30
29
.square {
86
85
.game {
87
86
display : flex;
88
87
flex-direction : row;
89
- width : 500px ;
90
- margin : 0 auto;
91
- align-items : center;
92
- justify-content : center;
93
88
}
94
89
95
90
.game-info {
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import ReactDOM from 'react-dom' ;
3
3
import './index.css' ;
4
- import Home from './Home' ;
5
4
6
5
function Square ( props ) {
7
6
return (
@@ -108,24 +107,18 @@ class Game extends React.Component {
108
107
< div className = "game-board" >
109
108
< Board />
110
109
</ div >
111
- { /* <div className="game-info">
112
- <div> status </div>
113
- <ol> TODO </ol>
114
- </div> */ }
110
+ < div className = "game-info" >
111
+ < div > { /* status */ } </ div >
112
+ < ol > { /* TODO */ } </ ol >
113
+ </ div >
115
114
</ div >
116
115
) ;
117
116
}
118
117
}
119
118
120
-
121
119
// ========================================
122
120
123
121
ReactDOM . render (
124
- < >
125
- < Home />
126
- < Game />
127
-
128
- </ >
129
- ,
122
+ < Game /> ,
130
123
document . getElementById ( 'root' )
131
124
) ;
You can’t perform that action at this time.
0 commit comments