Skip to content
Merged

Some #137

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 5 additions & 28 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 All @@ -104,20 +84,17 @@ const Mainstage = ({ speakers }) => {
<Col md={8} xs={12} className={styles.hero__liveNow__col}>
{new Date().getTime() - countdown.getTime() < 0 ? (
<p className={styles.hero__liveNow__col__heading}>
Save the Date !{" "}
<span className={styles.liveNowDate}>
Join the Summit NOW,{" "}
<a href="https://bbb.rocket.chat/b/sin-ur2-c72-cbv">
https://bbb.rocket.chat/b/sin-ur2-c72-cbv
</a>
</span>
JOIN THE SUMMIT NOW!
Click <Link href={"https://bbb.rocket.chat/b/sin-ur2-c72-cbv"}>https://bbb.rocket.chat/b/sin-ur2-c72-cbv</Link>
</p>
) : (
<p className={styles.hero__liveNow__col__heading}>
Event is live now!{" "}
<span role="img" aria-label="sparkles">
</span>
JOIN THE SUMMIT NOW!
Click <Link href={"https://bbb.rocket.chat/b/sin-ur2-c72-cbv"}>https://bbb.rocket.chat/b/sin-ur2-c72-cbv</Link>
</p>
)}
<p className={styles.hero__liveNow__col_text}>
Expand Down