Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Play state #105

Merged
merged 15 commits into from
Apr 26, 2022
2 changes: 0 additions & 2 deletions src/meta/play-meta.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

import {
BasicTree, CdTimerComp,
CurrentTimer,
Expand Down Expand Up @@ -130,4 +129,3 @@ export const plays = [
];
atapas marked this conversation as resolved.
Show resolved Hide resolved



37 changes: 0 additions & 37 deletions src/plays/states/States.css

This file was deleted.

4 changes: 2 additions & 2 deletions src/plays/states/States.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ function States(props) {

<div className="play-area-result">
{!display ? (
<p style={{marginLeft: '2rem'}}>Enter Details of the Message</p>
<p >Enter Details of the Message</p>
) : (
<h3 style={{marginLeft: '2rem'}}>Welcome to State Play, {name} </h3>
<h3 >Welcome to State Play, {name} </h3>
)}
</div>
</div>
Expand Down
Binary file added src/plays/states/cover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 21 additions & 1 deletion src/plays/states/states.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
flex-direction: column;
}

.play-area-result {
margin-left: 2rem;
}

.play-area {
border-right-width: 0.1rem;
border-right-style: solid;
Expand All @@ -26,12 +30,28 @@
.submit-button {
height: 2rem;
width: 6rem;
font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
font-size: 1rem;
background: rgb(108, 226, 252);
border: none;
outline: none;
margin-top: 1.2rem;
margin-left: 4rem;
border-radius: 1rem;
}

@media only screen and (max-width: 760px) {
.play-area-container {
display: flex;
flex-direction: column;
margin-top: 3rem;
}

.play-area {
border: none;
}

.play-area-result {
margin-left: 0.5rem;
margin-top: 1.5rem;
}
}