chore: strip the comments this branch added

Removes every comment introduced on this branch: website/ in full, pages.yml
in full, and only the blocks added to ci.yml and release.yml — their
pre-existing comments are untouched.

Two directives survive because they are load-bearing rather than prose: the
triple-slash vite/client reference, and nothing else.

Two comments were carrying behaviour that the code did not state, so the
code now states it. useCopy's rejection handler clears the copied flag
instead of sitting empty, and writeTheme returns whether the write actually
landed instead of swallowing the failure in a bare catch. isExternal drops
its regex for two startsWith calls, which reads the same and no longer
hides a `//` inside a literal.
This commit is contained in:
Michel de Graaf
2026-07-25 01:29:55 +02:00
parent ba92e75fd3
commit c2dd227cee
45 changed files with 20 additions and 518 deletions
-3
View File
@@ -251,9 +251,6 @@ export const Community = () => {
</Button>
</div>
</div>
{/* Raised, not panel: this section is a band, which is itself
bg-panel — a panel-on-panel callout has only a 1.36:1 hairline
holding it together. */}
<Callout className="bg-raised" title="two things that stay true">
<p className="mb-1.5 !text-success">No telemetry. Ever.</p>
<p className="font-forum text-xs !text-muted">
-15
View File
@@ -59,14 +59,6 @@ const PANES: readonly { num?: number; title: string; body: string }[] = [
},
]
/*
* The keycap's heavier bottom edge is a shadow, not a thicker bottom border.
*
* A 2px border on one side of a rounded box thins out as it turns the corner,
* so the edge tapers exactly where a real keycap looks solid. An unblurred
* 1px shadow sits under the full curve instead, which is the look the design
* system's `.key` rule is after.
*/
const KeyRow = ({ combo, description }: { combo: string; description: string }) => (
<div className="grid grid-cols-[120px_1fr] items-baseline gap-3 border-b border-hairline py-[7px]">
<span>
@@ -204,13 +196,6 @@ export const Docs = () => {
</Section>
<Section band>
{/*
The only Panel on a band. Two consequences, both handled here:
its default bg-panel fill would match the band exactly, so it takes
bg-raised like the band callouts do; and the legend paints over the
top border to punch the gap, so it has to match the surface *behind*
the panel — the band — not the panel's own fill. See panel.tsx.
*/}
<Panel title="the rest" className="bg-raised [&>span]:bg-panel">
<Cols center className="gap-6">
<Prose>
-14
View File
@@ -104,9 +104,6 @@ export const Home = () => {
<section className="pt-5 pb-8 sm:pt-7 sm:pb-10">
<Wrap>
<div className="flex flex-col gap-[22px]">
{/* Eyebrow and sub are desktop-only: on a phone the headline and
the CTA should be all that stands between the top of the page
and the terminal. */}
<Eyebrow className="max-md:hidden">Soulseek client · terminal · Rust</Eyebrow>
<div className="flex items-start gap-3.5 sm:gap-6 md:gap-11">
<Logo size={172} className="mt-2 max-md:!h-28 max-sm:!h-16" />
@@ -139,11 +136,6 @@ export const Home = () => {
<section className="border-t border-hairline py-6">
<Wrap>
{/*
Three layouts, narrowest first: under 520px the labels drop and it
becomes a centred row of icons; up to 820px each platform is a
full-width stacked row; above that they sit inline, rule-separated.
*/}
<div className="flex flex-wrap items-center gap-3.5 sm:gap-8">
<Eyebrow className="max-[519px]:hidden">Runs on</Eyebrow>
<ul className="flex w-full flex-nowrap justify-center min-[520px]:flex-wrap min-[520px]:justify-start sm:w-auto">
@@ -230,12 +222,6 @@ export const Home = () => {
shell, so the same client works for scripting, cron jobs, and agents driving it
programmatically.
</SectionHead>
{/*
Three up, not four, with search spanning two of them: it's the thing
the client is for, and eight cards at identical weight said the
opposite. Eight items plus that one double = nine cells, so the grid
still comes out square.
*/}
<div className="grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3">
{FEATURES.map((feature, i) => (
<FeatureCard
-10
View File
@@ -22,7 +22,6 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
Ok(())
}`
// LIB_SRC carries no comment lines, so every line is plain code.
const LIB_LINES: TermLine[] = LIB_SRC.split('\n').map((text) => ({
t: 'code' as const,
text,
@@ -255,12 +254,6 @@ export const Install = () => {
<h3 className="mb-4 text-heading leading-[var(--text-heading--line-height)] font-medium">
{platform.name}
</h3>
{/*
Label beside value while the card is full width, label above it
once the cards go three up: at a third of the row the label
column ate enough of the line that every path broke mid-token
("config.to / ml"). Stacking gives the path the whole card.
*/}
<dl className="grid grid-cols-1 gap-x-3.5 gap-y-0.5 sm:grid-cols-[auto_1fr] sm:gap-y-2 lg:grid-cols-1 lg:gap-y-0.5">
{(
[
@@ -339,9 +332,6 @@ export const Install = () => {
/>
</Cols>
<div className="mt-5">
{/* Raised, not panel: this section is a band, which is itself
bg-panel — a panel-on-panel callout has only a 1.36:1 hairline
holding it together. */}
<Callout className="bg-raised" title="two things it will not touch">
<p>
Your downloads and your shared directories are yours: they stay exactly where