Files
Website/frontend/index.html
T

36 lines
1.2 KiB
HTML

<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="description"
content="AutoLibrary,北京建筑大学图书馆自动化工具。自动预约、多用户管理、定时任务与自动续约,让每一次专注更从容。"
/>
<meta name="theme-color" content="#101b29" />
<link rel="icon" href="/assets/favicon.svg" type="image/svg+xml" />
<script>
try {
const preference = localStorage.getItem('autolibrary-theme') || 'system'
document.documentElement.dataset.theme =
preference === 'system'
? matchMedia('(prefers-color-scheme: dark)').matches
? 'dark'
: 'light'
: preference
} catch {
document.documentElement.dataset.theme = 'dark'
}
</script>
<title>AutoLibrary · 让专注,从容开始</title>
</head>
<body>
<div id="app"></div>
<noscript>
请启用 JavaScript 以使用 AutoLibrary 网站。
<a href="https://gitea.kenanzhu.com/KenanZhu/AutoLibrary/releases">前往 Gitea 下载</a>
</noscript>
<script type="module" src="/src/main.ts"></script>
</body>
</html>