Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
46 lines (42 loc) · 3.32 KB
/
Copy pathindex.html
File metadata and controls
46 lines (42 loc) · 3.32 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="icon" type="image/ico" href="/favicon.ico">
<link rel="manifest" href="/site.webmanifest">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap" rel="stylesheet">
<title>Quote Machine</title>
</head>
<body>
<input type="checkbox" class="theme-switch" id="theme-switch" />
<div id="app">
<header>
<h1>Quote Machine</h1>
<button id="random-btn" title="Get a random quote">
<svg width="20" height="20" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill="currentColor"
d="M22.9445 23.477C20.9872 25.2522 18.5489 26.4263 15.9271 26.8561C13.3052 27.2858 10.6134 26.9525 8.1803 25.8968C5.74715 24.8412 3.67793 23.1089 2.22528 20.9114C0.772634 18.714 -0.000595131 16.1465 3.43678e-07 13.5224H2.28099C2.28082 15.7905 2.97436 18.0059 4.27079 19.8783C5.56722 21.7508 7.4061 23.193 9.54664 24.0162C11.6872 24.8394 14.0296 25.0052 16.2672 24.4919C18.5047 23.9785 20.5332 22.81 22.0868 21.1392H18.7725C18.4701 21.1392 18.18 21.0206 17.9661 20.8094C17.7522 20.5982 17.632 20.3118 17.632 20.0131C17.632 19.7145 17.7522 19.4281 17.9661 19.2169C18.18 19.0057 18.4701 18.8871 18.7725 18.8871H24.085C24.3874 18.8871 24.6775 19.0057 24.8914 19.2169C25.1053 19.4281 25.2255 19.7145 25.2255 20.0131V25.254C25.2255 25.5526 25.1053 25.839 24.8914 26.0502C24.6775 26.2614 24.3874 26.3801 24.085 26.3801C23.7825 26.3801 23.4924 26.2614 23.2785 26.0502C23.0646 25.839 22.9445 25.5526 22.9445 25.254V23.4747V23.477ZM5.28505 5.90774H8.59933C8.9018 5.90774 9.19189 6.02638 9.40578 6.23756C9.61966 6.44875 9.73982 6.73517 9.73982 7.03383C9.73982 7.33249 9.61966 7.61891 9.40578 7.83009C9.19189 8.04128 8.9018 8.15992 8.59933 8.15992H3.28462C2.98215 8.15992 2.69206 8.04128 2.47817 7.83009C2.26429 7.61891 2.14413 7.33249 2.14413 7.03383V1.7885C2.14413 1.48984 2.26429 1.20342 2.47817 0.992236C2.69206 0.781053 2.98215 0.662411 3.28462 0.662411C3.5871 0.662411 3.87719 0.781053 4.09107 0.992236C4.30496 1.20342 4.42512 1.48984 4.42512 1.7885V3.56772C6.3821 1.79031 8.8211 0.614268 11.444 0.183322C14.067 -0.247623 16.7603 0.0851919 19.1948 1.1411C21.6292 2.197 23.6995 3.93026 25.1525 6.12905C26.6054 8.32784 27.3782 10.8969 27.3764 13.5224H25.0954C25.0956 11.2539 24.402 9.03825 23.1052 7.16564C21.8085 5.29302 19.9692 3.85075 17.8283 3.02773C15.6874 2.20471 13.3446 2.03932 11.1068 2.55321C8.86908 3.06711 6.84068 4.23633 5.28733 5.90774H5.28505Z" />
</svg>
<p>Random</p>
</button>
<label title="Switch theme" for="theme-switch" class="switch-label"></label>
</header>
<main>
<figure>
<blockquote id="quote">
<p>Loading a great quote...</p>
</blockquote>
<figcaption id="author">
</figcaption>
</figure>
</main>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>