Updated
This commit is contained in:
76
index.html
76
index.html
@@ -15,12 +15,88 @@
|
||||
<link rel="icon" type="image/png" sizes="192x192" href="assets/radioplayer-logo-192.png">
|
||||
<link rel="icon" type="image/png" sizes="512x512" href="assets/radioplayer-logo-512.png">
|
||||
<link rel="apple-touch-icon" href="assets/radioplayer-logo-192.png">
|
||||
<style>
|
||||
html, body {
|
||||
margin: 0;
|
||||
min-height: 100%;
|
||||
background: #111318;
|
||||
}
|
||||
|
||||
#app-loading {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 2147483647;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
padding: 24px;
|
||||
color: #f7f8fb;
|
||||
background:
|
||||
radial-gradient(circle at 18% 8%, rgba(77, 215, 200, 0.24), transparent 34%),
|
||||
radial-gradient(circle at 86% 82%, rgba(255, 180, 92, 0.2), transparent 32%),
|
||||
linear-gradient(180deg, #111318 0%, #101218 58%, #111821 100%);
|
||||
}
|
||||
|
||||
.app-loading-card {
|
||||
display: grid;
|
||||
justify-items: center;
|
||||
gap: 14px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.app-loading-logo {
|
||||
width: 92px;
|
||||
height: 92px;
|
||||
border-radius: 24px;
|
||||
box-shadow: 0 20px 48px rgba(0, 0, 0, 0.38);
|
||||
}
|
||||
|
||||
.app-loading-title {
|
||||
font: 800 1.2rem/1.1 Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
|
||||
letter-spacing: 0.01em;
|
||||
}
|
||||
|
||||
.app-loading-subtitle {
|
||||
color: rgba(247, 248, 251, 0.72);
|
||||
font: 600 0.88rem/1.4 Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
|
||||
}
|
||||
|
||||
.app-loading-bar {
|
||||
width: min(220px, 68vw);
|
||||
height: 6px;
|
||||
overflow: hidden;
|
||||
border-radius: 999px;
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
}
|
||||
|
||||
.app-loading-bar::before {
|
||||
content: "";
|
||||
display: block;
|
||||
width: 42%;
|
||||
height: 100%;
|
||||
border-radius: inherit;
|
||||
background: linear-gradient(90deg, #4dd7c8, #8fb3ff);
|
||||
animation: app-loading-slide 1.1s ease-in-out infinite alternate;
|
||||
}
|
||||
|
||||
@keyframes app-loading-slide {
|
||||
from { transform: translateX(-18%); }
|
||||
to { transform: translateX(118%); }
|
||||
}
|
||||
</style>
|
||||
<!-- Google Cast Web Sender SDK -->
|
||||
<script src="https://www.gstatic.com/cv/js/sender/v1/cast_sender.js?loadCastFramework=1"></script>
|
||||
<script src="/src/main.jsx" defer type="module"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="app-loading" role="status" aria-live="polite" aria-label="Loading RadioPlayer">
|
||||
<div class="app-loading-card">
|
||||
<img class="app-loading-logo" src="assets/radioplayer-logo-192.png" alt="RadioPlayer" />
|
||||
<div class="app-loading-title">RadioPlayer</div>
|
||||
<div class="app-loading-subtitle">Loading your stations...</div>
|
||||
<div class="app-loading-bar" aria-hidden="true"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="root"></div>
|
||||
</body>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user