-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
92 lines (91 loc) · 3.32 KB
/
index.html
File metadata and controls
92 lines (91 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Drift - Spectral Geolocation</title>
<!-- Set base to the subfolder for GitHub Pages deployment -->
<base href="/drift/">
<script>
// Global variable for application use
window.BASE_PATH = 'https://shawngraham.github.io/drift';
</script>
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,700;1,400&family=Special+Elite&display=swap" rel="stylesheet">
<style>
body {
background-color: #050505;
color: #d1d1d1;
margin: 0;
overflow: hidden;
font-family: 'Crimson Text', serif;
}
.crt-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
background-size: 100% 2px, 3px 100%;
pointer-events: none;
z-index: 100;
}
.noise-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0.05;
pointer-events: none;
z-index: 101;
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3%3Ffilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}
@keyframes scanline {
0% { transform: translateY(0); }
100% { transform: translateY(100vh); }
}
.scanline {
width: 100%;
height: 100px;
z-index: 102;
background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(0, 0, 0, 0) 100%);
opacity: 0.1;
position: absolute;
bottom: 100%;
animation: scanline 10s linear infinite;
}
.custom-scrollbar::-webkit-scrollbar {
width: 4px;
}
.custom-scrollbar::-webkit-scrollbar-track {
background: rgba(0, 255, 65, 0.05);
}
.custom-scrollbar::-webkit-scrollbar-thumb {
background: rgba(0, 255, 65, 0.2);
}
</style>
<script type="importmap">
{
"imports": {
"@huggingface/transformers": "https://esm.sh/@huggingface/transformers@3.3.3",
"d3": "https://esm.sh/d3@^7.9.0",
"react-dom": "https://esm.sh/react-dom@^19.2.4",
"react-dom/client": "https://esm.sh/react-dom@^19.2.4/client",
"react": "https://esm.sh/react@^19.2.4",
"react/": "https://esm.sh/react@^19.2.4/",
"react-dom/": "https://esm.sh/react-dom@^19.2.4/"
}
}
</script>
</head>
<body>
<div id="root"></div>
<div class="crt-overlay"></div>
<div class="noise-overlay"></div>
<div class="scanline"></div>
<!-- Entry Point - resolves relative to base href -->
<script type="module" src="./index.tsx"></script>
</body>
</html>