front: minore updates
This commit is contained in:
parent
b261b45014
commit
0c24d8c3ac
@ -14,6 +14,7 @@ function App() {
|
|||||||
<Header/>
|
<Header/>
|
||||||
<div className="Container">
|
<div className="Container">
|
||||||
<Routes>
|
<Routes>
|
||||||
|
{/* https://stackoverflow.com/questions/40541994/multiple-path-names-for-a-same-component-in-react-router */}
|
||||||
<Route path="/game" element={<Game/>} />
|
<Route path="/game" element={<Game/>} />
|
||||||
<Route path="/game/proposal" element={<Game/>} />
|
<Route path="/game/proposal" element={<Game/>} />
|
||||||
<Route path="/game/active" element={<Game/>} />
|
<Route path="/game/active" element={<Game/>} />
|
||||||
|
@ -27,3 +27,7 @@
|
|||||||
.tile.white:hover {
|
.tile.white:hover {
|
||||||
background-color:azure;
|
background-color:azure;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.stone {
|
||||||
|
font-size: 120%;
|
||||||
|
}
|
@ -2,21 +2,21 @@ import './index.css';
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import GameHeader from '../GameHeader'
|
import GameHeader from '../GameHeader'
|
||||||
import GameSelector from '../GameSelector'
|
import GameSelector from '../GameSelector'
|
||||||
import Board from '../Board'
|
import Board from '../Board'
|
||||||
|
|
||||||
// import { AppData } from "../../context/data"
|
// import { AppData } from "../../context/data"
|
||||||
|
|
||||||
export default function Game() {
|
export default function Game() {
|
||||||
|
|
||||||
return <div className="split">
|
return <div className="split">
|
||||||
|
|
||||||
<div className='split left'>
|
<div className='split left'>
|
||||||
<GameHeader/>
|
<GameHeader />
|
||||||
<GameSelector/>
|
<GameSelector />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className='split right'></div>
|
<div className='split right'></div>
|
||||||
<Board/>
|
<Board />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -39,9 +39,4 @@
|
|||||||
font-size: 50%;
|
font-size: 50%;
|
||||||
padding-left: 50%;
|
padding-left: 50%;
|
||||||
margin-bottom: 7px;
|
margin-bottom: 7px;
|
||||||
}
|
|
||||||
|
|
||||||
.stone {
|
|
||||||
font-size: 140%;
|
|
||||||
vertical-align: -3px;
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user