update position page design

This commit is contained in:
2026-08-13 21:41:14 +05:30
parent 6340962907
commit 1c653264b5
124 changed files with 5746 additions and 596 deletions

View File

@@ -47,6 +47,14 @@ export const list = (items, options = {}) =>
items?.filter(Boolean).length && { type: 'list', items: items.filter(Boolean), ...options };
/** Findings. `items: [{ tone, title, body }]` — tone: info|success|warning|risk */
/**
* Findings. `items: [{ title, body, tone?, to?, hint? }]`
*
* `to` makes the card a link into the app — a recommended person opening their
* own record, rather than a name the reader has to go and look up. It is a route
* the app already has; nothing here invents an address, and an item without one
* renders exactly as it always did.
*/
export const insights = (items) =>
items?.filter(Boolean).length && { type: 'insights', items: items.filter(Boolean) };