Files
lifeforge/client/index.html
2026-06-25 08:54:12 +08:00

89 lines
2.0 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="manifest" href="/manifest.json" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"
/>
<meta name="title" content="LifeForge." />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<link
rel="apple-touch-startup-image"
href="/assets/icons/icon-512x512.png"
sizes="512x512"
/>
<style>
body {
margin: 0;
}
.preloader {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background-color: black;
font-family: 'Inter', sans-serif;
z-index: 9999;
}
.loader {
width: 36px;
height: 36px;
border: 4px solid white;
border-bottom-color: transparent;
border-radius: 50%;
display: inline-block;
box-sizing: border-box;
animation: rotation 1s linear infinite;
}
@keyframes rotation {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.forging-text {
font-size: 1.125rem;
font-weight: 500;
color: white;
}
.dark .preloader {
background-color: var(--color-bg-950);
}
#root {
background-color: white;
color: black;
}
.dark #root {
background-color: var(--color-bg-950);
color: var(--color-bg-50);
}
</style>
</head>
<body>
<div class="preloader">
<span class="loader"></span>
<p class="forging-text">Forging things together...</p>
</div>
<div id="root"></div>
<script type="module" src="/src/index.tsx"></script>
</body>
</html>