Commit graph

186 commits

Author SHA1 Message Date
Vinta Chen
f8e618ccae
style: match each hero's bottom gap to its top gap
Some checks are pending
CI / test (push) Waiting to run
Deploy Website / deploy (push) Waiting to run
The heroes ended 38px (home), 59px (category pages), and 80px (sponsorship) below their last line, against 20px above their top bar.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-22 00:13:55 +08:00
Vinta Chen
5ab66e83e8
style: match each section's bottom gap to its top gap
Measured from the section edge to the nearest glyph or filled box, the guide band put 92px under its text against 51px above its heading, the sponsor band 67px against 52px, and the Sponsorship page sections ranged from 69px to 92px under content that sat 68px to 84px below their tops.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-22 00:05:01 +08:00
Vinta Chen
65ce927b80
style: match the contribute section's bottom gap to its top
The space above the label's first line added about 8px to the visible top gap, so the buttons sat closer to the footer than the label sat to the table.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-22 00:01:48 +08:00
Vinta Chen
36a05fc3b7
style: match the gap under the search box to the gap above the table heading
The search box sat 22px above the table while the heading sat 48px below the sponsor band.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 23:58:05 +08:00
Vinta Chen
3efb5a35bf
style: keep the search hint on one line and shorten the homepage table heading
The hint's column capped at 28rem, so "Press / to search. Tags open their category. Click a row for details." wrapped to two lines beside the heading.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 23:56:32 +08:00
Vinta Chen
d87b4601a3
style: list categories down each column in the browse-by-category nav
The grid filled rows left to right, so reading down a column skipped through README order four categories at a time.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 23:53:50 +08:00
Vinta Chen
039769f0f9
style: tighten the gap under the contribute section's label
The label's 1.5rem bottom margin stacked on the section's 1rem grid gap, leaving 51px between "Contribute" and the heading.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 23:52:17 +08:00
Vinta Chen
e11a67638d
style: drop the scroll-in reveal animation from every section
Sections faded and slid in as they scrolled into view, so screenshots and quick scrolls caught the sponsor band and search box half-drawn.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 23:51:21 +08:00
Vinta Chen
6577093a7e
style: shrink the contribute section's top and bottom gaps
The section put 88px above its label and below its buttons; it now uses the page's side gutter like the table and guide sections.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 23:50:08 +08:00
Vinta Chen
d5c61d469b
style: shrink the gaps above the table and the category guide
The table section started 72px below the sponsor band, and a one-line order note sat at the bottom of its grid row beside the two-line search hint, so category pages put 97px above the first text. The guide band put 81px above its heading. Both now use the page's side gutter.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 23:46:14 +08:00
Vinta Chen
3a5af3f87f
style: list stars before the commit time in expanded rows
Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 23:44:32 +08:00
Vinta Chen
a08148a2f2
style: start the commit time on its own line in phone expanded rows
On phones the links line wrapped mid-phrase, splitting "19 hours ago" across two lines after the repository URL.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 23:39:44 +08:00
Vinta Chen
4ea309ff7d
style: render homepage descriptions in the category pages' description row
The homepage printed each description inside its expanded row as .expand-desc, styled apart from the .desc-row that category pages use, so every spacing change to the table had to be tuned twice. The homepage now reveals the same .desc-row while a row is open, so its descriptions take the category pages' 15.2px size, and the .expand-desc markup and styles are gone.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 23:37:37 +08:00
Vinta Chen
7fa386709c
fix: align phone table rows on one left edge
On phones the hidden number column is the first cell, so the name column fell back to the 0.55rem inner padding and names and descriptions sat 4px left of the links line and group headings, which use 0.8rem.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 23:31:25 +08:00
Vinta Chen
540bb66ed6
style: tighten the gaps between a row's name, description, and links
An open row put about 38px between the project name and its description and 10px before its links, and category rows put 26px between name and description, because .table tbody td overrode the zero top padding meant for description and expand rows. The top gap is now about 2px larger than the bottom one, since the bold name's descenders make an equal gap look smaller.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 23:28:59 +08:00
Vinta Chen
f171784d4f
style: give an open row and its expand row one flat background
Each row restarted its own gradient, so the darker bottom of the open row met the lighter top of its expand row and read as a faint border between them.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 23:18:52 +08:00
Vinta Chen
6e9dc809af
fix: drop plural and sort/search hints on single-project category pages
Pages with one project read "Search 1 projects" and told readers to re-sort or search a one-row table.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 23:12:13 +08:00
Vinta Chen
e51b74c03d
fix: show months instead of 0 years for dates under a year old
Commit dates 360-364 days old rendered as "0 years ago".

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 22:32:35 +08:00
Vinta Chen
60d6cd8dd6
style: align sponsor link with its label in the stacked sponsor band
Below 960px the -1rem top margin on the sponsor link, meant for the side-by-side desktop layout, pulled the sponsor name closer to the link than the link sat to its own label, so the link read as part of the sponsor entry.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 20:37:51 +08:00
Vinta Chen
11b72122c5
feat: drop the build date stat from the hero stats lines
The hero "Updated on" stat only restated when the site was last built.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 20:21:48 +08:00
Vinta Chen
28b03ce6b7
fix: stack hero stats on phones instead of running them together
On phones the hero stats ran together as one sentence, breaking wherever space ran out and leaving a "/" dangling at a line end.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 20:17:42 +08:00
Vinta Chen
9d4f372a79
fix: shorten sponsorship email buttons and break address only after @
At phone width the two primary buttons labelled with the full address wrapped over three lines, and the address in the Get started sentence broke at its hyphen.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 20:09:39 +08:00
Vinta Chen
7516a5c4f6
fix: keep each hero stat on one line and read "Updated on"
On phones the ISO date in the hero stat broke at its hyphen.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 20:03:15 +08:00
Vinta Chen
82320c9d23
fix: remove animated sheen from hero background
On narrow phone heroes the sheen, a diagonal light stripe sliding across for 54s after load, rendered as a near-vertical band sweeping sideways that read as a loading or progress bar.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 19:57:47 +08:00
Vinta Chen
19a619ebbb
fix: size the home hero to its content height
The home hero was forced to the full viewport height, opening an empty band between the top bar and the headline whenever its content was shorter than the window and pushing the project table down.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 16:42:35 +08:00
Vinta Chen
15843ae568
fix: use the shared accent focus outline on more links
Sponsorship-page, sponsor band, category, group-page lead, and home hero links fell back to the browser's default focus ring.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 16:36:33 +08:00
Vinta Chen
cf804b5f78
fix: shorten the search placeholder on phones
The full placeholder was cut off on narrow screens, e.g. "Search 529 projects across 74".

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 16:36:33 +08:00
Vinta Chen
85912280e2
style: enlarge back-to-top tap target to 37x36px
The table header's back-to-top button had a 37x20px tap target, below the WCAG 2.2 minimum of 24x24px.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 16:26:27 +08:00
Vinta Chen
766bff0c08
style: set sponsor band apart from the search section and mark names as outbound links
The sponsor band's background faded from --bg-paper-strong to --bg-paper, ending lighter than the page below it, with only a faint bottom border, so the band blended into the search section and read as its intro rather than a sponsor placement; the sponsor name also gave no cue that it links out.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 16:22:57 +08:00
Vinta Chen
2c0145fbbc
style: wrap tier billing line under price and keep amounts with units
The longer billing lines added with the annual prices broke across two or three lines beside the price and split amounts from their units.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 15:51:43 +08:00
Vinta Chen
9b43e6e337
fix: collapse home hero category list into a disclosure on phones
On phones the hero's 74-link category grid was 1,236px tall and pushed the project table down to 2,583px, over three screens.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 15:49:36 +08:00
Vinta Chen
5f2bff2845
fix: show Downloads instead of Stars on narrow screens
Below 960px the table hid the PyPI Downloads column but kept the default downloads sort, so the visible Stars column looked unsorted and the active sort header was not shown or tappable.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 15:49:36 +08:00
Vinta Chen
f45997e386
fix: draw one focus outline on a focused table row
Keyboard focus on a table row drew one box per cell, because the focused row fell back to the browser's default outline and each cell also got an inset accent stripe on its left edge.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 15:49:35 +08:00
Vinta Chen
94126bc6bc
style: tighten sponsorship hero kicker spacing
The sponsorship hero kicker sat farther above the heading than the heading sat above its subtitle, so the label read as detached from the heading it labels.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 15:49:35 +08:00
Vinta Chen
af4f4f8d2f
fix: scale category subtitle margin with the hero heading
The subtitle's fixed top margin did not grow with the fluid h1, so heading descenders crowded the subtitle on category and sponsorship heroes.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 15:49:35 +08:00
Vinta Chen
537aff4a46
style: set sponsorship ledes in Manrope and stack past sponsor names above descriptions
The sponsorship ledes were set in Cormorant Garamond, whose short x-height and thin strokes read poorly across a paragraph, and past sponsor names shared a baseline with Manrope descriptions, where the mismatched x-heights clash.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 15:49:35 +08:00
Vinta Chen
b3b3bc202f
style: raise tier eyebrow and fact labels to text-sm
On the sponsorship page the tier names and fact labels rendered smaller than the "/ month" cadence beneath them, inverting the hierarchy.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 15:49:19 +08:00
Vinta Chen
ede39d7ad1
style: round ad-hoc font sizes into scale tokens
Roughly 20 ad-hoc font-size values rendered near-duplicate sizes 1-2px apart, reading as noise rather than hierarchy, and .hero-category-link rendered below the documented 12px floor.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 15:49:19 +08:00
Vinta Chen
a1f29c58f7
fix: use lining figures for tier prices
Sponsorship tier prices rendered in Cormorant Garamond's default old-style figures, so zeros sat at x-height and the 5 dropped below the baseline, making "$500" hard to read.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 15:49:19 +08:00
Vinta Chen
7e6baa968b
feat(website): send a GA4 event on sponsorship email clicks
Mailto clicks on the sponsorship page leave no page view, so the sponsor funnel ended at the sponsorship page and never showed who went on to email. Each click now sends a sponsor_contact event with a short tier value (headline, featured, indie, or general) rather than the link URL, since GA4 caps event parameter values at 100 characters and the Indie Dev mailto href is 101.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 09:09:21 +08:00
Vinta Chen
3e8c86bac6
Merge pull request #3376 from Aurantium-47/codex/preserve-keyboard-link-navigation
Some checks failed
CI / test (push) Has been cancelled
Deploy Website / deploy (push) Has been cancelled
fix(website): preserve keyboard link activation in project rows
2026-10-17 16:58:56 +08:00
Vinta Chen
1ebff58bf9
feat: link category intro picks to their table rows
Picks in a "How to choose" list were plain text, so a reader had to hunt for the tool's row in the table.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-16 19:45:38 +08:00
Aurantium
1f880e070f
fix(website): preserve keyboard link activation in project rows
Skip anchors in the delegated row key handler, matching the click handler.

