Files
lynq-chat/packages/frontend/index.html
T
2026-03-18 22:42:33 +09:00

77 lines
1.5 KiB
HTML
Executable File

<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>LynqChat</title>
<link rel="icon" href="/lynqchat.svg" type="image/svg+xml">
</head>
<body>
<style>
* {
margin: 0;
padding: 0;
}
html, body {
width: 100vw;
height: 100vh;
font-size: 16px;
background-color: #ffffff;
}
@media (prefers-color-scheme: dark) {
html, body {
background-color: #1b1b1b;
}
}
.loading {
display: flex;
flex-direction: column;
align-items: center;
gap: 1rem;
width: fit-content;
height: fit-content;
position: fixed;
inset: 50%;
transform: translate(-50%, -50%);
}
.logo {
width: 6rem;
height: 6rem;
border-radius: 1rem;
}
.progress {
border: 0.4rem solid #425C97;
border-radius: 100%;
border-top: 0.4rem solid #ffffff;
width: 4rem;
height: 4rem;
animation: spin 1s linear infinite;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
</style>
<div class="loading">
<img
class="logo"
src="/lynqchat.svg"
/>
<div class="progress" />
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>