forked from
microcosm.blue/microcosm-rs
Constellation, Spacedust, Slingshot, UFOs: atproto crates and services for microcosm
1pub const INDEX_HTML: &str = r#"<!doctype html>
2<html lang="en">
3 <head>
4 <meta charset="utf-8" />
5 <title>UFOs API documentation</title>
6 <meta name="viewport" content="width=device-width, initial-scale=1" />
7 <meta name="description" content="API Documentation for UFOs: Samples and stats for all atproto lexicons." />
8 <style>
9 .custom-header {
10 height: 42px;
11 background-color: #221828;
12 box-shadow: inset 0 -1px 0 var(--scalar-border-color);
13 color: var(--scalar-color-1);
14 font-size: var(--scalar-font-size-3);
15 font-family: 'Iowan Old Style', 'Palatino Linotype', 'URW Palladio L', P052, serif;
16 padding: 0 18px;
17 justify-content: space-between;
18 }
19 .custom-header,
20 .custom-header nav {
21 display: flex;
22 align-items: center;
23 gap: 18px;
24 }
25 .custom-header a:hover {
26 color: var(--scalar-color-2);
27 }
28 </style>
29 </head>
30 <body>
31 <header class="custom-header scalar-app">
32 <p>
33 <a href="https://ufos.microcosm.blue">Launch 🛸 UFOs app</a>: Explore lexicons
34 </p>
35 <nav>
36 <b>a <a href="https://microcosm.blue">microcosm</a> project</b>
37 <a href="https://bsky.app/profile/microcosm.blue">@microcosm.blue</a>
38 <a href="https://github.com/at-microcosm">github</a>
39 </nav>
40 </header>
41
42 <script id="api-reference" type="application/json" data-url="/openapi""></script>
43
44 <script>
45 var configuration = {
46 theme: 'purple',
47 }
48 document.getElementById('api-reference').dataset.configuration = JSON.stringify(configuration)
49 </script>
50
51 <script src="https://cdn.jsdelivr.net/npm/@scalar/api-reference"></script>
52 </body>
53</html>
54"#;