improved splash screen action

This commit is contained in:
2026-03-17 22:09:50 +08:00
parent 3cc4f5366d
commit 2a485f9a0b
4 changed files with 30 additions and 11 deletions

BIN
static/splash-dev.jpeg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 KiB

28
static/splash.html Normal file
View File

@@ -0,0 +1,28 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>Friendolls</title>
<script>
document.addEventListener("contextmenu", function (e) {
e.preventDefault();
});
</script>
</head>
<body style="width: 100%; height: 100%">
<div id="splash"></div>
<style>
* {
margin: 0;
}
#splash {
background-image: url("/splash-dev.jpeg");
background-size: cover;
background-position: center;
width: 800px;
height: 400px;
}
</style>
</body>
</html>