Spaces:
Running
Running
Deploy SPHEREx Data Explorer (Static)
Browse files- .gitattributes +0 -11
- dome-app.js +19 -4
- explorer.html +53 -37
- index.html +1 -1
- index_1.html +1 -1
- s.py +3 -0
.gitattributes
CHANGED
|
@@ -1,12 +1 @@
|
|
| 1 |
*.fits filter=lfs diff=lfs merge=lfs -text
|
| 2 |
-
Falcon9_SPHEREx_model.glb filter=lfs diff=lfs merge=lfs -text
|
| 3 |
-
hero_full.png filter=lfs diff=lfs merge=lfs -text
|
| 4 |
-
screenshot_dome.png filter=lfs diff=lfs merge=lfs -text
|
| 5 |
-
screenshot_fits_simbad_panel.png filter=lfs diff=lfs merge=lfs -text
|
| 6 |
-
screenshot_fits_viewer.png filter=lfs diff=lfs merge=lfs -text
|
| 7 |
-
screenshot_landing.png filter=lfs diff=lfs merge=lfs -text
|
| 8 |
-
screenshot_pro_workspace.png filter=lfs diff=lfs merge=lfs -text
|
| 9 |
-
test_screen.png filter=lfs diff=lfs merge=lfs -text
|
| 10 |
-
textures/earth_atmos_2048.jpg filter=lfs diff=lfs merge=lfs -text
|
| 11 |
-
textures/earth_clouds_1024.png filter=lfs diff=lfs merge=lfs -text
|
| 12 |
-
textures/earth_specular_2048.jpg filter=lfs diff=lfs merge=lfs -text
|
|
|
|
| 1 |
*.fits filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dome-app.js
CHANGED
|
@@ -192,10 +192,8 @@
|
|
| 192 |
this._raf = global.requestAnimationFrame(tick);
|
| 193 |
};
|
| 194 |
|
| 195 |
-
App.prototype.goTo = function (text) {
|
| 196 |
var self = this, C = global.DomeCoords;
|
| 197 |
-
text = (text || '').trim();
|
| 198 |
-
if (!text) return Promise.resolve({ ok: false, message: 'Type an object name, for example M42.' });
|
| 199 |
|
| 200 |
function show(name, ra, dec) {
|
| 201 |
var aa = C.altAz(ra, dec, self.observer);
|
|
@@ -207,6 +205,21 @@
|
|
| 207 |
return { ok: true, message: 'Showing ' + name + '.' };
|
| 208 |
}
|
| 209 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 210 |
var lower = text.toLowerCase(), known = null;
|
| 211 |
if (lower === 'zenith') {
|
| 212 |
var z = C.worldToRaDec({ x: 0, y: 1, z: 0 }, self.observer);
|
|
@@ -230,7 +243,9 @@
|
|
| 230 |
if (!x.r.ok || !isFinite(j.ra) || !isFinite(j.dec)) return { ok: false, message: 'Could not find \u201c' + text + '\u201d. Try another name, for example M31.' };
|
| 231 |
return show(j.name || text, j.ra, j.dec);
|
| 232 |
})
|
| 233 |
-
.catch(function () {
|
|
|
|
|
|
|
| 234 |
};
|
| 235 |
|
| 236 |
App.prototype._appSurveyFor = function (survey) {
|
|
|
|
| 192 |
this._raf = global.requestAnimationFrame(tick);
|
| 193 |
};
|
| 194 |
|
| 195 |
+
App.prototype.goTo = function (text, maybeDec) {
|
| 196 |
var self = this, C = global.DomeCoords;
|
|
|
|
|
|
|
| 197 |
|
| 198 |
function show(name, ra, dec) {
|
| 199 |
var aa = C.altAz(ra, dec, self.observer);
|
|
|
|
| 205 |
return { ok: true, message: 'Showing ' + name + '.' };
|
| 206 |
}
|
| 207 |
|
| 208 |
+
if (typeof text === 'number' && typeof maybeDec === 'number') {
|
| 209 |
+
return Promise.resolve(show('Position (' + text.toFixed(2) + '°, ' + maybeDec.toFixed(2) + '°)', text, maybeDec));
|
| 210 |
+
}
|
| 211 |
+
|
| 212 |
+
text = (text || '').trim();
|
| 213 |
+
if (!text) return Promise.resolve({ ok: false, message: 'Type an object name, for example M42.' });
|
| 214 |
+
|
| 215 |
+
var numMatch = text.match(/^\s*([+-]?[0-9.]+)\s*[, ]\s*([+-]?[0-9.]+)\s*$/);
|
| 216 |
+
if (numMatch) {
|
| 217 |
+
var nRa = parseFloat(numMatch[1]), nDec = parseFloat(numMatch[2]);
|
| 218 |
+
if (isFinite(nRa) && isFinite(nDec)) {
|
| 219 |
+
return Promise.resolve(show('Position (' + nRa.toFixed(2) + '°, ' + nDec.toFixed(2) + '°)', nRa, nDec));
|
| 220 |
+
}
|
| 221 |
+
}
|
| 222 |
+
|
| 223 |
var lower = text.toLowerCase(), known = null;
|
| 224 |
if (lower === 'zenith') {
|
| 225 |
var z = C.worldToRaDec({ x: 0, y: 1, z: 0 }, self.observer);
|
|
|
|
| 243 |
if (!x.r.ok || !isFinite(j.ra) || !isFinite(j.dec)) return { ok: false, message: 'Could not find \u201c' + text + '\u201d. Try another name, for example M31.' };
|
| 244 |
return show(j.name || text, j.ra, j.dec);
|
| 245 |
})
|
| 246 |
+
.catch(function () {
|
| 247 |
+
return { ok: false, message: 'Name lookup is unavailable right now (it needs the network). Try M42, M31, Sirius or Orion.' };
|
| 248 |
+
});
|
| 249 |
};
|
| 250 |
|
| 251 |
App.prototype._appSurveyFor = function (survey) {
|
explorer.html
CHANGED
|
@@ -28,21 +28,22 @@
|
|
| 28 |
content="Explore NASA's SPHEREx infrared sky survey. Simulated dome sky, multitemporal blink player, and calibrated Level-2 FITS frames.">
|
| 29 |
<meta name="twitter:image" content="https://akshithsurya-spherex-projects.static.hf.space/preview.png">
|
| 30 |
<meta name="theme-color" content="#061522">
|
| 31 |
-
<link rel="icon" type="image/x-icon" href="
|
| 32 |
-
<link rel="icon" type="image/png" sizes="32x32" href="
|
| 33 |
-
<link rel="apple-touch-icon" href="
|
|
|
|
| 34 |
<link rel="stylesheet" href="tokens.css?v=2">
|
| 35 |
<link rel="stylesheet" href="elements.css?v=2">
|
| 36 |
<link rel="stylesheet" href="blink.css?v=1">
|
| 37 |
<link rel="preconnect" href="https://fonts.googleapis.com">
|
| 38 |
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
| 39 |
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
|
| 40 |
-
<link rel="preload" href="
|
| 41 |
-
<link rel="preload" href="
|
| 42 |
-
<link rel="preload" href="
|
| 43 |
-
<link rel="preload" href="
|
| 44 |
-
<link rel="preload" href="
|
| 45 |
-
<link rel="preload" href="
|
| 46 |
<script>
|
| 47 |
(function () {
|
| 48 |
function rewriteSkyUrl(rawUrl) {
|
|
@@ -116,7 +117,7 @@
|
|
| 116 |
};
|
| 117 |
})();
|
| 118 |
</script>
|
| 119 |
-
<script src="
|
| 120 |
<script>
|
| 121 |
if (typeof A === "undefined") {
|
| 122 |
window.addEventListener("DOMContentLoaded", function () {
|
|
@@ -128,9 +129,9 @@
|
|
| 128 |
});
|
| 129 |
}
|
| 130 |
</script>
|
| 131 |
-
<script src="
|
| 132 |
<script>if (!window.THREE) document.write('<script src="https://cdn.jsdelivr.net/npm/three@0.128.0/build/three.min.js"><\/script>');</script>
|
| 133 |
-
<script src="
|
| 134 |
<script>if (!window.THREE || !window.THREE.OrbitControls) document.write('<script src="https://cdn.jsdelivr.net/npm/three@0.128.0/examples/js/controls/OrbitControls.js"><\/script>');</script>
|
| 135 |
</head>
|
| 136 |
|
|
@@ -3089,8 +3090,14 @@
|
|
| 3089 |
{ name: "SEP", type: "Deep Field", ra: 90.0000, dec: -66.5607, desc: "South Ecliptic Pole" },
|
| 3090 |
{ name: "Sirius", type: "Binary Star", ra: 101.2872, dec: -16.7161, desc: "alpha CMa / Dog Star" },
|
| 3091 |
{ name: "Vega", type: "Main Sequence Star", ra: 279.2347, dec: 38.7837, desc: "alpha Lyr" },
|
| 3092 |
-
{ name: "Betelgeuse", type: "Red Supergiant", ra: 88.7929, dec: 7.4071, desc: "alpha Ori" }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3093 |
];
|
|
|
|
| 3094 |
|
| 3095 |
|
| 3096 |
|
|
@@ -11592,20 +11599,31 @@
|
|
| 11592 |
menu.setAttribute("aria-expanded", String(open));
|
| 11593 |
menu.setAttribute("aria-label", open ? "Close file browser" : "Open file browser");
|
| 11594 |
};
|
| 11595 |
-
|
| 11596 |
-
|
| 11597 |
-
|
| 11598 |
-
|
| 11599 |
-
|
| 11600 |
-
|
| 11601 |
-
|
| 11602 |
-
|
| 11603 |
-
|
| 11604 |
-
<
|
| 11605 |
-
|
| 11606 |
-
<script src="
|
| 11607 |
-
<script src="
|
| 11608 |
-
<script
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11609 |
<script>
|
| 11610 |
try {
|
| 11611 |
function initDomeApp() {
|
|
@@ -11681,14 +11699,6 @@
|
|
| 11681 |
if (typeof showBlinkView === "function") {
|
| 11682 |
showBlinkView();
|
| 11683 |
}
|
| 11684 |
-
} else if (viewParam === "dome" || q.get("dome") === "1") {
|
| 11685 |
-
const app = initDomeApp();
|
| 11686 |
-
if (app && typeof showSkyDome === "function") {
|
| 11687 |
-
showSkyDome();
|
| 11688 |
-
if (hasRa && Number.isFinite(raVal) && Number.isFinite(decVal)) {
|
| 11689 |
-
if (typeof app.goTo === "function") app.goTo(`${raVal}, ${decVal}`);
|
| 11690 |
-
}
|
| 11691 |
-
}
|
| 11692 |
} else if (viewParam === "blink") {
|
| 11693 |
if (typeof showBlinkView === "function") {
|
| 11694 |
showBlinkView();
|
|
@@ -11698,13 +11708,13 @@
|
|
| 11698 |
showFitsView();
|
| 11699 |
}
|
| 11700 |
if (fileParam && typeof openFits === "function") {
|
| 11701 |
-
openFits(`
|
| 11702 |
}
|
| 11703 |
} else if (viewParam === "terrain") {
|
| 11704 |
if (typeof showTerrainView === "function") {
|
| 11705 |
showTerrainView();
|
| 11706 |
}
|
| 11707 |
-
} else if (viewParam === "pro" || viewParam === "sky"
|
| 11708 |
if (typeof showSkyMap === "function") {
|
| 11709 |
showSkyMap();
|
| 11710 |
}
|
|
@@ -11721,9 +11731,15 @@
|
|
| 11721 |
handlePanelResolve(targetParam);
|
| 11722 |
}
|
| 11723 |
} else {
|
|
|
|
| 11724 |
const app = initDomeApp();
|
| 11725 |
if (app && typeof showSkyDome === "function") {
|
| 11726 |
showSkyDome();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11727 |
} else if (typeof showSkyMap === "function") {
|
| 11728 |
showSkyMap();
|
| 11729 |
}
|
|
|
|
| 28 |
content="Explore NASA's SPHEREx infrared sky survey. Simulated dome sky, multitemporal blink player, and calibrated Level-2 FITS frames.">
|
| 29 |
<meta name="twitter:image" content="https://akshithsurya-spherex-projects.static.hf.space/preview.png">
|
| 30 |
<meta name="theme-color" content="#061522">
|
| 31 |
+
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
| 32 |
+
<link rel="icon" type="image/png" sizes="32x32" href="logo.png">
|
| 33 |
+
<link rel="apple-touch-icon" href="logo.png">
|
| 34 |
+
<link rel="stylesheet" href="https://aladin.cds.unistra.fr/AladinLite/api/v3/latest/aladin.min.css">
|
| 35 |
<link rel="stylesheet" href="tokens.css?v=2">
|
| 36 |
<link rel="stylesheet" href="elements.css?v=2">
|
| 37 |
<link rel="stylesheet" href="blink.css?v=1">
|
| 38 |
<link rel="preconnect" href="https://fonts.googleapis.com">
|
| 39 |
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
| 40 |
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
|
| 41 |
+
<link rel="preload" href="three.min.js" as="script">
|
| 42 |
+
<link rel="preload" href="sky_layers/manifest.json" as="fetch" crossorigin>
|
| 43 |
+
<link rel="preload" href="sky_layers/2mass-color.jpg?v=182ad422" as="image">
|
| 44 |
+
<link rel="preload" href="sky_layers/dss2-color.jpg?v=94e4afea" as="image">
|
| 45 |
+
<link rel="preload" href="sky_layers/allwise-color.jpg?v=106b34c5" as="image">
|
| 46 |
+
<link rel="preload" href="sky_layers/field_polys.json" as="fetch" crossorigin>
|
| 47 |
<script>
|
| 48 |
(function () {
|
| 49 |
function rewriteSkyUrl(rawUrl) {
|
|
|
|
| 117 |
};
|
| 118 |
})();
|
| 119 |
</script>
|
| 120 |
+
<script src="aladin_v3.js"></script>
|
| 121 |
<script>
|
| 122 |
if (typeof A === "undefined") {
|
| 123 |
window.addEventListener("DOMContentLoaded", function () {
|
|
|
|
| 129 |
});
|
| 130 |
}
|
| 131 |
</script>
|
| 132 |
+
<script src="three.min.js"></script>
|
| 133 |
<script>if (!window.THREE) document.write('<script src="https://cdn.jsdelivr.net/npm/three@0.128.0/build/three.min.js"><\/script>');</script>
|
| 134 |
+
<script src="OrbitControls.js"></script>
|
| 135 |
<script>if (!window.THREE || !window.THREE.OrbitControls) document.write('<script src="https://cdn.jsdelivr.net/npm/three@0.128.0/examples/js/controls/OrbitControls.js"><\/script>');</script>
|
| 136 |
</head>
|
| 137 |
|
|
|
|
| 3090 |
{ name: "SEP", type: "Deep Field", ra: 90.0000, dec: -66.5607, desc: "South Ecliptic Pole" },
|
| 3091 |
{ name: "Sirius", type: "Binary Star", ra: 101.2872, dec: -16.7161, desc: "alpha CMa / Dog Star" },
|
| 3092 |
{ name: "Vega", type: "Main Sequence Star", ra: 279.2347, dec: 38.7837, desc: "alpha Lyr" },
|
| 3093 |
+
{ name: "Betelgeuse", type: "Red Supergiant", ra: 88.7929, dec: 7.4071, desc: "alpha Ori" },
|
| 3094 |
+
{ name: "Barnard's Star", type: "High Proper Motion Red Dwarf", ra: 269.4521, dec: 4.6934, desc: "Barnard's Runaway Star" },
|
| 3095 |
+
{ name: "Epsilon Indi", type: "Binary / Planet Host", ra: 330.8400, dec: -56.7861, desc: "Nearby K-dwarf system" },
|
| 3096 |
+
{ name: "WISE 0855", type: "Brown Dwarf", ra: 133.7862, dec: -7.2444, desc: "Sub-stellar cold brown dwarf" },
|
| 3097 |
+
{ name: "RW Aur", type: "Variable Young Star", ra: 76.9566, dec: 30.4014, desc: "T Tauri binary star" },
|
| 3098 |
+
{ name: "R Dra", type: "Mira Variable", ra: 247.5540, dec: 66.6994, desc: "Pulsating red giant star" }
|
| 3099 |
];
|
| 3100 |
+
window.KNOWN_BENCHMARK_TARGETS = KNOWN_BENCHMARK_TARGETS;
|
| 3101 |
|
| 3102 |
|
| 3103 |
|
|
|
|
| 11599 |
menu.setAttribute("aria-expanded", String(open));
|
| 11600 |
menu.setAttribute("aria-label", open ? "Close file browser" : "Open file browser");
|
| 11601 |
};
|
| 11602 |
+
menu.addEventListener("click", () => setOpen(!document.body.classList.contains("mobileSidebarOpen")));
|
| 11603 |
+
scrim.addEventListener("click", () => setOpen(false));
|
| 11604 |
+
document.addEventListener("keydown", (event) => {
|
| 11605 |
+
if (event.key === "Escape") setOpen(false);
|
| 11606 |
+
});
|
| 11607 |
+
window.matchMedia("(min-width: 701px)").addEventListener("change", () => setOpen(false));
|
| 11608 |
+
})();
|
| 11609 |
+
|
| 11610 |
+
init();
|
| 11611 |
+
</script>
|
| 11612 |
+
|
| 11613 |
+
<script src="dome-coords.js"></script>
|
| 11614 |
+
<script src="dome.js"></script>
|
| 11615 |
+
<script src="dome-look.js"></script>
|
| 11616 |
+
<script src="dome-layers.js"></script>
|
| 11617 |
+
<script src="dome-landscape.js"></script>
|
| 11618 |
+
<script src="app-state.js"></script>
|
| 11619 |
+
<script src="dome-select.js"></script>
|
| 11620 |
+
<script src="dome-grid.js"></script>
|
| 11621 |
+
<script src="dome-share.js"></script>
|
| 11622 |
+
<script src="dome-observer.js"></script>
|
| 11623 |
+
<script src="dome-tour.js"></script>
|
| 11624 |
+
<script src="dome-hud.js"></script>
|
| 11625 |
+
<script src="dome-app.js"></script>
|
| 11626 |
+
<script type="module" src="blink-player.js"></script>
|
| 11627 |
<script>
|
| 11628 |
try {
|
| 11629 |
function initDomeApp() {
|
|
|
|
| 11699 |
if (typeof showBlinkView === "function") {
|
| 11700 |
showBlinkView();
|
| 11701 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11702 |
} else if (viewParam === "blink") {
|
| 11703 |
if (typeof showBlinkView === "function") {
|
| 11704 |
showBlinkView();
|
|
|
|
| 11708 |
showFitsView();
|
| 11709 |
}
|
| 11710 |
if (fileParam && typeof openFits === "function") {
|
| 11711 |
+
openFits(`files/${encodeURIComponent(fileParam)}`, fileParam);
|
| 11712 |
}
|
| 11713 |
} else if (viewParam === "terrain") {
|
| 11714 |
if (typeof showTerrainView === "function") {
|
| 11715 |
showTerrainView();
|
| 11716 |
}
|
| 11717 |
+
} else if (viewParam === "pro" || viewParam === "sky") {
|
| 11718 |
if (typeof showSkyMap === "function") {
|
| 11719 |
showSkyMap();
|
| 11720 |
}
|
|
|
|
| 11731 |
handlePanelResolve(targetParam);
|
| 11732 |
}
|
| 11733 |
} else {
|
| 11734 |
+
// DEFAULT IS THE NORMAL 3D SKY DOME VIEW!
|
| 11735 |
const app = initDomeApp();
|
| 11736 |
if (app && typeof showSkyDome === "function") {
|
| 11737 |
showSkyDome();
|
| 11738 |
+
if (hasRa && Number.isFinite(raVal) && Number.isFinite(decVal)) {
|
| 11739 |
+
if (typeof app.goTo === "function") app.goTo(`${raVal}, ${decVal}`);
|
| 11740 |
+
} else if (targetParam) {
|
| 11741 |
+
if (typeof app.goTo === "function") app.goTo(targetParam);
|
| 11742 |
+
}
|
| 11743 |
} else if (typeof showSkyMap === "function") {
|
| 11744 |
showSkyMap();
|
| 11745 |
}
|
index.html
CHANGED
|
@@ -93,7 +93,7 @@ a.src:hover{color:var(--shield);border-color:var(--rule-2)}
|
|
| 93 |
.sim.ill{background:var(--warn)}
|
| 94 |
|
| 95 |
nav#top{position:fixed;z-index:20;top:env(safe-area-inset-top,0px);left:0;right:0;height:60px;display:flex;align-items:center;gap:18px;padding:0 var(--gr) 0 var(--gl);opacity:0;transform:translateY(-8px);transition:opacity .9s ease,transform .9s ease;pointer-events:none}
|
| 96 |
-
nav#top::before{content:"";position:absolute;inset:0;background:
|
| 97 |
body.live nav#top{opacity:1;transform:none;pointer-events:auto}
|
| 98 |
.brand{font:600 15px/1 var(--sans);font-stretch:112%;text-decoration:none;letter-spacing:.01em;white-space:nowrap}
|
| 99 |
.brand b{font-weight:300}
|
|
|
|
| 93 |
.sim.ill{background:var(--warn)}
|
| 94 |
|
| 95 |
nav#top{position:fixed;z-index:20;top:env(safe-area-inset-top,0px);left:0;right:0;height:60px;display:flex;align-items:center;gap:18px;padding:0 var(--gr) 0 var(--gl);opacity:0;transform:translateY(-8px);transition:opacity .9s ease,transform .9s ease;pointer-events:none}
|
| 96 |
+
nav#top::before{content:"";position:absolute;inset:0;background:rgba(0,0,0,.88);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid rgba(255,255,255,.08);z-index:-1;pointer-events:none}
|
| 97 |
body.live nav#top{opacity:1;transform:none;pointer-events:auto}
|
| 98 |
.brand{font:600 15px/1 var(--sans);font-stretch:112%;text-decoration:none;letter-spacing:.01em;white-space:nowrap}
|
| 99 |
.brand b{font-weight:300}
|
index_1.html
CHANGED
|
@@ -93,7 +93,7 @@ a.src:hover{color:var(--shield);border-color:var(--rule-2)}
|
|
| 93 |
.sim.ill{background:var(--warn)}
|
| 94 |
|
| 95 |
nav#top{position:fixed;z-index:20;top:env(safe-area-inset-top,0px);left:0;right:0;height:60px;display:flex;align-items:center;gap:18px;padding:0 var(--gr) 0 var(--gl);opacity:0;transform:translateY(-8px);transition:opacity .9s ease,transform .9s ease;pointer-events:none}
|
| 96 |
-
nav#top::before{content:"";position:absolute;inset:0;background:
|
| 97 |
body.live nav#top{opacity:1;transform:none;pointer-events:auto}
|
| 98 |
.brand{font:600 15px/1 var(--sans);font-stretch:112%;text-decoration:none;letter-spacing:.01em;white-space:nowrap}
|
| 99 |
.brand b{font-weight:300}
|
|
|
|
| 93 |
.sim.ill{background:var(--warn)}
|
| 94 |
|
| 95 |
nav#top{position:fixed;z-index:20;top:env(safe-area-inset-top,0px);left:0;right:0;height:60px;display:flex;align-items:center;gap:18px;padding:0 var(--gr) 0 var(--gl);opacity:0;transform:translateY(-8px);transition:opacity .9s ease,transform .9s ease;pointer-events:none}
|
| 96 |
+
nav#top::before{content:"";position:absolute;inset:0;background:rgba(0,0,0,.88);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid rgba(255,255,255,.08);z-index:-1;pointer-events:none}
|
| 97 |
body.live nav#top{opacity:1;transform:none;pointer-events:auto}
|
| 98 |
.brand{font:600 15px/1 var(--sans);font-stretch:112%;text-decoration:none;letter-spacing:.01em;white-space:nowrap}
|
| 99 |
.brand b{font-weight:300}
|
s.py
CHANGED
|
@@ -1548,6 +1548,9 @@ class Handler(http.server.BaseHTTPRequestHandler):
|
|
| 1548 |
if path in ("/tokens.css", "/elements.css", "/blink.css"):
|
| 1549 |
self.serve_file(os.path.join(BASE_DIR, path.lstrip("/")), "text/css")
|
| 1550 |
return
|
|
|
|
|
|
|
|
|
|
| 1551 |
if path in ("/aladin_v3.js", "/blink-player.js", "/three.module.js", "/three.min.js"):
|
| 1552 |
self.serve_file(os.path.join(BASE_DIR, path.lstrip("/")), "application/javascript")
|
| 1553 |
return
|
|
|
|
| 1548 |
if path in ("/tokens.css", "/elements.css", "/blink.css"):
|
| 1549 |
self.serve_file(os.path.join(BASE_DIR, path.lstrip("/")), "text/css")
|
| 1550 |
return
|
| 1551 |
+
if path == "/footprints.json":
|
| 1552 |
+
self.serve_file(os.path.join(BASE_DIR, "footprints.json"), "application/json")
|
| 1553 |
+
return
|
| 1554 |
if path in ("/aladin_v3.js", "/blink-player.js", "/three.module.js", "/three.min.js"):
|
| 1555 |
self.serve_file(os.path.join(BASE_DIR, path.lstrip("/")), "application/javascript")
|
| 1556 |
return
|