95 lines
2.1 KiB
HTML
95 lines
2.1 KiB
HTML
|
|
<!DOCTYPE html>
|
||
|
|
<html lang="en">
|
||
|
|
<head>
|
||
|
|
<meta charset="UTF-8">
|
||
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
|
<title>SvelteMUD - Loading</title>
|
||
|
|
<style>
|
||
|
|
body {
|
||
|
|
margin: 0;
|
||
|
|
padding: 0;
|
||
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
||
|
|
background-color: #282a36;
|
||
|
|
color: #f8f8f2;
|
||
|
|
height: 100vh;
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.logo {
|
||
|
|
width: 150px;
|
||
|
|
height: 150px;
|
||
|
|
background-color: #282a36;
|
||
|
|
border-radius: 20px;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
margin-bottom: 20px;
|
||
|
|
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
|
||
|
|
animation: pulse 2s infinite;
|
||
|
|
}
|
||
|
|
|
||
|
|
.logo-text {
|
||
|
|
font-size: 36px;
|
||
|
|
font-weight: bold;
|
||
|
|
color: #ff79c6;
|
||
|
|
text-shadow: 0 0 10px rgba(255, 121, 198, 0.5);
|
||
|
|
}
|
||
|
|
|
||
|
|
.loading-text {
|
||
|
|
font-size: 18px;
|
||
|
|
margin-top: 20px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.loading-spinner {
|
||
|
|
width: 40px;
|
||
|
|
height: 40px;
|
||
|
|
border-radius: 50%;
|
||
|
|
border: 3px solid #50fa7b;
|
||
|
|
border-top-color: transparent;
|
||
|
|
animation: spin 1s linear infinite;
|
||
|
|
margin-top: 20px;
|
||
|
|
}
|
||
|
|
|
||
|
|
@keyframes pulse {
|
||
|
|
0% {
|
||
|
|
transform: scale(1);
|
||
|
|
}
|
||
|
|
50% {
|
||
|
|
transform: scale(1.05);
|
||
|
|
}
|
||
|
|
100% {
|
||
|
|
transform: scale(1);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
@keyframes spin {
|
||
|
|
0% {
|
||
|
|
transform: rotate(0deg);
|
||
|
|
}
|
||
|
|
100% {
|
||
|
|
transform: rotate(360deg);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
</style>
|
||
|
|
</head>
|
||
|
|
<body>
|
||
|
|
<div class="logo">
|
||
|
|
<div class="logo-text">MUD</div>
|
||
|
|
</div>
|
||
|
|
<h1>SvelteMUD Client</h1>
|
||
|
|
<div class="loading-text">Loading your MUD client...</div>
|
||
|
|
<div class="loading-spinner"></div>
|
||
|
|
|
||
|
|
<script>
|
||
|
|
// Redirect to the main app after loading
|
||
|
|
window.addEventListener('load', () => {
|
||
|
|
setTimeout(() => {
|
||
|
|
window.location.href = '/';
|
||
|
|
}, 2000); // Redirect after 2 seconds
|
||
|
|
});
|
||
|
|
</script>
|
||
|
|
</body>
|
||
|
|
</html>
|