Skip to content

Show the knet1. prefix and share one 24px link target - #26

Merged
RodCor merged 1 commit into
mainfrom
cursor/homepage-followups-89b1
Nov 20, 2026
Merged

RodCor merged 1 commit into
mainfrom
cursor/homepage-followups-89b1

Conversation

@RodCor

@RodCor RodCor commented Nov 20, 2026

Copy link
Copy Markdown
Owner

Follow-ups from #25 (merged as 8a975d2). Copy, claims, figures, and install commands are unchanged. network-diagram.tsx and network-diagram.module.css are untouched.

Why each change

  1. Invite prefix. The sentence ended on the prefix dot, so knet1. read as knet1 plus a period. The token is now <code>knet1.</code>, and the other two step strings and the three commands are byte-identical.
  2. Shared target class. The string inline-flex min-h-[24px] items-center was copied 8 times. It is now .km-text-link-target.
  3. About and contact. Source code, Related projects, and LinkedIn were 20px, 20px, and 18px tall. They use the same utility.

Utility

.km-text-link-target sits in src/app/global.css directly under .km-text-link. Homepage utilities in that file are plain km-* rules (km-text-link, km-button-primary, km-skip-link), so a sibling class is the smallest match. It sets only the three declarations the Tailwind string set:

.km-text-link-target {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
}

.km-text-link stays a color and type rule. Inline prose links, including “Tables and caveats”, stay in normal flow. km-tap would be a new abbreviation this stylesheet does not use. (Judged from the existing km-* rules and the #25 review note.)

Evidence

Captured from npm run build served with npx serve out. Before is 8a975d2. After is this branch. Playwright used system Chrome, deviceScaleFactor: 1, viewport heights 900 and 844, full-page shots, prefers-reduced-motion: reduce. The site’s theme is dark (defaultTheme: "dark", enableSystem: false). Pixel diffs use pixelmatch threshold 0.1 with AA excluded. When the two shots differ in height, the shorter one is padded white to the taller size.

Assets SHA: 571643186a187e97f82608fe7eb644089a6c3454
https://raw.githubusercontent.com/RodCor/kimetsu.dev/571643186a187e97f82608fe7eb644089a6c3454/<file>

Screenshots (measured)

1440 full page: before · after · diff

1440 Network: before · after · diff

1440 about/contact: before · after · diff

390 full page: before · after · diff

390 Network: before · after · diff

390 about/contact: before · after · diff

Pixel diff (measured counts; region names judged from the diff images)

Shot Before After Mismatched pixels
1440 full 1440×3010 1440×3014 11,188 / 4,340,160
1440 Network 1153×1041 1153×1041 322 / 1,200,273
1440 about/contact 673×125 673×129 5,805 / 86,817
390 full 390×5295 390×5299 8,726 / 2,066,610
390 Network 375×1996 375×1996 1,945 / 748,500
390 about/contact 327×173 327×177 4,554 / 57,879

Where the pixels differ:

  • 1440 Network: one box, 76×11, on knet1. The command, the rest of the sentence, the diagram, and “Read the Network guide” match.
  • 390 Network: knet1. (66×11) and the next line of that same Invite sentence (322×14). The monospace token is wider, so the following words move. The section stays 1996px tall, and the commands are outside the diff.
  • About/contact, both widths: the crop grows by 4px. Source code and Related projects go from 20px to 24px tall, which pushes the contact line down 4px. LinkedIn’s own box goes from 18px to 24px. The biography paragraph above the links matches.
  • Full pages: the same two areas, plus the footer shifting down 4px with the taller about block. The bottom 4×full-width band is the white padding from the height delta, not new content. Links that already had a 24px target keep the same measured boxes.

Link boxes at 390 (measured)

Every element with km-text-link-target is 24px tall.

Link Before After
Read the Network guide 153.84×24 153.84×24
All results and methodology → 196.52×24 196.52×24
All installation options → 160.64×24 160.64×24
Source code → 96.08×20 96.08×24
Related projects → 122.17×20 122.17×24
LinkedIn 56.38×18 56.38×24
About 38.64×24 38.64×24
Contact 49.91×24 49.91×24
GitHub 45.11×24 45.11×24
Changelog 67.42×24 67.42×24
For agents 67.19×24 67.19×24

“Tables and caveats” stays km-text-link only (296.08×39 at 390, wrapped prose).

axe-core (measured)

Default axe.run(document): 0 violations at 1440 and at 390, before and after.

Figures and install commands (measured)

Rendered text inside #benchmarks contains 1.77x, 22% to 65%, and about 99% once each, at 1440 and 390, before and after. The static HTML also carries each string a second time inside the React flight payload; that copy is not a second visible render.

#get-started pre is unchanged at both widths:

npm install -g kimetsu-ai
kimetsu setup --host claude-code

The Invite step’s inline code text is knet1. Join and Share commands are unchanged.

Lighthouse mobile (measured)

Lighthouse 13.6.0, mobile form factor, five runs one at a time. Median is the middle value after sorting. The before set includes one slow run (score 89, LCP 3759 ms); the median still uses the third of five.

Score LCP CLS TBT benchmarkIndex
Before median 100 907.8 ms 0 67.5 ms 3823.5
After median 100 906.5 ms 0 68 ms 3755.5

Before runs: 100 / 908 ms / 0 / 81 ms / 3851; 100 / 906 ms / 0 / 49 ms / 3797; 89 / 3759 ms / 0 / 58.5 ms / 3724.5; 100 / 908 ms / 0 / 67.5 ms / 3823.5; 99 / 906 ms / 0 / 96 ms / 3915.

After runs: 100 / 906 ms / 0 / 50.5 ms / 3723.5; 100 / 909 ms / 0 / 76.5 ms / 3654; 100 / 906 ms / 0 / 49 ms / 3855.5; 100 / 909 ms / 0 / 68 ms / 3755.5; 100 / 906 ms / 0 / 68 ms / 3864.

Score, LCP, CLS, and TBT medians match within run noise. benchmarkIndex moved 3823.5 → 3755.5 between the two sets. (Judged: same conclusion as the #25 review; the diff adds no script and the layout shift is the 4px target-size change, with CLS still 0.)

npm run check (measured)

Green on this commit: Biome, tsc --noEmit, 49 tests, and next build (postbuild verified 11 static routes).

Open in Web Open in Cursor 

Wrap the invite prefix in code so its dot stays part of the token, and replace the repeated min-height classes with km-text-link-target, including the about and contact links.

Co-authored-by: Rodrigo <rodrigo.ccordoba@hotmail.com>

@RodCor RodCor left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved at 6353ca5.

  • network-section.tsx:15: <code>knet1.</code> now reads as a token at 390 and 1440, with the sentence period no longer swallowing it. the other copy and the commands are unchanged.
  • global.css:222 .km-text-link-target replaces all 9 repeats. .km-text-link itself is untouched, so prose links stay inline. quick-start keeps its mt-4.
  • about-contact: source code and related projects are 24px, and the shots look the same apart from the height.
  • verify green, axe 0, lighthouse median 100→100, tbt 68→68, cls 0.

fyi, not a change request: the linkedin link at about-contact.tsx:41 sits inside a sentence, so WCAG 2.5.8's inline exception already covered it. inline-flex on a one-word link renders identically, so it's fine to leave.

@RodCor
RodCor marked this pull request as ready for review November 20, 2026 20:20
@RodCor
RodCor merged commit 0cbf027 into main Nov 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants