Skip to content

Commit 79876c0

Browse files
authored
Merge pull request #142 from ncdai/improve/readme
docs(README.md): add React Bits as a sponsor and update individual sp…
2 parents 6c9b577 + be31ecd commit 79876c0

File tree

4 files changed

+55
-41
lines changed

4 files changed

+55
-41
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ This project is proudly supported by:
3838

3939
[![Vercel OSS Program](https://assets.chanhdai.com/images/sponsors/vercel-oss-program-2025.svg?v=2#gh-light-mode-only)](https://vercel.com/blog/summer-2025-oss-program#gh-light-mode-only) [![Vercel OSS Program](https://assets.chanhdai.com/images/sponsors/vercel-oss-program-2025-dark.svg?v=2#gh-dark-mode-only)](https://vercel.com/blog/summer-2025-oss-program#gh-dark-mode-only) [![shadcnstudio.com](https://assets.chanhdai.com/images/sponsors/shadcnstudio.svg?v=2#gh-light-mode-only)](https://shadcnstudio.com?utm_source=chanhdai&utm_medium=banner&utm_campaign=github#gh-light-mode-only) [![shadcnstudio.com](https://assets.chanhdai.com/images/sponsors/shadcnstudio-dark.svg?v=2#gh-dark-mode-only)](https://shadcnstudio.com?utm_source=chanhdai&utm_medium=banner&utm_campaign=github#gh-dark-mode-only)
4040

41-
[![shadcraft.com](https://assets.chanhdai.com/images/sponsors/shadcraft.svg?v=1#gh-light-mode-only)](https://shadcraft.com#gh-light-mode-only) [![shadcraft.com](https://assets.chanhdai.com/images/sponsors/shadcraft-dark.svg?v=1#gh-dark-mode-only)](https://shadcraft.com#gh-dark-mode-only) [![termius.com](https://assets.chanhdai.com/images/sponsors/termius.svg?v=1#gh-light-mode-only)](https://termius.com#gh-light-mode-only) [![termius.com](https://assets.chanhdai.com/images/sponsors/termius-dark.svg?v=1#gh-dark-mode-only)](https://termius.com#gh-dark-mode-only)
41+
[![shadcraft.com](https://assets.chanhdai.com/images/sponsors/shadcraft.svg?v=1#gh-light-mode-only)](https://shadcraft.com#gh-light-mode-only) [![shadcraft.com](https://assets.chanhdai.com/images/sponsors/shadcraft-dark.svg?v=1#gh-dark-mode-only)](https://shadcraft.com#gh-dark-mode-only) [![reactbits.com](https://assets.chanhdai.com/images/sponsors/reactbits.svg?v=1#gh-light-mode-only)](https://reactbits.com#gh-light-mode-only) [![reactbits.com](https://assets.chanhdai.com/images/sponsors/reactbits-dark.svg?v=1#gh-dark-mode-only)](https://reactbits.com#gh-dark-mode-only)
42+
43+
[![termius.com](https://assets.chanhdai.com/images/sponsors/termius.svg?v=1#gh-light-mode-only)](https://termius.com#gh-light-mode-only) [![termius.com](https://assets.chanhdai.com/images/sponsors/termius-dark.svg?v=1#gh-dark-mode-only)](https://termius.com#gh-dark-mode-only)
4244

4345
<!-- <a href="https://termius.com#gh-light-mode-only"><img align="center" alt="termius" src="https://assets.chanhdai.com/images/sponsors/termius.svg?v=2#gh-light-mode-only"></a>
4446
<a href="https://termius.com#gh-dark-mode-only"><img align="center" alt="termius-dark" src="https://assets.chanhdai.com/images/sponsors/termius-dark.svg?v=2#gh-dark-mode-only"></a> [Termius](https://termius.com) provides a secure, reliable, and collaborative SSH client. -->
Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
11
import type { Sponsor } from "./types";
22

3-
export const INDIVIDUAL_SPONSORS: Sponsor[] = [
4-
{
5-
type: "individual",
6-
name: "David Haz",
7-
tagline: "React Bits",
8-
website: "https://github.com/DavidHDev",
9-
avatar: "https://avatars.githubusercontent.com/u/48634587?v=4",
10-
},
11-
];
3+
export const INDIVIDUAL_SPONSORS: Sponsor[] = [];

apps/web/src/app/(app)/sponsors/page.tsx

Lines changed: 50 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,20 @@ export default function SponsorsPage() {
164164
</div> */}
165165
</SponsorCard>
166166

167+
<SponsorCard href="https://reactbits.com?utm_source=react-wheel-picker&utm_medium=sponsor&utm_campaign=website">
168+
<svg
169+
className="h-8 w-auto"
170+
xmlns="http://www.w3.org/2000/svg"
171+
fill="none"
172+
viewBox="0 0 160 32"
173+
>
174+
<path
175+
fill="currentColor"
176+
d="M21.749.796c1.035-.478 2.232-.72 3.34-.258l.222.102h.003l.3.178c.67.441 1.113 1.1 1.387 1.815.271.705.403 1.518.435 2.379l.007.37.007 1.325-2.65.014-.007-1.325-.021-.568c-.039-.527-.127-.94-.244-1.244-.15-.391-.316-.528-.418-.582l-.063-.025c-.17-.057-.527-.08-1.187.225-.739.341-1.651 1.006-2.674 2.014-1.095 1.078-2.254 2.488-3.394 4.155.232-.004.466-.007.7-.007 4.492 0 8.616.606 11.661 1.62 1.516.506 2.838 1.137 3.809 1.902.955.753 1.754 1.791 1.754 3.103 0 1.13-.6 2.063-1.364 2.77-.765.707-1.804 1.298-2.988 1.787l-1.226.505-1.01-2.45 1.225-.505c1.023-.422 1.75-.867 2.2-1.282.449-.415.513-.694.513-.825 0-.152-.092-.508-.744-1.022-.639-.503-1.646-1.015-3.007-1.469-2.709-.903-6.536-1.483-10.823-1.483-.819 0-1.62.02-2.401.06a46.265 46.265 0 0 0-2.012 3.911c.272.596.562 1.2.87 1.806l.37.709c1.859 3.501 3.96 6.384 5.867 8.262 1.022 1.007 1.934 1.672 2.673 2.012.754.348 1.113.27 1.25.2l.108-.076c.123-.11.283-.338.408-.808.166-.627.22-1.529.11-2.692-.22-2.316-1.067-5.378-2.515-8.701l1.215-.529 1.214-.53c1.52 3.49 2.47 6.83 2.724 9.509.127 1.334.09 2.579-.186 3.62-.275 1.04-.837 2.038-1.875 2.567v.002c-1.17.594-2.457.354-3.562-.155-1.122-.518-2.286-1.41-3.424-2.53-2.233-2.2-4.582-5.493-6.59-9.374-.685 1.916-1.149 3.695-1.379 5.224-.213 1.42-.214 2.548-.055 3.345.162.816.438 1.06.573 1.128l.102.037c.29.07.968.01 2.187-.853l1.08-.767 1.533 2.162-1.08.766-.285.195c-1.445.958-3.19 1.61-4.74.82-1.168-.595-1.732-1.777-1.97-2.97-.24-1.212-.203-2.678.034-4.258.358-2.374 1.194-5.182 2.446-8.12a42.75 42.75 0 0 1-1.19-3.122 23.34 23.34 0 0 0-2.324.633c-1.361.454-2.368.966-3.006 1.469-.653.515-.745.87-.745 1.022 0 .221.226.801 1.5 1.524l.269.146 1.175.614-1.228 2.349-1.174-.614-.304-.166C1.642 18.99.268 17.728.268 15.989c0-1.312.798-2.35 1.754-3.104.97-.764 2.293-1.395 3.808-1.9a25.637 25.637 0 0 1 2.408-.667 25.682 25.682 0 0 1-.5-2.449C7.5 6.29 7.46 4.825 7.702 3.614 7.94 2.42 8.503 1.236 9.672.64c1.226-.625 2.575-.337 3.755.249l.494.267 1.144.669-1.338 2.288-1.144-.669-.367-.198c-.797-.392-1.197-.318-1.341-.245-.136.07-.411.312-.573 1.128-.159.797-.157 1.926.057 3.345.11.733.274 1.524.49 2.359.86-.128 1.757-.232 2.68-.309 1.548-2.5 3.203-4.627 4.797-6.198 1.138-1.121 2.3-2.013 3.423-2.531Zm2.9 14.844-2.429 1.058-.529-1.215 2.43-1.058.528 1.214Zm-12.903-4.587a1.418 1.418 0 1 0 0 2.837 1.418 1.418 0 0 0 0-2.837ZM46.731 24.145V6.512h6.446c1.505 0 2.737.235 3.698.705.961.47 1.668 1.1 2.122 1.89.471.772.707 1.653.707 2.644 0 .94-.236 1.814-.707 2.62-.454.79-1.17 1.427-2.149 1.914-.979.47-2.23.706-3.753.706h-3.644v7.154h-2.72Zm10.008 0-4.106-7.834h2.991l4.27 7.834H56.74Zm-7.288-9.069h3.535c1.342 0 2.33-.302 2.965-.907.634-.621.952-1.41.952-2.367 0-.974-.309-1.747-.925-2.318-.617-.57-1.614-.856-2.992-.856h-3.535v6.448ZM67.106 24.447c-1.305 0-2.466-.277-3.481-.831a6.116 6.116 0 0 1-2.393-2.318c-.562-.99-.843-2.141-.843-3.45 0-1.344.28-2.511.843-3.502a6.066 6.066 0 0 1 2.393-2.343c1.015-.571 2.194-.857 3.535-.857 1.342 0 2.493.278 3.454.832.961.554 1.704 1.293 2.23 2.216.526.907.789 1.915.789 3.023 0 .168-.01.353-.027.555 0 .184-.01.394-.027.63H62.374v-1.79h8.54c-.055-1.057-.436-1.88-1.143-2.468-.707-.604-1.586-.907-2.638-.907a4.37 4.37 0 0 0-2.04.479 3.637 3.637 0 0 0-1.495 1.36c-.363.588-.544 1.335-.544 2.242v.705c0 .94.181 1.739.544 2.393.38.639.879 1.125 1.496 1.461.616.32 1.287.479 2.012.479.87 0 1.586-.176 2.148-.529a3.22 3.22 0 0 0 1.251-1.436h2.72a5.468 5.468 0 0 1-1.197 2.091c-.562.605-1.26 1.083-2.094 1.436-.816.352-1.758.529-2.828.529ZM79.836 24.447c-1.124 0-2.058-.177-2.801-.53-.743-.352-1.296-.822-1.66-1.41a3.708 3.708 0 0 1-.543-1.94c0-.84.236-1.553.707-2.14.471-.605 1.142-1.067 2.013-1.386.87-.32 1.912-.479 3.127-.479h3.563c0-.739-.118-1.352-.354-1.839a2.287 2.287 0 0 0-1.06-1.083c-.454-.252-1.034-.378-1.74-.378-.817 0-1.515.185-2.095.555-.58.352-.943.881-1.088 1.587h-2.72c.11-.89.436-1.646.98-2.268.562-.638 1.278-1.125 2.148-1.46a7.314 7.314 0 0 1 2.774-.53c1.287 0 2.366.21 3.236.63.87.42 1.523 1.016 1.958 1.789.454.755.68 1.662.68 2.72v7.86h-2.366l-.217-2.142c-.2.336-.435.655-.707.958a3.94 3.94 0 0 1-.98.78 4.504 4.504 0 0 1-1.278.504 5.746 5.746 0 0 1-1.577.202Zm.517-2.04c.58 0 1.106-.11 1.577-.328.471-.218.87-.512 1.197-.882.344-.386.598-.814.761-1.284.181-.487.281-.983.3-1.487v-.075H80.95c-.78 0-1.414.092-1.904.277-.471.168-.816.403-1.033.705a1.763 1.763 0 0 0-.326 1.058c0 .42.1.781.299 1.083.217.286.526.513.924.68.4.169.88.252 1.442.252ZM95.41 24.447c-1.324 0-2.502-.277-3.536-.831a6.444 6.444 0 0 1-2.448-2.343c-.58-.99-.87-2.141-.87-3.451 0-1.327.29-2.486.87-3.476a6.206 6.206 0 0 1 2.448-2.343c1.034-.571 2.212-.857 3.535-.857 1.668 0 3.064.403 4.188 1.21 1.125.806 1.841 1.897 2.149 3.274h-2.828a2.7 2.7 0 0 0-1.251-1.713c-.635-.403-1.396-.604-2.285-.604-.725 0-1.396.176-2.012.529-.617.336-1.115.84-1.496 1.511-.363.655-.544 1.47-.544 2.444 0 .722.109 1.368.326 1.94.218.554.508 1.024.87 1.41.382.386.817.68 1.306.882.49.184 1.006.277 1.55.277.599 0 1.133-.084 1.605-.252.49-.185.897-.454 1.224-.806a2.77 2.77 0 0 0 .707-1.26h2.828c-.308 1.344-1.024 2.427-2.148 3.25-1.124.806-2.52 1.209-4.189 1.209ZM108.933 24.145c-.87 0-1.623-.126-2.257-.378a2.892 2.892 0 0 1-1.469-1.26c-.344-.588-.517-1.385-.517-2.393V13.59h-2.366v-2.141h2.366l.327-3.174h2.393v3.174h3.889v2.141h-3.889v6.55c0 .721.163 1.217.489 1.486.327.252.889.377 1.686.377h1.578v2.142h-2.23ZM118.673 24.145V6.512h7.043c1.324 0 2.43.201 3.318.604.889.386 1.551.924 1.986 1.612.453.672.68 1.436.68 2.293 0 .89-.209 1.637-.626 2.241a4.221 4.221 0 0 1-1.659 1.411 5.903 5.903 0 0 1-2.175.554l.38-.252a4.632 4.632 0 0 1 2.285.63 4.374 4.374 0 0 1 1.631 1.562c.399.655.599 1.377.599 2.166 0 .907-.236 1.73-.707 2.469-.472.722-1.17 1.293-2.094 1.713-.925.42-2.058.63-3.4.63h-7.261Zm2.719-2.091h4.189c1.196 0 2.121-.252 2.774-.756.67-.52 1.006-1.25 1.006-2.191 0-.924-.345-1.663-1.034-2.217-.67-.554-1.604-.831-2.801-.831h-4.134v5.995Zm0-7.935h4.025c1.143 0 2.013-.243 2.611-.73.599-.504.898-1.193.898-2.066 0-.84-.299-1.503-.898-1.99-.598-.504-1.496-.756-2.692-.756h-3.944v5.542ZM134.072 24.145V11.449h2.72v12.696h-2.72Zm1.387-15.09c-.525 0-.961-.15-1.305-.453-.326-.302-.489-.688-.489-1.158 0-.454.163-.823.489-1.109.344-.302.78-.453 1.305-.453.508 0 .934.151 1.279.453.344.286.516.655.516 1.109 0 .47-.172.856-.516 1.158-.345.303-.771.454-1.279.454ZM144.978 24.145c-.871 0-1.622-.126-2.256-.378a2.894 2.894 0 0 1-1.47-1.26c-.345-.588-.516-1.385-.516-2.393V13.59h-2.366v-2.141h2.366l.326-3.174h2.393v3.174h3.889v2.141h-3.889v6.55c0 .721.164 1.217.49 1.486.327.252.889.377 1.686.377h1.578v2.142h-2.231ZM154.286 24.447c-1.16 0-2.175-.177-3.046-.53-.869-.352-1.559-.847-2.067-1.485-.507-.638-.815-1.386-.924-2.242h2.774c.091.403.263.772.516 1.108a2.88 2.88 0 0 0 1.088.806c.472.202 1.024.302 1.659.302.598 0 1.088-.075 1.469-.226.399-.168.689-.386.87-.655.182-.286.272-.588.272-.907 0-.47-.126-.823-.381-1.058-.235-.252-.598-.445-1.088-.58a13.134 13.134 0 0 0-1.713-.402c-.634-.101-1.25-.235-1.849-.404a8.188 8.188 0 0 1-1.577-.68 3.329 3.329 0 0 1-1.088-1.007c-.272-.42-.408-.932-.408-1.537 0-.722.209-1.368.625-1.94.417-.587 1.007-1.04 1.768-1.36.779-.336 1.695-.504 2.747-.504 1.523 0 2.746.336 3.671 1.008.925.672 1.469 1.62 1.632 2.847h-2.638c-.072-.571-.345-1.008-.816-1.31-.471-.32-1.097-.479-1.876-.479-.78 0-1.379.143-1.795.428-.417.286-.626.664-.626 1.134 0 .302.118.57.354.806.235.235.58.437 1.033.604.472.152 1.042.294 1.713.429.961.168 1.823.378 2.584.63.762.251 1.369.62 1.822 1.108.454.487.681 1.184.681 2.09.018.79-.201 1.487-.654 2.091-.434.605-1.06 1.075-1.876 1.411-.798.336-1.75.504-2.856.504Z"
177+
/>
178+
</svg>
179+
</SponsorCard>
180+
167181
<SponsorCard
168182
className="pt-4 pb-3"
169183
href="https://termius.com?utm_source=react-wheel-picker&utm_medium=sponsor&utm_campaign=website"
@@ -212,37 +226,43 @@ export default function SponsorsPage() {
212226
</SponsorCard>
213227
</div>
214228

215-
<h2 className="mt-12 mb-4 font-mono text-xs">Individual Sponsors</h2>
229+
{INDIVIDUAL_SPONSORS.length > 0 && (
230+
<>
231+
<h2 className="mt-12 mb-4 font-mono text-xs">
232+
Individual Sponsors
233+
</h2>
216234

217-
<div className="grid grid-cols-2 gap-4 lg:grid-cols-3 xl:grid-cols-4">
218-
{INDIVIDUAL_SPONSORS.map((item) => (
219-
<SponsorCard
220-
key={item.name}
221-
href={item.website}
222-
className="justify-start p-4"
223-
>
224-
<div className="grid grid-cols-[auto_1fr] items-center gap-x-4">
225-
<div className="relative row-span-2 size-8 shrink-0">
226-
<Image
227-
className="size-8 rounded-full select-none"
228-
src={item.avatar}
229-
alt={item.name}
230-
width={32}
231-
height={32}
232-
unoptimized
233-
/>
234-
<div className="pointer-events-none absolute inset-0 rounded-full ring-1 ring-black/10 ring-inset dark:ring-white/15" />
235-
</div>
236-
<div className="truncate text-sm leading-5 font-semibold text-foreground">
237-
{item.name}
238-
</div>
239-
<div className="truncate text-xs leading-4 text-muted-foreground">
240-
{item.tagline}
241-
</div>
242-
</div>
243-
</SponsorCard>
244-
))}
245-
</div>
235+
<div className="grid grid-cols-2 gap-4 lg:grid-cols-3 xl:grid-cols-4">
236+
{INDIVIDUAL_SPONSORS.map((item) => (
237+
<SponsorCard
238+
key={item.name}
239+
href={item.website}
240+
className="justify-start p-4"
241+
>
242+
<div className="grid grid-cols-[auto_1fr] items-center gap-x-4">
243+
<div className="relative row-span-2 size-8 shrink-0">
244+
<Image
245+
className="size-8 rounded-full select-none"
246+
src={item.avatar}
247+
alt={item.name}
248+
width={32}
249+
height={32}
250+
unoptimized
251+
/>
252+
<div className="pointer-events-none absolute inset-0 rounded-full ring-1 ring-black/10 ring-inset dark:ring-white/15" />
253+
</div>
254+
<div className="truncate text-sm leading-5 font-semibold text-foreground">
255+
{item.name}
256+
</div>
257+
<div className="truncate text-xs leading-4 text-muted-foreground">
258+
{item.tagline}
259+
</div>
260+
</div>
261+
</SponsorCard>
262+
))}
263+
</div>
264+
</>
265+
)}
246266
</div>
247267
</div>
248268
);

packages/react-wheel-picker/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ Licensed under the [MIT license](./LICENSE).
2323

2424
This project is proudly supported by:
2525

26-
[![Vercel OSS Program](https://assets.chanhdai.com/images/sponsors/vercel-oss-program-2025.svg?v=2)](https://vercel.com/blog/summer-2025-oss-program) [![shadcnstudio.com](https://assets.chanhdai.com/images/sponsors/shadcnstudio.svg?v=2)](https://shadcnstudio.com?utm_source=chanhdai&utm_medium=banner&utm_campaign=github) [![shadcraft.com](https://assets.chanhdai.com/images/sponsors/shadcraft.svg?v=1)](https://shadcraft.com) [![termius.com](https://assets.chanhdai.com/images/sponsors/termius.svg?v=1)](https://termius.com)
26+
[![Vercel OSS Program](https://assets.chanhdai.com/images/sponsors/vercel-oss-program-2025.svg?v=2)](https://vercel.com/blog/summer-2025-oss-program) [![shadcnstudio.com](https://assets.chanhdai.com/images/sponsors/shadcnstudio.svg?v=2)](https://shadcnstudio.com?utm_source=chanhdai&utm_medium=banner&utm_campaign=github) [![shadcraft.com](https://assets.chanhdai.com/images/sponsors/shadcraft.svg?v=1)](https://shadcraft.com) [![reactbits.com](https://assets.chanhdai.com/images/sponsors/reactbits.svg?v=1)](https://reactbits.com) [![termius.com](https://assets.chanhdai.com/images/sponsors/termius.svg?v=1)](https://termius.com)
2727

2828
> Using this package at work? [Sponsor me](https://github.com/sponsors/ncdai) to help with support and maintenance.

0 commit comments

Comments
 (0)