Update index.html

This commit is contained in:
thehrz 2023-06-26 11:08:21 +08:00
parent 7a0f325071
commit f2b0431dc6
No known key found for this signature in database
GPG Key ID: 683658B4CAC43158
2 changed files with 24 additions and 26 deletions

View File

@ -1,7 +1,6 @@
<!DOCTYPE html>
<html lang="en">
<head>
<html lang="zh">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="apple-touch-icon" href="/pwa-192x192.png" />
@ -15,13 +14,12 @@
const setting = localStorage.getItem('vueuse-color-scheme') || 'auto'
if (setting === 'dark' || (prefersDark && setting !== 'light'))
document.documentElement.classList.toggle('dark', true)
})()
})()
</script>
</head>
</head>
<body class="font-sans">
<body class="font-sans">
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</body>
</html>

View File

@ -2,7 +2,7 @@
useHead({
title: '合肥市南园学校19预科2班',
meta: [
{ name: 'description', content: '合肥市南园学校19预科2班纪念项目' },
{ name: 'description', content: '合肥市南园学校19预科2班纪念项目' },
{
name: 'theme-color',
content: computed(() => isDark.value ? '#00aba9' : '#ffffff'),