The man said unto me, "dont you mean create pool?"

This commit is contained in:
the-all-good 2024-12-12 21:20:21 +11:00
parent 4c4d977401
commit 8f8c4fb267
2 changed files with 3 additions and 3 deletions

View File

@ -6,8 +6,8 @@ function Button(props){
<Link <Link
to={props.link} to={props.link}
disabled={props.disabled} disabled={props.disabled}
className={`p-2 m-2 rounded-2xl text-center border-black bg-slate-600 font-bold border-2 text-white className={`p-2 m-2 rounded-2xl text-center font-bold border-2
${props.disabled ? 'pointer-events-none' : 'hover:font-bold hover:text-black hover:bg-slate-400 '}`}> ${props.disabled ? 'pointer-events-none text-gray-400 bg-slate-700' : 'text-white hover:font-bold hover:text-black hover:bg-slate-400 border-black bg-slate-600'}`}>
{props.displayValue} {props.displayValue}
</Link> </Link>
); );

View File

@ -34,7 +34,7 @@ function Home(){
<Button displayValue="New Game" link="/game/1"/> <Button displayValue="New Game" link="/game/1"/>
<Button displayValue="Join Game" link={`/game/${selectedGame}`} disabled={selectedGame ? false : true}/> <Button displayValue="Join Game" link={`/game/${selectedGame}`} disabled={selectedGame ? false : true}/>
<Button displayValue="List Pools"/> <Button displayValue="List Pools"/>
<Button displayValue="Join Pool"/> <Button displayValue="Create Pool"/>
</div> </div>
</div> </div>