thp/doc-generator/static/index.html

65 lines
2.0 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="/tailwind/output.css" rel="stylesheet">
<link href="/styles/global.css" rel="stylesheet" />
<title>Misti</title>
<!-- Google fonts - Inter -->
<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@100;300;400;500;700&display=swap" rel="stylesheet">
<style>
html {
font-size: 20px;
}
:root {
--js-color: #FFE70B;
--dark-color: #0f0f0f;
}
body ::selection {
background-color: var(--js-color);
color: var(--dark-color);
}
@media (prefers-color-scheme: light) {
body ::selection {
color: var(--js-color);
background-color: var(--dark-color);
}
}
</style>
</head>
<body>
<div class="text-center">
<div class="py-12 flex justify-center">
<img src="/svg/logo_color.svg" alt="Misti logo" height="200" />
</div>
<h2 class="text-xl px-2">
<b>A type-safe, consistent, compiled language for JS</b>
</h2>
<!-- Demo code -->
<div class="px-4">
<!-- TODO: add colors from variables -->
<a class="inline-block py-1 px-4 my-1 mx-2 border-js-color bg-bg-color text-main-color hover:text-dark-color hover:bg-js-color border-2 rounded-full cursor-pointer select-none">
Learn
</a>
<a class="inline-block py-1 px-4 my-1 mx-2 border-js-color bg-bg-color text-main-color hover:text-dark-color hover:bg-js-color border-2 rounded-full cursor-pointer select-none">
API
</a>
</div>
</div>
</body>
</html>