aboutsummaryrefslogtreecommitdiff
path: root/public/index.html
blob: 9bda0733f518250e4d664c09427c558fc1fd548f (plain)
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
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="color-scheme" content="dark">
  <title>pathways</title>
  <link rel="stylesheet" href="/app.css?v=60">
</head>
<body>
  <main id="stage">
    <div id="world"></div>
    <div id="import-state" hidden>
      <h1>pathways<span class="dot">.</span></h1>
      <p>your library is empty &mdash; add some photos to begin.</p>
      <label id="import" for="file">
        <svg viewBox="0 0 24 24" aria-hidden="true">
          <path d="M12 16V4m0 0L7.5 8.5M12 4l4.5 4.5M4 16v2.5A1.5 1.5 0 0 0 5.5 20h13a1.5 1.5 0 0 0 1.5-1.5V16"/>
        </svg>
        <span>import photos</span>
      </label>
      <p id="direct-hint" class="direct-hint" hidden>upload slow? use the direct link <a id="direct-link" href="#"></a></p>
    </div>
  </main>
  <input id="file" type="file" accept="image/jpeg,image/png,image/webp" multiple>
  <div id="drop"><span>drop photos to import</span></div>
  <div id="progress" hidden>
    <div id="progress-track"><div id="progress-fill"></div></div>
    <span id="progress-text"></span>
  </div>
  <div id="toast" role="status" aria-live="polite"></div>
  <script src="/app.js?v=60"></script>
</body>
</html>