system-copyright-react/index.html

36 lines
1.0 KiB
HTML
Raw Normal View History

2024-03-11 19:13:42 +08:00
<!doctype html>
<html lang="en">
2025-05-07 14:25:17 +08:00
<head>
<meta charset="UTF-8" />
2025-05-08 16:25:17 +08:00
<!-- <link rel="icon" id="logo" type="image/svg+xml" href="/miao.svg" /> -->
2025-05-07 14:25:17 +08:00
<link rel="icon" id="logo" type="image/svg+xml" href="/miao.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="fonts/font-awesome/css/font-awesome.css" />
<title id="page-title">AI喵著</title>
</head>
2025-05-08 16:25:17 +08:00
<script type="module">
2025-05-07 14:25:17 +08:00
const titleElement = document.getElementById('page-title');
if (titleElement) {
2025-05-08 16:25:17 +08:00
if (THEME === 'fzkj') {
titleElement.textContent = '珐著科技';
2025-05-07 14:25:17 +08:00
} else if (THEME === 'mzw') {
titleElement.textContent = 'AI喵著';
}
}
const logoElement = document.getElementById('logo');
if (logoElement) {
2025-05-08 16:25:17 +08:00
if (THEME === 'fzkj') {
logoElement.href = '/fzkj.svg';
2025-05-07 14:25:17 +08:00
} else if (THEME ==='mzw') {
logoElement.href = '/miao.svg';
}
}
2025-05-08 16:25:17 +08:00
</script>
2025-05-07 14:25:17 +08:00
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>