25 lines
731 B
JavaScript
25 lines
731 B
JavaScript
|
const isBeingMigrated = true;
|
||
|
|
||
|
if (isBeingMigrated) {
|
||
|
var html = `
|
||
|
<div style="
|
||
|
position: absolute;
|
||
|
z-index: 999;
|
||
|
width: 100vw;
|
||
|
height: 3em;
|
||
|
background-color: lightcoral;
|
||
|
top: 0;
|
||
|
left: 0;
|
||
|
outline: solid 3px red;
|
||
|
"><p style="
|
||
|
font-family: sans-serif;
|
||
|
line-height: 3em;
|
||
|
text-align: center;
|
||
|
color: red;
|
||
|
cursor: pointer;
|
||
|
position: relative;
|
||
|
margin: 0;
|
||
|
">The bdupont.tech infrastructure is currently being migrated to new servers. Please check <a href="https://status-mig.bdupont.tech/" style="color: red; text-decoration: underline;">https://status-mig.bdupont.tech</a> if you have any issues.</p></div>
|
||
|
`
|
||
|
document.documentElement.insertAdjacentHTML('beforeend', html);
|
||
|
}
|