mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-07-31 02:10:05 -04:00
Add vote-tally capture and "How a decision gets made" section
- Introduced `capture-vote.mjs` script to capture real voting proposal cards as visual evidence. - Added `VoteEvidence` component to the about page to support the "Democratic" governance claim with verifiable proof from the `/vote` page. - Integrated desktop and mobile screenshot handling, switching via `<picture>` media queries for optimal display. - Updated about page layout to embed the proof next to the assertion, removing redundancy from the feature cards. - Documented implementation details and selection rationale in `marketing-visuals.md`. - Enhanced build scripts and updated image handling to support vote screenshots (WebP format, lazy-loaded).
This commit is contained in:
@@ -41,8 +41,10 @@ const ASSETS = [
|
||||
{key: 'videos/search-demo-dark.mp4', dest: 'videos/search-demo-dark.mp4'},
|
||||
{key: 'images/search-demo-poster-light.jpg', dest: 'images/search-demo-poster-light.jpg'},
|
||||
{key: 'images/search-demo-poster-dark.jpg', dest: 'images/search-demo-poster-dark.jpg'},
|
||||
{key: 'images/vote-tally-light.jpg', dest: 'images/vote-tally-light.jpg'},
|
||||
{key: 'images/vote-tally-dark.jpg', dest: 'images/vote-tally-dark.jpg'},
|
||||
{key: 'images/vote-tally-light.webp', dest: 'images/vote-tally-light.webp'},
|
||||
{key: 'images/vote-tally-dark.webp', dest: 'images/vote-tally-dark.webp'},
|
||||
{key: 'images/vote-tally-light-narrow.webp', dest: 'images/vote-tally-light-narrow.webp'},
|
||||
{key: 'images/vote-tally-dark-narrow.webp', dest: 'images/vote-tally-dark-narrow.webp'},
|
||||
]
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user