const LANDING_HTML: &str = r#"<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>unlit3d</title>
<style>
:root {
color-scheme: dark;
}
html,
body {
margin: 0;
padding: 0;
background: #101014;
color: #e8e8ee;
font-family: system-ui, sans-serif;
}
main {
max-width: 40rem;
margin: 0 auto;
padding: 4rem 1.5rem;
}
h1 {
margin: 0 0 0.5rem;
font-size: 2rem;
}
p.lede {
margin: 0 0 2.5rem;
color: #a0a0b0;
}
ul {
list-style: none;
margin: 0;
padding: 0;
display: grid;
gap: 1rem;
}
li a {
display: block;
padding: 1.25rem 1.5rem;
border: 1px solid #2a2a34;
border-radius: 0.75rem;
background: #16161c;
color: inherit;
text-decoration: none;
}
li a:hover {
border-color: #4a4a5a;
background: #1c1c24;
}
li strong {
display: block;
margin-bottom: 0.25rem;
font-size: 1.1rem;
}
li span {
color: #a0a0b0;
font-size: 0.95rem;
}
</style>
</head>
<body>
<main>
<h1>unlit3d</h1>
<p class="lede">A compact, opinionated 3D rendering library for WebGPU and WebGL2, with simple diffuse lighting and a multi-world runtime beside it.</p>
<ul>
{{cards}} <li>
<a href="./{{docs}}/index.html"><strong>API docs</strong></a>
<span>The workspace's rustdoc, built from the latest commit.</span>
</li>
</ul>
</main>
</body>
</html>
"#;Expand description
The site’s landing page: what the examples are, and where the docs are.