Skip to content

Commit

Permalink
Some (#137)
Browse files Browse the repository at this point in the history
* Add link

* Correct link

* Fix clock
  • Loading branch information
Dnouv committed Apr 6, 2022
1 parent b3f15f5 commit cf81653
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions app/pages/virtualconf/mainstage/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ const Mainstage = ({ speakers }) => {
const seconds = Math.floor((distance % (1000 * 60)) / 1000);
setTimer([days, hours, minutes, seconds]);
if (distance < 0) {
clearInterval(x);
setTimer("We are now live! ✨");
}
}, 1000);
Expand Down Expand Up @@ -71,26 +70,7 @@ const Mainstage = ({ speakers }) => {
program.
</p>
<p className={styles.hero__body__time}>
<span className={styles.hero__body__timer}>Live In - </span>
<span className={styles.hero__body__timer}>{timer[0]}</span>d
<span className={styles.hero__body__timer_separation}>
{" "}
|{" "}
</span>
<span className={styles.hero__body__timer}>
{timer[1]}
</span>h{" "}
<span className={styles.hero__body__timer_separation}>
{" "}
|{" "}
</span>
<span className={styles.hero__body__timer}>
{timer[2]}
</span>m{" "}
<span className={styles.hero__body__timer_separation}>
|{" "}
</span>
<span className={styles.hero__body__timer}>{timer[3]}</span>s{" "}
<span className={styles.hero__body__timer}>Live!</span>
</p>
</Col>
<Col lg={6} md={0} xs={12} className={styles.hero__body__image}>
Expand Down

0 comments on commit cf81653

Please sign in to comment.