feat(ui): link the source repository from the footer
The repository is public now. The site's claim is that every miner is derived from public block headers with no registration and no opt-in; the code doing the deriving being readable is the other half of that, so it belongs beside the caveats rather than nowhere. Its own line under them, not a fourth item in the `space-between` flow, which would strand a short line against a long one — and it is a different kind of statement from the three above: where to go and check the numbers, not a caveat about them. Opens in its own tab so the WebSocket behind the page keeps its connection. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Jp6a8EDar9ueEhAxzep4V5
This commit is contained in:
@@ -252,6 +252,22 @@ export default function App() {
|
||||
is the only identity the chain itself asserts. An <code>elsewhere</code> tag means the
|
||||
name was earned by the same reward preimage on another chain, not observed on this one.
|
||||
</span>
|
||||
<span className="colophon">
|
||||
{/* Its own line rather than a fourth item in the `space-between`
|
||||
flow: the three above are caveats about the numbers, this is
|
||||
where to go and check them. Opens in a tab of its own so the
|
||||
socket behind this page keeps its connection. */}
|
||||
Every number here is derived from public block headers, and the code that derives them is
|
||||
public too —{' '}
|
||||
<a
|
||||
href="https://git.lair.cafe/quantus/blackbeard.observer"
|
||||
target="_blank"
|
||||
rel="noreferrer noopener"
|
||||
>
|
||||
git.lair.cafe/quantus/blackbeard.observer
|
||||
</a>
|
||||
.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
)
|
||||
|
||||
@@ -935,6 +935,20 @@ tr.mine .share-bar > i {
|
||||
text-underline-offset: 3px;
|
||||
}
|
||||
|
||||
.footer a:hover {
|
||||
color: var(--data-bright);
|
||||
}
|
||||
|
||||
/* The source link, on its own line under the caveats. `flex-basis: 100%` rather
|
||||
than a fourth flex item: `space-between` would otherwise strand a short line
|
||||
against a long one, and this is a different kind of statement from the
|
||||
three above it — where to check the numbers, not a caveat about them. */
|
||||
.colophon {
|
||||
flex-basis: 100%;
|
||||
padding-top: 14px;
|
||||
border-top: var(--rule);
|
||||
}
|
||||
|
||||
/* Wide content scrolls inside its own box; the page never scrolls sideways. */
|
||||
.scroll-x {
|
||||
overflow-x: auto;
|
||||
|
||||
Reference in New Issue
Block a user