diff --git a/src/css/_gamescreen.scss b/src/css/_gamescreen.scss index 13b073c..fa94f2a 100644 --- a/src/css/_gamescreen.scss +++ b/src/css/_gamescreen.scss @@ -246,6 +246,10 @@ a.BoardNav-next { color: darken($error-bg, 15%); } +.GamePlayActions-report { + color: darken($error-bg, 15%); +} + .GamePlayActions-more { background: #eee; color: $semi-muted; diff --git a/src/ui/game/GamePlayActions.js b/src/ui/game/GamePlayActions.js index 416bf52..8b7d56c 100644 --- a/src/ui/game/GamePlayActions.js +++ b/src/ui/game/GamePlayActions.js @@ -107,6 +107,10 @@ export default class GamePlayActions extends Component { onClick={this._onLeaveGame}> Leave Game + Report User ) : null} @@ -160,6 +164,10 @@ export default class GamePlayActions extends Component { this.props.onLeaveGame(); }; + _onReportUser = () => { + window.location.href = "mailto:admin@gokgs.com?subject=[Report%20User%20or%20Issue]"; + } + _onDone = () => { this.props.onDoneScoring(this.props.game); };