lucide/docs/scripts
Eric Fennis 14cab02398
feat(site): Add sponsor page (#5132)
* feat(docs): add sponsor page

Add a /sponsor page to lucide.dev with sponsor tiers, an amount picker,
a sponsor wall and a FAQ.

- Fetch active Open Collective sponsors at build time into
  sponsorsData.json, falling back to an empty list when the API fails
- Group sponsors by monthly amount so the wall keeps working while the
  Open Collective tiers are renamed
- Add reusable SponsorLogoGrid and SponsorAvatars components
- Add general Faq/FaqItem components fed by `faq` frontmatter, which
  also emits FAQPage structured data
- Link the page from the nav, footer and the home page sponsor card

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(docs): add navbar sponsor button, more sponsor stats and tier links

- Replace the Sponsor nav text link with a dedicated heart button in the
  navbar, shown icon-only at tablet widths where the menu is crowded
- Show weekly npm downloads across all Lucide packages and the all-time
  Open Collective sponsor count in the sponsor page hero
- Add tierLinks.ts for direct Open Collective and GitHub Sponsors tier
  checkout links, falling back to the general pages while empty

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(docs): update team member titles and add funding manifest

* update tier links

* Adjust hero

* Add motion counter to hero

* Add custom option

* Add scroll padding

* Fix reduce motion sponsor page

* Refactor sponsor tier links into tier data

Store only the Open Collective tier slug and GitHub Sponsors tier id on
each tier and derive the checkout URLs from them, so amounts are no
longer duplicated in the links. Removes tierLinks.ts and the circular
import between it and tiers.ts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G9u8FefqMHXb8HoeQ8LhcU

* Set transition duration to zero

* Add social links

* Fix stikcybar

* Format code

* Refactor SponsorAmountPicker and SponsorHeroAnimation

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix sponsor animation

* Adjust tiers

* Update readmes

* Update sponsors

* Update sponsors

* Update sponsors

* Update logo gris size

* Add breaking space

* Update logos

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-11-02 12:21:25 +01:00
..
helpers feat(site): Add sponsor page (#5132) 2026-11-02 12:21:25 +01:00
writeBrandStopwords.mts feat(site): Improve search and add sorting options (#4453) 2026-06-13 15:25:41 +02:00
writeCategoriesMetadata.mts feat(site): Improve search and add sorting options (#4453) 2026-06-13 15:25:41 +02:00
writeIconDetails.mts feat(metadata|docs|site): reuse metadata from a base icon with $extends: (#4360) 2026-10-29 17:29:58 +01:00
writeIconMetaIndex.mts feat(metadata|docs|site): reuse metadata from a base icon with $extends: (#4360) 2026-10-29 17:29:58 +01:00
writeIconNodes.mts feat(site): Better icon detail page and add unreleased flag (#4877) 2026-09-18 14:22:47 +02:00
writeiconPopularity.mts chore(dev): upgrade ESLint to latest compatible stack (v10) (#4378) 2026-08-18 13:09:22 +02:00
writeiconPopularityIndex.mts feat(lab): Migrate lab to main repo. (#4521) 2026-07-24 15:05:40 +02:00
writeIconRelatedIcons.mts feat(site): Improve search and add sorting options (#4453) 2026-06-13 15:25:41 +02:00
writeLabIconMetaIndex.mts feat(lab): Migrate lab to main repo. (#4521) 2026-07-24 15:05:40 +02:00
writeLabIconNodes.mts feat(site): Better icon detail page and add unreleased flag (#4877) 2026-09-18 14:22:47 +02:00
writeReleaseMetadata.mts feat(site): Better icon detail page and add unreleased flag (#4877) 2026-09-18 14:22:47 +02:00
writeSponsorsData.mts feat(site): Add sponsor page (#5132) 2026-11-02 12:21:25 +01:00
writeVercelOutput.mts feat(site): Improve search and add sorting options (#4453) 2026-06-13 15:25:41 +02:00