thp/doc-generator/static/index.html

85 lines
2.4 KiB
HTML
Raw Normal View History

2023-03-27 15:08:00 +00:00
<!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">
2023-03-27 20:22:09 +00:00
<link href="/styles/global.css" rel="stylesheet" />
2023-03-27 15:08:00 +00:00
<title>Misti</title>
2023-03-27 20:22:09 +00:00
<!-- 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;
2023-03-27 20:22:09 +00:00
background-color: var(--js-color);
}
</style>
2023-03-27 15:08:00 +00:00
</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.
2023-03-27 20:22:09 +00:00
</h2>
<p class="p-4" style="color: #ffdf90;">
Misti is <i>yet another</i> programming language that compiles to <b>JavaScript</b>.
</p>
2023-03-27 20:22:09 +00:00
<!-- 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
2023-03-27 20:22:09 +00:00
</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/"
>
2023-03-27 20:22:09 +00:00
API
</a>
</div>
2023-03-27 20:22:09 +00:00
</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>
2023-03-27 15:08:00 +00:00
</body>
</html>