mirror of
https://github.com/bitbaum/substrata.git
synced 2026-12-04 04:07:32 +01:00
Material page (/resources/[slug]), one anatomy for every resource: at-a-glance tiles (world production and year, top producer and share, HHI with its method, exporters restricting it), production by country as a chartkit BarChart over the ranking table, reserves vs production as two ShareBars, year-over-year, the bottlenecks it holds up, export restrictions grouped by measure kind with counts, then each country as a <details> row (count and newest date in the summary; the top five open on desktop, all closed on a phone), events, sources. Country page (/world/[iso2]) through EntityProfile with country modules: header with roles as one scrolling row, at-a-glance tiles, what it produces as bars of world share (drawn against the whole world, so 1.6% looks like 1.6%), companies, rules, restrictions, events, related, discussion. /world?country=xx redirects there; the country entity links there. The Niger rule: a headline or a produces chart never leads with a share under 1% or a rank past 10th; those go under "Also produces, small shares". A measured uranium table (World Nuclear Association, fetched by scripts/research/wna-uranium.py into research/wna-uranium.json, joined like EIA) makes Niger read uranium first, 8th in the world. chartkit BarChart gains `max`, the value a full bar stands for. check:places-layout measures the four pages at 320/390/1440, light and dark, with chatkit's broken-word audit and chartkit's chart audit. Claude-Session: https://claude.ai/code/session_018WZnBnaLP6RhwFkLxRTKgE Co-authored-by: Claude <noreply@anthropic.com>