Assisted-by: OpenAI Codex <noreply@openai.com>
2026-10-15 03:57:39 -07:00
Vinta Chen
9bfb413748
fix: remove hero fade-in animation that delayed LCP
The hero-rise fade-in started .hero-copy, which holds the LCP <h1>, at opacity 0, and Chrome ignores opacity-0 paints for LCP, delaying it by about 455 ms.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-15 12:43:11 +08:00
Vinta Chen
41d045e1db style: remove max-width from .results-note
Some checks are pending
CI / test (push) Waiting to run
Deploy Website / deploy (push) Waiting to run
`.results-note` carried an inner `max-width: 28rem`, which breaks the rule that `.section-shell` is the only width cap.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-11 09:53:47 +08:00
Vinta Chen
c16dae14ef
feat: show section intro lead on group pages
Group pages showed only tables, so visitors arriving from broad searches like "python ml library" got none of the which-one-to-pick guidance that each section's intro already gives.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-02 19:35:04 +08:00
Vinta Chen
b6748825e6
style: give inline code in intros a chip appearance
Inline code in category intros and guides inherited the body font with no background, so identifiers like INSTALLED_APPS read as ordinary words.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-09-27 15:19:27 +08:00
Vinta Chen
0abd19a99c
fix: number rows in sorted order after a column sort
applyFilters walked the static load-order NodeList, so after sorting by a column header, row numbers kept each row's original load-order position instead of counting 1..n down the sorted table.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-09-27 14:48:02 +08:00
Vinta Chen
77b1b70df5
fix: hide use-case and page tags that repeat the group heading
On section and subcategory pages, every row repeated its use case and current page as tags (and as the label under the name on phones), right under a heading that already said the same thing. They are now hidden in editorial order and shown again when a column sort flattens the groups.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-09-27 02:05:18 +08:00
Vinta Chen
ef00fe3adb
fix: restore hidden group headings when navigating to a jump link
After sorting by a column, or while a search hid a group, category page group headings stayed hidden, so the header's jump links (and any use-case heading link) pointed at a hidden element and did nothing.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-09-27 02:04:41 +08:00