docs / index.htmlmain at 8463f41
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Docs</title>
<!-- What the app is called and its icon: the mind's sign-in pages show both. -->
<link rel="manifest" href="/manifest.webmanifest" />
<link rel="icon" href="/icon.svg" type="image/svg+xml" />
<!-- iterate's components, pinned to one release of iterate's UI host (the version is a
commit of the branch `dist` of git.iterate.com/repos/ui). To upgrade, change the commit
here, in every line that names it. -->
<script type="importmap">
{
"imports": {
"@iterate-com/ui/": "https://ui.iterate.com/@iterate-com/ui@113924454d6ae84a3194625bd4c88892430fb678/",
"react": "https://ui.iterate.com/@iterate-com/ui@113924454d6ae84a3194625bd4c88892430fb678/react",
"react/": "https://ui.iterate.com/@iterate-com/ui@113924454d6ae84a3194625bd4c88892430fb678/react/",
"react-dom": "https://ui.iterate.com/@iterate-com/ui@113924454d6ae84a3194625bd4c88892430fb678/react-dom",
"react-dom/": "https://ui.iterate.com/@iterate-com/ui@113924454d6ae84a3194625bd4c88892430fb678/react-dom/",
"lucide-react": "https://esm.iterate.com/lucide-react@1.48.0?external=react,react-dom"
}
}
</script>
<!-- THE PAGE'S SESSION, asked for here and not when the app's modules have loaded, which is
a second later: app.js takes the answer (the mind's address) from `__session`. Without
this line the app asks for it itself when it runs. It stands before the stylesheets,
because a script after a stylesheet waits for it. -->
<script>
window.__session = fetch("/.auth/session.json").then((answer) => answer.json());
</script>
<!-- The kit's stylesheet for a page with the docs editor: everything styles.css holds, and
the editor's own classes and its live preview's look. It takes the place of styles.css:
a page links one of the two, never both (the two would disagree about which rule wins). -->
<link
rel="stylesheet"
href="https://ui.iterate.com/@iterate-com/ui@113924454d6ae84a3194625bd4c88892430fb678/docs-editor.css"
/>
<!-- The look of this mind's apps: theme.css of /repos/stdlib, one file for every app. One
line there makes them all dark. shadcn's components also ask for the class `dark`, so the script
puts it on <html> when the file says dark. -->
<link rel="stylesheet" href="/theme.css" />
<script>
if (getComputedStyle(document.documentElement).colorScheme === "dark")
document.documentElement.classList.add("dark");
</script>
<link rel="stylesheet" href="/app.css" />
</head>
<body>
<div id="root"><p class="p-4 text-sm text-muted-foreground">Connecting…</p></div>
<script type="module" src="/app.js"></script>
</body>
</html>