149 lines
3.9 KiB
HTML
149 lines
3.9 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<link rel="icon" type="image/png" href="/ymb-mark-v2.png" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title><%= title %></title>
|
|
</head>
|
|
<body>
|
|
<div id="app">
|
|
<style>
|
|
.app-loading {
|
|
display: flex;
|
|
width: 100%;
|
|
height: 100%;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
color: #f8f1ea;
|
|
background: #100c0a;
|
|
}
|
|
|
|
.app-loading .app-loading-wrap {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
display: flex;
|
|
transform: translate3d(-50%, -50%, 0);
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.app-loading .app-loading-title {
|
|
margin-bottom: 24px;
|
|
text-align: center;
|
|
}
|
|
|
|
.app-loading .app-loading-brand-word {
|
|
margin-top: 2px;
|
|
font-family:
|
|
Inter,
|
|
ui-sans-serif,
|
|
system-ui,
|
|
-apple-system,
|
|
BlinkMacSystemFont,
|
|
sans-serif;
|
|
font-size: 21px;
|
|
font-weight: 800;
|
|
line-height: 1;
|
|
letter-spacing: 0.34em;
|
|
color: transparent;
|
|
text-indent: 0.34em;
|
|
background: linear-gradient(100deg, #ffb21a 0%, #ffd76a 48%, #ff6b4a 100%);
|
|
filter: drop-shadow(0 4px 12px rgb(255 130 55 / 24%));
|
|
animation: ymb-wordmark-breathe 1.8s ease-in-out infinite;
|
|
background-clip: text;
|
|
background-clip: text;
|
|
}
|
|
|
|
.app-loading .app-loading-logo {
|
|
width: 72px;
|
|
margin: 0 auto 15px;
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.app-loading .app-loading-item {
|
|
position: relative;
|
|
display: inline-block;
|
|
width: 72px;
|
|
height: 72px;
|
|
vertical-align: middle;
|
|
border-radius: 50%;
|
|
animation: ymb-loading-pulse 1.4s ease-in-out infinite;
|
|
}
|
|
|
|
.app-loading .app-loading-spinner {
|
|
display: flex;
|
|
width: 72px;
|
|
height: 18px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 7px;
|
|
}
|
|
|
|
.app-loading .app-loading-spinner::before,
|
|
.app-loading .app-loading-spinner::after,
|
|
.app-loading .app-loading-dot {
|
|
width: 8px;
|
|
height: 8px;
|
|
background: #ffb21a;
|
|
border-radius: 50%;
|
|
content: '';
|
|
animation: ymb-loading-dot 1.1s ease-in-out infinite;
|
|
}
|
|
|
|
.app-loading .app-loading-spinner::after {
|
|
animation-delay: 0.18s;
|
|
}
|
|
|
|
.app-loading .app-loading-dot {
|
|
animation-delay: 0.36s;
|
|
}
|
|
|
|
@keyframes ymb-loading-dot {
|
|
0%,
|
|
80%,
|
|
100% {
|
|
opacity: 0.35;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
40% {
|
|
opacity: 1;
|
|
transform: translateY(-5px);
|
|
}
|
|
}
|
|
|
|
@keyframes ymb-wordmark-breathe {
|
|
0%,
|
|
100% {
|
|
opacity: 0.78;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
50% {
|
|
opacity: 1;
|
|
transform: translateY(-1px);
|
|
}
|
|
}
|
|
</style>
|
|
<div class="app-loading">
|
|
<div class="app-loading-wrap">
|
|
<div class="app-loading-title">
|
|
<img src="/ymb-mark-v2.png" class="app-loading-logo" alt="YMB" />
|
|
<div class="app-loading-brand-word">YMB</div>
|
|
</div>
|
|
<div class="app-loading-item">
|
|
<div class="app-loading-spinner" role="status" aria-label="Loading">
|
|
<span class="app-loading-dot"></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script type="module" src="/src/main.ts"></script>
|
|
</body>
|
|
</html>
|