Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/KaalDhairya/meta-interface
Browse files Browse the repository at this point in the history
…into dev_map
  • Loading branch information
luisDev committed Apr 14, 2022
2 parents 3838e65 + 21f0825 commit 8e0eb22
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions src/components/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import styled from 'styled-components'
import { useLocation } from 'react-router-dom'
import { useActiveWeb3React } from 'hooks'
import { endTime } from 'constants/map'
import { isMobile } from 'react-device-detect'

const LogoText = styled.div`
letter-spacing: 0.15em;
Expand Down Expand Up @@ -127,11 +128,14 @@ export default function Header(): JSX.Element {
</NavLink>
</div>

<div>
<TimerWrapper>
<b>Bid Event Countdown: </b> {`${currentTime.days} day${ currentTime.days > 1 ? 's' : '' }, ${currentTime.hours}h, ${currentTime.minutes}m, ${currentTime.seconds}s`}
</TimerWrapper>
</div>
{ !isMobile ? (
<div>
<TimerWrapper>
<b>Bid Event Countdown: </b> {`${currentTime.days} day${ currentTime.days > 1 ? 's' : '' }, ${currentTime.hours}h, ${currentTime.minutes}m, ${currentTime.seconds}s`}
</TimerWrapper>
</div>
) : null }


<div className="flex items-center">
<NavLink exact strict to="/map" className={''}>
Expand Down

0 comments on commit 8e0eb22

Please sign in to comment.