Skip to content

Commit d35df9f

Browse files
committed
docs: change sponsor display to Open Collective
1 parent d55086e commit d35df9f

File tree

1 file changed

+67
-9
lines changed

1 file changed

+67
-9
lines changed

docs/src/pages/index.tsx

Lines changed: 67 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -263,27 +263,85 @@ my-app
263263
<h3 className="text-2xl md:text-5xl mx-auto leading-tight font-extrabold tracking-tight lg:leading-none mt-2">
264264
Thanks for the support, guys! 🍻
265265
</h3>
266-
<div className="flex flex-wrap justify-center mt-8">
267-
{sponsors.map((sponsor) => (
266+
267+
{/* Sponsors Section */}
268+
<div className="mt-12">
269+
<h4 className="text-lg font-semibold text-gray-700 mb-6">
270+
Sponsors
271+
</h4>
272+
<div className="flex justify-center items-center">
273+
<a
274+
href="https://opencollective.com/orval"
275+
target="_blank"
276+
rel="noopener noreferrer"
277+
className="opacity-60 hover:opacity-100 transition-opacity"
278+
>
279+
<img
280+
className="h-40 w-auto grayscale hover:grayscale-0 transition-all"
281+
src="/images/orval-logo-horizontal.svg"
282+
alt="Sample Sponsor"
283+
title="Sample Sponsor"
284+
/>
285+
</a>
286+
</div>
287+
</div>
288+
289+
{/* Backers Section */}
290+
<div className="mt-12">
291+
<h4 className="text-lg font-semibold text-gray-700 mb-6">
292+
Backers
293+
</h4>
294+
<div className="flex flex-wrap justify-center items-center gap-4">
295+
<a
296+
href="https://opencollective.com/orval"
297+
target="_blank"
298+
rel="noopener noreferrer"
299+
className="opacity-60 hover:opacity-100 transition-opacity"
300+
>
301+
<img
302+
className="h-20 w-20 rounded-full grayscale hover:grayscale-0 transition-all"
303+
src="/images/emblem.svg"
304+
alt="Sample Backer"
305+
title="Sample Backer"
306+
/>
307+
</a>
308+
<a
309+
href="https://opencollective.com/orval"
310+
target="_blank"
311+
rel="noopener noreferrer"
312+
className="opacity-60 hover:opacity-100 transition-opacity"
313+
>
314+
<img
315+
className="h-20 w-20 rounded-full grayscale hover:grayscale-0 transition-all"
316+
src="/images/emblem.svg"
317+
alt="Sample Backer"
318+
title="Sample Backer"
319+
/>
320+
</a>
268321
<a
269-
key={sponsor.login}
322+
href="https://opencollective.com/orval"
270323
target="_blank"
271-
href={`https://github.com/${sponsor.login}`}
324+
rel="noopener noreferrer"
325+
className="opacity-60 hover:opacity-100 transition-opacity"
272326
>
273327
<img
274-
className="w-10 h-10 m-1 rounded-full"
275-
src={sponsor.avatarUrl}
328+
className="h-20 w-20 rounded-full grayscale hover:grayscale-0 transition-all"
329+
src="/images/emblem.svg"
330+
alt="Sample Backer"
331+
title="Sample Backer"
276332
/>
277333
</a>
278-
))}
334+
</div>
279335
</div>
336+
280337
<div className="inline-flex rounded-md shadow-sm mt-12">
281338
<a
282-
href="https://github.com/sponsors/anymaniax"
339+
href="https://opencollective.com/orval"
283340
target="_blank"
341+
rel="noopener noreferrer"
284342
className="inline-flex items-center justify-center text-center px-5 py-3 border border-transparent text-base leading-6 font-medium rounded-md text-white bg-coral-default hover:bg-coral-light focus:outline-hidden focus:shadow-outline transition duration-150 ease-in-out"
285343
>
286-
Become a sponsor
344+
Support us on Open Collective
287345
</a>
288346
</div>
289347
</div>

0 commit comments

Comments
 (0)