kv-tube/frontend/public/splash.html

83 lines
No EOL
2.2 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>KV-Tube</title>
<style>
body {
margin: 0;
padding: 0;
background: #000;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.splash {
text-align: center;
color: #fff;
}
.logo {
width: 120px;
height: 120px;
margin-bottom: 20px;
animation: pulse 2s ease-in-out infinite;
}
.title {
font-size: 24px;
font-weight: 600;
margin: 0 0 8px 0;
}
.subtitle {
font-size: 14px;
color: #999;
margin: 0;
}
@keyframes pulse {
0%, 100% { transform: scale(1); opacity: 1; }
50% { transform: scale(1.05); opacity: 0.8; }
}
@keyframes spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.spinner {
width: 40px;
height: 40px;
border: 3px solid rgba(255, 255, 255, 0.1);
border-top-color: #ff0000;
border-radius: 50%;
animation: spin 1s linear infinite;
margin: 20px auto 0;
}
</style>
</head>
<body>
<div class="splash">
<svg class="logo" viewBox="0 0 512 512">
<rect width="512" height="512" rx="96" fill="#1a1a1a"/>
<circle cx="256" cy="256" r="180" fill="#ff0000"/>
<path d="M200 140 L380 256 L200 372 Z" fill="white"/>
</svg>
<h1 class="title">KV-Tube</h1>
<p class="subtitle">Loading your videos...</p>
<div class="spinner"></div>
</div>
<script>
// Redirect to main app after a short delay
setTimeout(() => {
window.location.href = '/';
}, 1500);
</script>
</body>
</html>