A releases manifest renders as a download card, the device's file first
A kind: url resource whose JSON is a releases manifest - latest, versions newest first with per-platform assets, channels such as a package repo or TestFlight - is one card: the newest version, the file for the visitor's own platform (read from the browser on hydration; the server renders every file), the Linux package repo lines beside a Linux file, TestFlight for iPhones and Macs, and the rest folded under "All downloads". Decided by shape, as every resource is; written for redoal's public releases at dl.redoal.com. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5.1
parent
22d086f9e1
commit
268d545843
@@ -1294,6 +1294,12 @@ textarea:focus {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* A releases manifest: the pick for this device, the rest folded. */
|
||||
.releases .pill { display: inline-block; }
|
||||
.releases pre { white-space: pre-wrap; font-size: 0.85rem; margin: 0.4rem 0 0; }
|
||||
.releases-all summary { color: var(--ink-dim); font-size: 0.9rem; cursor: pointer; }
|
||||
.releases-all ul { margin: 0.4rem 0 0 1rem; font-size: 0.9rem; }
|
||||
|
||||
.show-older:hover {
|
||||
color: inherit;
|
||||
border-color: var(--ink-dim);
|
||||
|
||||
Reference in New Issue
Block a user