added basic temp file

This commit is contained in:
Barnab 2024-08-11 15:35:44 +02:00
parent dba2328dc5
commit 33075242d9

25
migration.js Normal file
View 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);
}