Skip to content

feat(videos): cycle icons match connect.dimagi.com 'click a step' graphic#455

Merged
jjackson merged 1 commit into
mainfrom
feat/cycle-icons-from-connect-svgs
May 19, 2026
Merged

feat(videos): cycle icons match connect.dimagi.com 'click a step' graphic#455
jjackson merged 1 commit into
mainfrom
feat/cycle-icons-from-connect-svgs

Conversation

@jjackson
Copy link
Copy Markdown
Owner

Summary

Earlier (#451) I grabbed the wrong cycle assets — the prelogin homepage's animated marketing gifs (busy training-photo loops), when the user was pointing at the clean glyph icons on the same homepage's "click a step to see its detail" graphic.

Fix: inline SVG glyphs matching that graphic exactly, with two visual states per step.

Step Brand color Glyph
Learn #16006D (deep navy) laptop / screen with three text lines + stand legs
Deliver #5D70D2 (lavender blue) heart + cross
Verify #FC5F36 (orange) shield + checkmark
Pay #1B998B (teal) $

Each step renders both states from the same SVG:

  • Active — filled circle in BRAND, glyph stroked in white
  • Passive — white circle outlined in BRAND, glyph stroked in BRAND

Inlining the SVG path data (vs. loading via <Img> from public/) keeps zero asset-load risk for this template element. Also drops @remotion/gif which we no longer need.

The narration-keyword sync from #451 is unchanged — for the chc spec the highlight walks Learn → Deliver → Verify → Pay in time with the words.

Verified

Frame extraction from a fresh chc/run-001 render:

  • t=5s — Learn filled, others outlined
  • t=7s — Verify filled
  • t=11s — Pay filled

Level-1 QA probe still reports 14 ok / 0 warn / 0 fail.

🤖 Generated with Claude Code

…phic

Earlier (#451) I grabbed the wrong assets — the prelogin homepage's
animated marketing gifs (learn/deliver/verify/pay.gif), which were
busy training-photo loops rather than the clean glyph icons on the
"click a step to see its detail" graphic on the same homepage.

Replace them with inline SVG glyphs that match the prelogin homepage
exactly:

  - Learn:    laptop / screen glyph, brand #16006D (deep navy)
  - Deliver:  heart + cross (care), brand #5D70D2 (lavender blue)
  - Verify:   shield + checkmark,    brand #FC5F36 (orange)
  - Pay:      $ sign,                brand #1B998B (teal)

Each step renders two states from the same SVG:

  active   = filled circle in BRAND, glyph stroked in white
  passive  = white circle outlined in BRAND, glyph stroked in BRAND

Inlining the SVG path data (vs. loading from public/) means the
renderer has zero asset-load risk for this template element — bake
once, render everywhere. Also drops the @remotion/gif dep we no
longer need.

The narration-keyword sync from #451 is unchanged — for the chc spec
("Frontline Workers learn, deliver, verify — and get paid the moment
delivery confirms.") the highlight walks Learn → Deliver → Verify
→ Pay in time with the words. Verified by frame extraction:

  - t=5s  → Learn  filled
  - t=7s  → Verify filled (mid-beat, "verify" already past)
  - t=11s → Pay    filled

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@jjackson jjackson merged commit d22cee8 into main May 19, 2026
3 checks passed
@jjackson jjackson deleted the feat/cycle-icons-from-connect-svgs branch May 19, 2026 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant