added basic temp file
This commit is contained in:
parent
dba2328dc5
commit
33075242d9
1 changed files with 25 additions and 0 deletions
25
migration.js
Normal file
25
migration.js
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
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);
|
||||||
|
}
|
Loading…
Reference in a new issue