public and private buttons

This commit is contained in:
SpikeHD
2022-05-08 18:18:18 -07:00
parent 0e3a08581d
commit 90287bbccb
3 changed files with 19 additions and 7 deletions

View File

@@ -15,7 +15,10 @@ function App() {
return (
<div className="App">
<Topbar />
<BigButton text="PLAY DA GAME :D" onClick={playGame} id="officialPlay" />
<div id="playButtons">
<BigButton text="PLAY DA GAME :D" onClick={playGame} id="officialPlay" />
<BigButton text="PLAY PRIV GAME :D" onClick={playGame} id="privatePlay" />
</div>
</div>
)
}

View File

@@ -11,9 +11,6 @@
color: #704a1d;
font-weight: bold;
height: 60px;
max-width: 20%;
font-size: 20px;
}

View File

@@ -1,5 +1,17 @@
#officialPlay {
#playButtons {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
position: absolute;
top: 75%;
left: 60%;
top: 80%;
left: 40%;
width: 50%;
height: 10%;
}
#playButtons .BigButton {
height: 100%;
}