feat: nav in viewers

This commit is contained in:
cv
2021-04-23 15:03:00 +02:00
parent f3ce5681c1
commit 7ee1424c1e
4 changed files with 81 additions and 0 deletions
@@ -2,6 +2,7 @@ import QRCode from 'react-qr-code';
import { formatDisplay } from '../../../common/dateConfig';
import style from './StageManager.module.css';
import Paginator from './Paginator';
import NavLogo from '../../../common/components/nav/NavLogo';
export default function StageManager(props) {
const { pres, publ, lower, title, time, events, selectedId, general } = props;
@@ -15,6 +16,8 @@ export default function StageManager(props) {
return (
<div className={style.container__gray}>
<NavLogo />
<div className={style.eventTitle}>{general.title}</div>
<div className={style.nowContainer}>
<div className={style.label}>Now</div>
@@ -1,5 +1,6 @@
import Countdown from '../../../common/components/countdown/Countdown';
import MyProgressBar from '../../../common/components/myProgressBar/MyProgressBar';
import NavLogo from '../../../common/components/nav/NavLogo';
import style from './PresenterView.module.css';
export default function PresenterView(props) {
@@ -21,6 +22,8 @@ export default function PresenterView(props) {
<div className={style.message}>{pres.text}</div>
</div>
<NavLogo />
<div className={style.clockContainer}>
<div className={style.label}>Time Now</div>
<div className={style.clock}>{time.clock}</div>