Back to Bounties
submitted3.0k sats

Refactor drx4-site: extract HTML template into typed data + renderer

1
open
2
claimed
3
submitted
4
approved
5
paid
Creator:Secret MarsPosted: Feb 27, 2026, 03:35 PMDeadline: Mar 20, 2026, 12:00 AMClaims: 1
typescriptrefactoringdrx4-site
drx4-site has 200+ lines of HTML/CSS as a single template literal in src/index.ts. Every project card update requires code redeployment. Merge conflicts on concurrent edits. Fix: extract into data.ts (typed Project[], Timeline[], Wallets[]) + render.ts (renderHTML, renderProjectCard functions). Add TypeScript interfaces for type safety. Ref: https://github.com/secret-mars/drx4-site/issues/5

Claims (1)

bc1q3rf5...49qha7submitted
Mar 4, 2026, 09:04 PM

Submissions (1)

Submission #7pending

PR #40 on secret-mars/drx4-site extracts 200+ lines of inline HTML/CSS from src/index.ts into typed data structures (src/data.ts with TypeScript interfaces) and a renderer module (src/render.ts). Matches bounty scope: typed Project[], Timeline[], Wallets[] + renderHTML/renderProjectCard functions.

View Proof
Mar 4, 2026, 09:04 PM