File size: 2,871 Bytes
1ee2bb3
 
 
 
 
5c7eb51
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
79cd0aa
 
 
 
5c7eb51
 
79cd0aa
 
 
 
 
1ee2bb3
 
 
 
 
 
 
 
8f72426
79cd0aa
 
ceee520
a4eeda5
 
 
79cd0aa
95967ab
79cd0aa
a4eeda5
 
 
 
 
1ee2bb3
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
    <!-- viewport-fit=cover lets us reach into the iPhone notch/home-
         indicator gutters via env(safe-area-inset-*).
         interactive-widget=resizes-content makes iOS resize the
         layout viewport when the keyboard opens, so inputs stay
         visible instead of being hidden behind the keyboard. -->
    <meta
      name="viewport"
      content="width=device-width,initial-scale=1.0,viewport-fit=cover,interactive-widget=resizes-content"
    />
    <!-- Theme-color matches the canvas surface in both light + dark so
         the iOS / Android browser chrome blends instead of flashing
         white. Media-queried for prefers-color-scheme. The JS that
         applies stored themes overrides this where needed. -->
    <meta name="theme-color" content="#f6f7fb" media="(prefers-color-scheme: light)" />
    <meta name="theme-color" content="#0b0d12" media="(prefers-color-scheme: dark)" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
    <!-- %APP_TITLE% is substituted by the vite plugin in vite.config.ts:
         the app name under VITE_ANON=1 builds is the neutral codename,
         so the served HTML never carries an identifying title. -->
    <meta name="apple-mobile-web-app-title" content="%APP_TITLE%" />
    <link rel="apple-touch-icon" href="/favicon.svg" />
    <link rel="manifest" href="/manifest.webmanifest" />
    <title>%APP_TITLE%</title>
    <meta
      name="description"
      content="Visual workbench for composing, running, and comparing stochastic computational experiments with full provenance."
    />
    <link rel="preconnect" href="https://fonts.googleapis.com" />
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
    <link
      rel="stylesheet"
      href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap"
    />
  </head>
  <body class="bg-canvas text-ink font-sans antialiased">
    <!-- Apply stored theme before first paint so returning users who
         picked a non-default theme don't see a flash of the light
         default (the light theme IS the :root default, so it needs no
         attribute). %THEME_KEYS% is substituted in vite.config.ts. -->
    <script>
      (function () {
        try {
          var allowed = %THEME_KEYS%;
          var t = localStorage.getItem("quda.theme");
          if (allowed.indexOf(t) !== -1) {
            document.documentElement.dataset.theme = t;
          }
        } catch (_) { /* ignore */ }
      })();
    </script>
    <div id="root"></div>
    <script type="module" src="/src/main.tsx"></script>
  </body>
</html>