103 lines
3.2 KiB
HTML
103 lines
3.2 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="zh-TW">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
<title>Drama Ling - AI語言學習</title>
|
||
<meta name="description" content="AI驅動的情境式語言學習應用,透過真實對話場景提升語言能力">
|
||
<meta name="keywords" content="語言學習,AI,英語,對話,情境學習">
|
||
<meta name="author" content="Drama Ling Team">
|
||
|
||
<!-- Open Graph / Facebook -->
|
||
<meta property="og:type" content="website">
|
||
<meta property="og:url" content="https://dramaling.com/">
|
||
<meta property="og:title" content="Drama Ling - AI語言學習">
|
||
<meta property="og:description" content="AI驅動的情境式語言學習應用">
|
||
<meta property="og:image" content="/og-image.jpg">
|
||
|
||
<!-- Twitter -->
|
||
<meta property="twitter:card" content="summary_large_image">
|
||
<meta property="twitter:url" content="https://dramaling.com/">
|
||
<meta property="twitter:title" content="Drama Ling - AI語言學習">
|
||
<meta property="twitter:description" content="AI驅動的情境式語言學習應用">
|
||
<meta property="twitter:image" content="/og-image.jpg">
|
||
|
||
<!-- Favicon -->
|
||
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
|
||
<link rel="icon" type="image/png" href="/favicon.png">
|
||
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
|
||
|
||
<!-- Fonts -->
|
||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
|
||
|
||
<!-- Theme Color -->
|
||
<meta name="theme-color" content="#00E5CC">
|
||
<meta name="msapplication-TileColor" content="#00E5CC">
|
||
</head>
|
||
<body>
|
||
<div id="app"></div>
|
||
<script type="module" src="/src/main.ts"></script>
|
||
|
||
<!-- 載入畫面 -->
|
||
<style>
|
||
#loading-screen {
|
||
position: fixed;
|
||
top: 0;
|
||
left: 0;
|
||
width: 100%;
|
||
height: 100%;
|
||
background: #2C3E50;
|
||
display: flex;
|
||
flex-direction: column;
|
||
justify-content: center;
|
||
align-items: center;
|
||
z-index: 9999;
|
||
}
|
||
|
||
.loading-logo {
|
||
width: 80px;
|
||
height: 80px;
|
||
border: 4px solid #34495E;
|
||
border-top: 4px solid #00E5CC;
|
||
border-radius: 50%;
|
||
animation: spin 1s linear infinite;
|
||
margin-bottom: 20px;
|
||
}
|
||
|
||
.loading-text {
|
||
color: #B8BCC8;
|
||
font-family: 'Inter', sans-serif;
|
||
font-size: 16px;
|
||
font-weight: 500;
|
||
}
|
||
|
||
@keyframes spin {
|
||
0% { transform: rotate(0deg); }
|
||
100% { transform: rotate(360deg); }
|
||
}
|
||
</style>
|
||
|
||
<div id="loading-screen">
|
||
<div class="loading-logo"></div>
|
||
<div class="loading-text">Drama Ling 載入中...</div>
|
||
</div>
|
||
|
||
<script>
|
||
// 移除載入畫面
|
||
window.addEventListener('load', function() {
|
||
setTimeout(function() {
|
||
const loadingScreen = document.getElementById('loading-screen');
|
||
if (loadingScreen) {
|
||
loadingScreen.style.opacity = '0';
|
||
loadingScreen.style.transition = 'opacity 0.5s ease';
|
||
setTimeout(function() {
|
||
loadingScreen.remove();
|
||
}, 500);
|
||
}
|
||
}, 500);
|
||
});
|
||
</script>
|
||
</body>
|
||
</html> |