mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-26 04:50:36 +03:00
30 lines
962 B
HTML
30 lines
962 B
HTML
<!doctype html>
|
||
<html lang="en">
|
||
<head>
|
||
<meta charset="UTF-8" />
|
||
<link rel="icon" href="/favicon.svg" />
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||
<meta name="theme-color" content="#000000" />
|
||
<meta name="description" content="Веб-приложение для работы с концептуальными схемами" />
|
||
|
||
<title>Концепт Портал</title>
|
||
|
||
<script>
|
||
if (
|
||
localStorage.getItem('darkMode') === 'true' ||
|
||
localStorage.getItem('color-theme') === 'dark' ||
|
||
(!('color-theme' in localStorage) &&
|
||
window.matchMedia('(prefers-color-scheme: dark)').matches)
|
||
) {
|
||
document.documentElement.classList.add('dark');
|
||
} else {
|
||
document.documentElement.classList.remove('dark');
|
||
}
|
||
</script>
|
||
</head>
|
||
<body>
|
||
<div id="root"></div>
|
||
<script type="module" src="/src/main.tsx"></script>
|
||
</body>
|
||
</html>
|