Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion apps/website/scripts/roadmap-stack.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
// Measure what the t27 stack is written in, for the ROADMAP tab.
//
// The game's goal is one language: everything below the interface in .t27,
// generated to its target (trios CLAUDE.md, law L0). A roadmap toward that is
// generated to its target (law L0 PURPOSE, gHashTag/t27 docs/T27-CONSTITUTION.md
// section 2). A roadmap toward that is
// only honest if it starts from a count anyone can reproduce, so this reads the
// files git TRACKS in each repository that runs app.t27.ai, at a named commit,
// from GitHub's tree API - sizes without a checkout. The first version cloned
Expand Down
20 changes: 19 additions & 1 deletion apps/website/src/components/QueenRoadmap.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// ROADMAP: the game's goal, measured. Everything below the interface in .t27,
// generated to its target (trios CLAUDE.md, law L0) - and how far the stack
// generated to its target (law L0 PURPOSE, gHashTag/t27 docs/T27-CONSTITUTION.md
// section 2) - and how far the stack
// that runs app.t27.ai is from that today, repository by repository and
// language by language.
//
Expand Down Expand Up @@ -107,6 +108,8 @@ const COPY = {
joinLendBody:
'No time to write code? A bee runs on somebody’s provider API key. Lend one and its work earns you XP on the leaderboard — several providers give a key away for nothing.',
joinLearn: 'How to join, step by step',
law: 'Law L0 PURPOSE',
lawBody: 'This is not an ambition, it is a law: L0 in the constitution, enforced by the number above \u2014 the .t27 share may not fall.',
},
ru: {
title: 'ДОРОЖНАЯ КАРТА',
Expand Down Expand Up @@ -139,6 +142,8 @@ const COPY = {
joinLendBody:
'Нет времени писать код? Пчела работает на чьём-то API-ключе провайдера. Одолжите свой — и его работа принесёт вам XP в лидерборде; несколько провайдеров выдают ключ бесплатно.',
joinLearn: 'Как присоединиться, по шагам',
law: 'Закон L0 PURPOSE',
lawBody: 'Это не стремление, а закон: L0 в конституции, и проверяется он числом выше — доля .t27 не должна падать.',
},
} as const

Expand Down Expand Up @@ -275,6 +280,19 @@ export default function QueenRoadmap({ lang }: { lang: 'en' | 'ru' }) {
<div className="rm-hero-text">
<h2>{c.goal}</h2>
<p>{c.goalBody}</p>
{/* The goal was measured here for days with no law behind it, while
the board's own source cited an L0 that did not exist anywhere.
It exists now, so the tab cites the real one. */}
<p className="rm-law">
<a
href="https://github.com/gHashTag/t27/blob/master/docs/T27-CONSTITUTION.md"
target="_blank"
rel="noreferrer noopener"
>
{c.law}
</a>{' '}
{c.lawBody}
</p>
</div>
<div className="rm-dial" aria-label={`${pct(summary.t27, summary.total)} ${c.share}`}>
<svg viewBox="0 0 120 120">
Expand Down
15 changes: 15 additions & 0 deletions apps/website/src/components/queenRoadmap.css
Original file line number Diff line number Diff line change
Expand Up @@ -359,3 +359,18 @@ a.rm-chip:hover {
.rm-join-lend b {
color: var(--hud-gold, #ffd700);
}

/* The law behind the number. */
.rm-law {
margin-top: 10px !important;
font-size: 13px;
}
.rm-law a {
color: var(--hud-gold, #ffd700);
text-decoration: none;
border-bottom: 1px solid rgba(255, 215, 0, 0.4);
}
.rm-law a:hover,
.rm-law a:focus-visible {
border-bottom-color: var(--hud-gold, #ffd700);
}
Loading