feat: implement site variant support and enhance SEO with dynamic meta tags

This commit is contained in:
2026-08-20 18:51:50 +08:00
parent d892c9751b
commit 4f702493cf
18 changed files with 506 additions and 57 deletions
+1 -1
View File
@@ -260,7 +260,7 @@ function setupInfraGlobe(): void {
async function mountGlobeWhenReady(container: HTMLElement, canvasMount: HTMLElement): Promise<void> {
const snapshot = await infraSnapshotPromise;
if (!snapshot.regionBreakdown.length) return;
if (!snapshot.regionBreakdown.length && !snapshot.nodes.length && !snapshot.nodeLocations.length) return;
const { mountGlobe } = await import("./globe");
container.classList.add("has-live");
mountGlobe(canvasMount, snapshot);