docs: restore long-term Strategy and separate six-month horizons
This commit is contained in:
1 parent
a283d6a34a
commit
e96e780beb
41 files changed
+558
-293
No files matched your search
@@ -1,4 +1,4 @@
|
||||
// Caption the retained optional target without changing its native topology.
|
||||
// Caption the long-term target without changing its native topology.
|
||||
// Text lives inside the SVG so standalone exports retain proposal/line semantics.
|
||||
export function targetCaption(html) {
|
||||
const roots = [...html.matchAll(/<svg\b[^>]*role="img"[^>]*>/g)];
|
||||
@@ -8,7 +8,7 @@ export function targetCaption(html) {
|
||||
if (!match) throw new Error('Target caption requires viewBox');
|
||||
const [x,y,w,h] = match[1].trim().split(/\s+/).map(Number);
|
||||
const size = Math.min(26, w / 30);
|
||||
const lines = ['Proposed optional target — not a six-month commitment',
|
||||
const lines = ['Long-term Target — not a six-month commitment',
|
||||
'Solid: lifecycle · Dotted: execution / governance', 'Dashed: human-controlled contributions'];
|
||||
const extra = size * 5;
|
||||
const caption = `<g id="eldorado-target-caption" aria-label="Proposed target legend">${lines.map((line,i) => `<text x="${x+20}" y="${y+h+size*(1.2+i*1.3)}" font-family="Arial, sans-serif" font-size="${size}" style="font-size:${size}px!important" class="t-primary">${line}</text>`).join('')}</g>`;
|
||||
|
||||
Reference in new issue
Block a user