diff --git a/.gitignore b/.gitignore index abc3087c..75537f12 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ client/dist/ client/index.html +node_modules diff --git a/client/src/css/main-window.scss b/client/src/css/main-window.scss index 74a7ca03..2a965b65 100644 --- a/client/src/css/main-window.scss +++ b/client/src/css/main-window.scss @@ -1,4 +1,8 @@ .main-window { + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; padding-top: 80px; font-size: 1.75em; diff --git a/client/src/css/timer.scss b/client/src/css/timer.scss new file mode 100644 index 00000000..16325c4e --- /dev/null +++ b/client/src/css/timer.scss @@ -0,0 +1,5 @@ +.Timer { + text-align: center; + font-size: 40px; + padding: 20px; +} \ No newline at end of file diff --git a/client/src/js/CallWindow.js b/client/src/js/CallWindow.js index 1d002664..51aed760 100644 --- a/client/src/js/CallWindow.js +++ b/client/src/js/CallWindow.js @@ -2,6 +2,7 @@ import React, { Component } from 'react'; import PropTypes from 'proptypes'; import classnames from 'classnames'; import _ from 'lodash'; +import Timer from './Timer'; class CallWindow extends Component { constructor(props) { @@ -71,12 +72,20 @@ class CallWindow extends Component { )); } + renderTimeControl() { + const { time } = this.props; + return ( + + ) + } + render() { const { status, endCall } = this.props; return (