💫 Increase time between stages on initilization screen

This commit is contained in:
Alicia Sykes 2024-04-28 20:40:57 +01:00
parent 21eb2a604d
commit a327bf2349

View File

@ -60,7 +60,7 @@
} }
body { body {
background: #141b33; background: #0d1220;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
@ -197,12 +197,12 @@
</style> </style>
<script> <script>
const refreshRate = 8000; // Refresh the page every 10 seconds
// Refresh at interval const refreshRate = 10000;
setTimeout(() => { location.reload(); }, refreshRate); setTimeout(() => { location.reload(); }, refreshRate);
// Get current stage // Get current stage
let initStage = parseInt(sessionStorage.getItem('initStage') || 0); let initStage = parseInt(sessionStorage.getItem('initStage') || 0);
// Check if stage in session storage is old, and if so, reset it // Check if stage in session storage is old, and if so, reset it
const now = Math.round(Date.now()/1000); const now = Math.round(Date.now()/1000);
@ -262,4 +262,4 @@
</script> </script>
</body> </body>
</html> </html>