93 lines
3.2 KiB
HTML
93 lines
3.2 KiB
HTML
|
|
<!DOCTYPE html>
|
|
<html lang="ru" class="dark">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Книжная полка</title>
|
|
<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&family=Noto+Sans:wght@400;500;600;700&display=swap" rel="stylesheet" />
|
|
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap" rel="stylesheet" />
|
|
<script src="https://cdn.tailwindcss.com?plugins=forms,container-queries"></script>
|
|
<script>
|
|
tailwind.config = {
|
|
darkMode: "class",
|
|
theme: {
|
|
extend: {
|
|
colors: {
|
|
"primary": "#17cf54",
|
|
"background-light": "#f6f8f6",
|
|
"background-dark": "#112116",
|
|
"surface-dark": "#1a3222",
|
|
"border-dark": "#346544",
|
|
"surface-highlight": "#244730",
|
|
"card-dark": "#1a3023",
|
|
"text-muted": "#93c8a5",
|
|
},
|
|
fontFamily: {
|
|
"display": ["Inter", "Noto Sans", "sans-serif"]
|
|
},
|
|
borderRadius: {
|
|
"DEFAULT": "0.25rem",
|
|
"lg": "0.5rem",
|
|
"xl": "0.75rem",
|
|
"2xl": "1rem",
|
|
"full": "9999px"
|
|
},
|
|
animation: {
|
|
'scan': 'scan 2.5s ease-in-out infinite',
|
|
},
|
|
keyframes: {
|
|
scan: {
|
|
'0%, 100%': { transform: 'translateY(-100%)' },
|
|
'50%': { transform: 'translateY(100%)' },
|
|
}
|
|
}
|
|
},
|
|
},
|
|
}
|
|
</script>
|
|
<style>
|
|
::-webkit-scrollbar {
|
|
width: 4px;
|
|
}
|
|
::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
::-webkit-scrollbar-thumb {
|
|
background: #346544;
|
|
border-radius: 4px;
|
|
}
|
|
.no-scrollbar::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
.no-scrollbar {
|
|
-ms-overflow-style: none;
|
|
scrollbar-width: none;
|
|
}
|
|
.glass-nav {
|
|
background: rgba(17, 33, 22, 0.85);
|
|
backdrop-filter: blur(12px);
|
|
-webkit-backdrop-filter: blur(12px);
|
|
border-top: 1px solid rgba(255, 255, 255, 0.05);
|
|
}
|
|
</style>
|
|
<script type="importmap">
|
|
{
|
|
"imports": {
|
|
"react/": "https://esm.sh/react@^19.2.4/",
|
|
"react": "https://esm.sh/react@^19.2.4",
|
|
"react-dom/": "https://esm.sh/react-dom@^19.2.4/",
|
|
"@google/genai": "https://esm.sh/@google/genai@^1.39.0"
|
|
}
|
|
}
|
|
</script>
|
|
<link rel="stylesheet" href="/index.css">
|
|
</head>
|
|
<body class="bg-background-dark font-display text-white antialiased">
|
|
<div id="root"></div>
|
|
<script type="module" src="/index.tsx"></script>
|
|
</body>
|
|
</html>
|