aboutsummaryrefslogtreecommitdiffstats
path: root/thallium-frontend/index.html
blob: ed77f19358fe39eee50fc472b83af56ddee2905d (plain) (blame)
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
<!doctype html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <link rel="icon" type="image/svg+xml" href="/icon.svg" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>Thallium</title>
</head>

<body>
  <div id="root"></div>
  <script type="module" src="/src/main.tsx"></script>
  <noscript>
    <div class="noscript-container">
      <h1>Hi, we've noticed you're browsing with JavaScript disabled.</h1>
      <p>We are sorry, but we do not support this at the time.</p>
      <p>Please enable JavaScript to use our site.</p>
    </div>
    <style>
      body {
        font-family: "Source Code Pro", monospace;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
        margin: 0;
      }

      .noscript-container {
        margin: 0 1rem;
      }

      h1 {
        font-size: 2rem;
        margin: 0;
      }

      p {
        font-size: 1rem;
        margin: 0;
      }

      @media (prefers-color-scheme: dark) {
        body {
          background-color: #333;
          color: #fff;
        }
      }
    </style>
  </noscript>
</body>

</html>