Commit graph

3169 commits

Author SHA1 Message Date
Vinta Chen
1c5fc41aec
docs: remove website preview workflow from AGENTS.md
Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 22:19:19 +08:00
Vinta Chen
1b5ba66cf3
Merge branch 'fix/minor-fixes' 2026-10-21 20:39:18 +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
b7964918f3
docs: add website change preview rule to AGENTS.md
Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 20:15:55 +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
7ebd061a78
feat: render build date as ISO 8601 in home, sponsorship, and llms.txt
Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 19:59:57 +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
d4a49e5f88
Merge branch 'fix/hero-content-height' 2026-10-21 16:42:48 +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
a566befbbf
Merge branch 'fix/sponsor-copy-voice' 2026-10-21 16:38:39 +08:00
Vinta Chen
e0dd1e7ca4
docs: tighten sponsor copy in README, SPONSORSHIP.md, and sponsorship page
The sponsor copy bolded two phrases in the README call to action, repeated tier prices already in the tier headings, repeated one phrase across three Content tiers, and had a double "or" in the Duration line.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 16:37:36 +08:00
Vinta Chen
66085e2c41
Merge branch 'fix/small-a11y-polish' 2026-10-21 16:36:41 +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
ebdda1367c
fix: keep the UTM label on one line in its code chip
The inline code in the sponsorship UTM note broke across lines at 1280px.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 16:36:33 +08:00
Vinta Chen
725ca68968
Merge branch 'fix/sponsor-utm-note' 2026-10-21 16:28:45 +08:00
Vinta Chen
6769bc86bb
feat(website): tell sponsors about UTM tags on the sponsorship page
SPONSORSHIP.md tells sponsors their links carry UTM tags, but the /sponsorship/ page, which mirrors it, left that out.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 16:28:44 +08:00
Vinta Chen
63fea39971
Merge branch 'fix/tier-price-lining-figures' 2026-10-21 16:27:34 +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
f2ab09891d
Merge branch 'fix/sponsorship-funnel' 2026-10-21 09:09:32 +08:00
Vinta Chen
786ebb4c78
feat(website): show the sponsor band on category pages
The sponsor band rendered only on the homepage, so visitors who entered on a category page and never opened the homepage saw no sponsors. Category, subcategory, group, and Stdlib pages now show the same band between the hero and the table.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 09:09:22 +08:00
Vinta Chen
45ad644f1b
refactor(website): move the sponsor band into a template partial
The sponsor band markup lived inline in index.html, so another page could show it only by copying the markup. The rendered homepage is byte-identical.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 09:09:22 +08:00
Vinta Chen
636584efd2
feat: include a small logo in the Featured sponsor tier
Featured cost $200/month, about twice Indie Dev's $99, yet offered the same text-only README entry and website link, leaving little visible reason to pick it over Indie Dev. Featured now includes a small logo next to its README entry and a logo on the website, and the Get Started content list asks Featured sponsors for a logo.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 09:09:22 +08:00
Vinta Chen
69d35b2462
feat: tag sponsor links with UTM parameters
Sponsor links carried no UTM tags, so sponsors saw awesome-python clicks at best as generic referral traffic and could not tell README clicks from website clicks. README sponsor entries now carry utm_source=awesome-python&utm_medium=sponsorship&utm_campaign=sponsor&utm_content=readme, and the website build rewrites utm_content to website for the sponsor band. New sponsor entries in README.md need the same UTM suffix.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 09:09:22 +08:00
Vinta Chen
94f70f8425
feat: show lowest sponsor price and link README CTA to the website
The README sponsor CTA linked to SPONSORSHIP.md, so sponsor-page visits from the README never reached GA4.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 09:09:22 +08:00
Vinta Chen
07c3e3eb4c
feat: add annual sponsorship pricing with 3 months free
Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 09:09:22 +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
13e777b299
Merge branch 'fix/test-git-env' 2026-10-21 09:09:17 +08:00
Vinta Chen
d78d1f1a2f
fix: isolate sitemap lastmod test from inherited GIT_* variables
The test ran git init/add/commit with the inherited environment, so under a git hook or `git rebase --exec` (which set GIT_DIR) it committed fixture commits into the real repository and flipped its core.bare to true.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 09:08:27 +08:00
Vinta Chen
af248d22ce feat: add deepinfer to LLM Serving
Some checks are pending
CI / test (push) Waiting to run
Deploy Website / deploy (push) Waiting to run
Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 08:02:39 +08:00
Vinta Chen
4818b99562
docs: trim DESIGN.md to match the code and drop duplicated rules
Some checks failed
CI / test (push) Has been cancelled
Deploy Website / deploy (push) Has been cancelled
DESIGN.md made claims the code contradicts (project count, radius usage, a blanket !important ban, sponsor band placement), said "the user" for the maintainer, duplicated token values from style.css that can drift, and repeated rules across several sections.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-19 13:25:31 +08:00
Vinta Chen
d4209ed39a
docs: move website design rules into DESIGN.md
Website design rules were duplicated between AGENTS.md and DESIGN.md, and nothing pointed agents to DESIGN.md.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-19 13:17:14 +08:00
Vinta Chen
abb48989d8
docs: refresh AGENTS.md source-of-truth and entry rules wording
AGENTS.md called README.md the single source of content truth though category intros live in website/data/category_intros/, and it repeated wording CONTRIBUTING.md already holds.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-19 13:17:14 +08:00
Vinta Chen
50a304c9aa
refactor: import AGENTS.md from CLAUDE.md as the single instruction file
CLAUDE.md and AGENTS.md were duplicate copies that had to be edited in lockstep and could drift.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-19 13:09:57 +08:00
Vinta Chen
13570f9c23
docs: apply CONTRIBUTING.md when rewording an entry
The instruction to apply CONTRIBUTING.md covered only adding or removing an entry, so agents rewording an existing description skipped its rules, including the description length soft cap.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-19 13:06:47 +08:00
Vinta Chen
abf3019e8f
docs: add soft length cap for entry lines
Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-19 13:02:46 +08:00