add post-boot frame structure

This commit is contained in:
Emile Clark-Boman 2026-02-03 22:20:47 +10:00
parent 4b77bef6ef
commit ea53a98f70
2 changed files with 32 additions and 3 deletions

View file

@ -24,7 +24,21 @@ function endBoot(root) {
}
);
fade.onfinish = () => root.remove();
fade.onfinish = () => {
root.remove();
document
.querySelector("main")
.animate(
[
{ visibility: "visible" },
{ visibility: "visible", opacity: 1 }
],
{
duration: 400,
fill: "forwards",
}
);
}
}
function main() {