From dcafa3d4e06f2be2d2a1029a7f3b502b899fb995 Mon Sep 17 00:00:00 2001 From: Meyanis95 Date: Mon, 15 Jun 2026 10:10:04 -0400 Subject: [PATCH] fix: interactive map URL fix --- astro.config.mjs | 3 +++ src/pages/explore/browse.astro | 2 +- src/pages/explore/tree.astro | 2 +- src/pages/{explore/galaxy.astro => map.astro} | 14 +++++++------- 4 files changed, 12 insertions(+), 9 deletions(-) rename src/pages/{explore/galaxy.astro => map.astro} (82%) diff --git a/astro.config.mjs b/astro.config.mjs index 795c01c..fd041b7 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -16,6 +16,9 @@ export default defineConfig({ // Legacy Jekyll URLs (permalink: /:title/, slug from filename) → new // title-derived slugs under /blog/. Keeps inbound links alive post-migration. redirects: { + // Galaxy explorer view relocated from /explore/galaxy/ to /map/. + '/explore/galaxy/': '/map/', + '/map/tree/': '/map/', '/cypherpunk-institutional-privacy': '/blog/cypherpunk-x-institutional-privacy/', '/building-private-bonds-on-ethereum': '/blog/building-private-bonds-on-ethereum/', '/public-rails-vs-private-ledgers': '/blog/public-rails-vs-private-ledgers/', diff --git a/src/pages/explore/browse.astro b/src/pages/explore/browse.astro index 0258da1..530b3fd 100644 --- a/src/pages/explore/browse.astro +++ b/src/pages/explore/browse.astro @@ -30,7 +30,7 @@ const description =
diff --git a/src/pages/explore/tree.astro b/src/pages/explore/tree.astro index e15fe2a..6ec932f 100644 --- a/src/pages/explore/tree.astro +++ b/src/pages/explore/tree.astro @@ -29,7 +29,7 @@ const description =
diff --git a/src/pages/explore/galaxy.astro b/src/pages/map.astro similarity index 82% rename from src/pages/explore/galaxy.astro rename to src/pages/map.astro index 1cb26eb..f040f0c 100644 --- a/src/pages/explore/galaxy.astro +++ b/src/pages/map.astro @@ -1,13 +1,13 @@ --- /* - * /explore/galaxy/ — full-viewport d3 force graph of all 135 nodes. + * /map/ — full-viewport d3 force graph of all 135 nodes. * React island, light theme. Uses our NavBar but the canvas spans - * full width below it. + * full width below it. (Formerly /explore/galaxy/; redirected in astro.config.) */ -import BaseLayout from '../../layouts/BaseLayout.astro'; -import PageHeader from '../../components/PageHeader.astro'; -import { Galaxy } from '../../components/explore/Galaxy'; -import graphData from '../../data/graph.json'; +import BaseLayout from '../layouts/BaseLayout.astro'; +import PageHeader from '../components/PageHeader.astro'; +import { Galaxy } from '../components/explore/Galaxy'; +import graphData from '../data/graph.json'; const description = 'Force-directed map of every entry on the site. Drag, zoom, click to drill into any node: patterns, approaches, vendors, use cases, jurisdictions.'; @@ -34,7 +34,7 @@ const description =