new splash screen
This commit is contained in:
@@ -2,22 +2,29 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Friendolls</title>
|
||||
<title>Friendolls Splash</title>
|
||||
<script>
|
||||
document.addEventListener("contextmenu", function (e) {
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
const urlParams = new URLSearchParams(window.location.search);
|
||||
const debug = urlParams.get("debug") === "Y";
|
||||
</script>
|
||||
</head>
|
||||
<body style="width: 100%; height: 100%">
|
||||
<div id="splash"></div>
|
||||
<script>
|
||||
document.getElementById("splash").style.backgroundImage = debug
|
||||
? 'url("/splash-dev.jpeg")'
|
||||
: 'url("/splash.jpg")';
|
||||
</script>
|
||||
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
}
|
||||
#splash {
|
||||
background-image: url("/splash-dev.jpeg");
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
width: 800px;
|
||||
|
||||
Reference in New Issue
Block a user