diff --git a/src/components/RoadmapRoute.astro b/src/components/RoadmapRoute.astro index b456547..1270ba2 100644 --- a/src/components/RoadmapRoute.astro +++ b/src/components/RoadmapRoute.astro @@ -46,26 +46,15 @@ function trailingLine(item: RoadmapItemWithAttribution): string | null { return null; } -// Progress dots — between 2 and 6, scaling with item count. -const progressDots = Math.max(2, Math.min(6, Math.ceil(items.length / 2))); - -// JSON-stringified ids for the nav script's initial-scroll logic. -const itemXByIndex = layout.itemX; -const initialShippingX = lastShippingIndex >= 0 ? itemXByIndex[lastShippingIndex] : 0; +// Stringified x position of the 'you are here' milestone for the +// initial-scroll logic in the nav script. -1 → 0 (no scroll offset). +const initialShippingX = lastShippingIndex >= 0 ? layout.itemX[lastShippingIndex] : 0; ---
- +
-
-

The route

-
    -
  • Shipping
  • -
  • In beta
  • -
  • Exploring
  • -
  • Considering
  • -
-
+

The route

- -