front: minore updates

This commit is contained in:
djmil 2023-10-25 17:00:33 +02:00
parent b261b45014
commit 0c24d8c3ac
4 changed files with 12 additions and 12 deletions

View File

@ -14,6 +14,7 @@ function App() {
<Header/>
<div className="Container">
<Routes>
{/* https://stackoverflow.com/questions/40541994/multiple-path-names-for-a-same-component-in-react-router */}
<Route path="/game" element={<Game/>} />
<Route path="/game/proposal" element={<Game/>} />
<Route path="/game/active" element={<Game/>} />

View File

@ -27,3 +27,7 @@
.tile.white:hover {
background-color:azure;
}
.stone {
font-size: 120%;
}

View File

@ -2,21 +2,21 @@ import './index.css';
import React from 'react';
import GameHeader from '../GameHeader'
import GameSelector from '../GameSelector'
import Board from '../Board'
import Board from '../Board'
// import { AppData } from "../../context/data"
export default function Game() {
return <div className="split">
<div className='split left'>
<GameHeader/>
<GameSelector/>
<GameHeader />
<GameSelector />
</div>
<div className='split right'></div>
<Board/>
</div>
<Board />
</div>
};

View File

@ -39,9 +39,4 @@
font-size: 50%;
padding-left: 50%;
margin-bottom: 7px;
}
.stone {
font-size: 140%;
vertical-align: -3px;
}