Files
lms-fe/src/renderer/public/splash.html
T

135 lines
3.3 KiB
HTML

<!doctype html>
<html>
<head>
<meta charset="UTF-8" />
<style>
html,
body {
margin: 0;
width: 100%;
height: 100%;
overflow: hidden;
background: #ffffff;
font-family: NanumSquare, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.splash {
position: relative;
width: 100vw;
height: 100vh;
background: #ffffff;
-webkit-app-region: drag;
}
.splash-image {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
user-select: none;
-webkit-user-drag: none;
}
.brand-logo {
position: absolute;
top: 116px;
left: calc(50% - 3px);
z-index: 1;
width: 80px;
height: 70px;
transform: translateX(-50%);
object-fit: contain;
user-select: none;
-webkit-user-drag: none;
}
.brand-copy {
position: absolute;
top: 187px;
left: 50%;
z-index: 1;
width: 290px;
transform: translateX(-50%);
text-align: center;
}
.brand-title {
color: #252d39;
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
font-size: 32px;
font-weight: 400;
line-height: 1;
letter-spacing: 6px;
text-indent: 6px;
}
.brand-subtitle {
margin-top: 9px;
color: #7a8495;
font-size: 12px;
font-weight: 400;
line-height: 1.2;
letter-spacing: 0;
}
.loading {
position: absolute;
right: 26px;
bottom: 20px;
z-index: 2;
color: #64738a;
text-shadow: 0 1px 10px rgba(255, 255, 255, 0.24);
font-size: 12px;
font-weight: 400;
letter-spacing: 0.3px;
}
.copyright {
position: absolute;
bottom: 20px;
left: 20px;
z-index: 2;
color: #7a8495;
text-shadow: 0 1px 8px rgba(255, 255, 255, 0.2);
font-size: 11px;
font-weight: 400;
letter-spacing: 0.2px;
}
</style>
</head>
<body>
<div class="splash">
<img class="splash-image" src="./assets/splash.png" alt="" />
<img class="brand-logo" src="./assets/splash-logo.png" alt="" />
<div class="brand-copy">
<div class="brand-title">LMS</div>
<div class="brand-subtitle">Learning Management System</div>
</div>
<div class="copyright">© 2026 Autonomy Studio. All rights reserved.</div>
<div class="loading" id="loading-text">학습 환경 준비 중...</div>
</div>
<script>
const el = document.getElementById('loading-text')
const translations = {
'학습 환경 준비 중...': 'Preparing your learning environment...',
'로그인 세션 확인 중...': 'Checking your session...',
'강좌 정보 불러오는 중...': 'Loading courses...',
'커리큘럼 및 플랫폼 정보 가져오는 중...': 'Loading curriculum and platforms...'
}
let language = 'ko'
try {
language = localStorage.getItem('autonomy-studio.lms.language') === 'en' ? 'en' : 'ko'
} catch {}
document.documentElement.lang = language
window.setSplashStatus = (message) => {
if (typeof message === 'string' && message.trim()) {
el.textContent = language === 'en' ? (translations[message] ?? message) : message
}
}
window.setSplashStatus(el.textContent)
</script>
</body>
</html>