Display yellow banner when on development site

This commit is contained in:
Tanner Collin 2020-11-15 01:44:36 +00:00
parent 429a6c0354
commit 928a07d29c

View File

@ -109,6 +109,10 @@ function App() {
<img src='/logo-long.svg' className='logo-long' /> <img src='/logo-long.svg' className='logo-long' />
</Link> </Link>
</div> </div>
{window.location.hostname !== 'my.protospace.ca' &&
<p style={{ background: 'yellow' }}>~~~~~ Development site ~~~~~</p>
}
</Container> </Container>
<Menu> <Menu>