-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdig-search.html
More file actions
57 lines (57 loc) · 2.21 KB
/
Copy pathdig-search.html
File metadata and controls
57 lines (57 loc) · 2.21 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
47
48
49
50
51
52
53
54
55
56
57
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="robots" content="noindex">
<meta name="app-version" content="__APP_VERSION__">
<title>DIG Search</title>
<link rel="icon" type="image/png" href="src/icons/icon-32.png">
<style>
:root {
--dig-bg: #0b0a12;
--dig-surface: #14111f;
--dig-text: #f5f3fb;
--dig-muted: #b7b0d1;
--dig-accent: #9d6bff;
--dig-accent-2: #ff4de0;
}
@media (prefers-color-scheme: light) {
:root { --dig-bg: #f7f7fb; --dig-surface: #ffffff; --dig-text: #14122b; --dig-muted: #5e5a7c; --dig-accent: #5800D6; --dig-accent-2: #FF00DE; }
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
min-height: 100vh; display: flex; align-items: center; justify-content: center;
background: var(--dig-bg); color: var(--dig-text);
font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
padding: 32px;
}
.loader { text-align: center; }
.spinner {
width: 44px; height: 44px; margin: 0 auto 20px;
border-radius: 50%;
border: 3px solid color-mix(in srgb, var(--dig-accent) 30%, transparent);
border-top-color: var(--dig-accent);
animation: spin 0.8s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
.mark {
display: inline-block; font-size: 22px; margin-bottom: 6px;
background: linear-gradient(120deg, var(--dig-accent), var(--dig-accent-2));
-webkit-background-clip: text; background-clip: text; color: transparent;
}
h1 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
p { font-size: 13px; color: var(--dig-muted); }
</style>
</head>
<body>
<main class="loader" role="status" aria-live="polite" data-testid="dig-search-loader">
<div class="spinner" aria-hidden="true"></div>
<span class="mark" aria-hidden="true">◈</span>
<h1>Resolving on the DIG Network…</h1>
<p id="digSearchQuery"></p>
</main>
<script type="module" src="/src/entries/dig-search.ts"></script>
</body>
</html>