thp/doc-generator/static/index.html
2023-03-31 18:23:46 -05:00

86 lines
2.5 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" />
<link href="/styles/xcode-colors.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>
<style>
#transition {
width: 100%;
height: 2vh;
background-color: var(--js-color);
}
</style>
</head>
<body>
<!--
<div class="py-6 pt-12 flex justify-center">
<img src="/svg/logo_color.svg" alt="Misti logo" height="200" />
</div>
-->
<div id="greeter" style="background-color: black; color: var(--js-color); min-height: 100vh;">
<h2 class="text-6xl px-4 py-6 font-bold leading-snug">
Typed.
<br>
Expressive.
<br>
Consistent.
<br>
Friendly.
</h2>
<p class="p-4" style="color: #ffdf90;">
Misti is <i>yet another</i> programming language that compiles to <b>JavaScript</b>.
</p>
<!-- Demo code -->
<div class="px-4 py-4">
<a class="inline-block py-4 px-12 my-1 border-2 border-c5-primary
bg-js-color
text-dark-color
rounded-xl cursor-pointer select-none font-medium shadow-md hover:shadow-2xl"
href="/en/docs/latest/"
>
Get started
</a>
<br>
<a class="inline-block py-4 px-12 my-1 border-2 border-c2-primary
bg-c2-primary-container hover:bg-c2-primary
text-c2-on-primary-container hover:text-c2-on-primary
rounded-xl cursor-pointer select-none transition-colors"
href="/en/api/latest/"
>
API
</a>
</div>
</div>
<div id="transition"></div>
<script>
// Inter - Google fonts - load here as to not interrupt the page
const linkEl = document.createElement("link");
linkEl.href = "https://fonts.googleapis.com/css2?family=Inter:wght@100;300;400;500;700&display=swap";
linkEl.rel = "stylesheet";
document.head.appendChild(linkEl);
</script>
</body>
</html>