From af35862749803daedfa89056e3d757333138afc7 Mon Sep 17 00:00:00 2001 From: Arlind Ukshini Date: Thu, 23 Apr 2026 12:06:07 +0200 Subject: [PATCH] add welcome dot, card shrunk, topo.paralx., sticky scroll --- CHANGES 2.md | 139 ++++++++++++++++++++++++++++++++++++++ protected/bifrost.js | 146 +++++++++++++++++++++++++++++++++++++++- protected/index.html | 153 +++++++++++++++++++++++++++++++----------- protected/timeline.js | 16 +++++ 4 files changed, 411 insertions(+), 43 deletions(-) create mode 100644 CHANGES 2.md diff --git a/CHANGES 2.md b/CHANGES 2.md new file mode 100644 index 0000000..49d0ace --- /dev/null +++ b/CHANGES 2.md @@ -0,0 +1,139 @@ +# Site update v3 — Welcome dot, smaller cards, parallax topography, sticky scroll, hero polish + +Six changes land together. All in `protected/`. Server-side untouched. + +## Files to replace + +| File | What changed | +|---|---| +| `protected/index.html` | Welcome dot added; card sizes reduced 15%; topography layer added (markup + CSS); hero padding reduced; hero-foot restructured (moved into left column, arrow points down) | +| `protected/timeline.js` | Dot-nav click handler now supports `external-*` targets (Welcome routes back to `/`); `setActiveDot` skips external dots | +| `protected/bifrost.js` | `cellSize` and `targetW` adjusted for the shrunk grid; topography SVG generator + parallax driver added; sticky-scroll velocity damping added for non-pinned scenes | + +## Change-by-change + +### 1. Welcome dot (nav position 1) + +- 8th dot, placed FIRST in the dot-nav (before Timeline). +- On click, navigates to `/` — the entrance page. Since the user's session is still valid, they land on the welcome step with the "Learn more" button. +- **Never shows as active** — even when scrolling `/timeline`, the Welcome dot stays in the default outlined state. It's a navigation link, not a section marker. +- HTML: `