Skip to content

Commit 43aef96

Browse files
Ellias Jonesbenjagm
andauthored
Fixed Sponsor Buttons (#1154)
* Fixed Sponsor Buttons * Updated to pass code quality checks * Fixed indentation issues --------- Co-authored-by: Benjamin Granados <[email protected]>
1 parent 85bb2fa commit 43aef96

File tree

1 file changed

+24
-21
lines changed

1 file changed

+24
-21
lines changed

pages/index.page.tsx

Lines changed: 24 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,12 @@ const Home = (props: any) => {
538538
<h3 className='p-4 text-h4mobile md:text-h4 font-semibold my-4 dark:text-slate-200'>
539539
Gold Sponsors
540540
</h3>
541-
<button className='w-[310px] h-[180px] mx-auto rounded-lg border-2 border-dotted bg-primary text-white font-semibold flex items-center justify-center space-x-2 cursor-pointer px-3'>
541+
<a
542+
href='https://opencollective.com/json-schema/contribute/golden-sponsor-68354/checkout?interval=month&amount=1000&name=&legalName=&email='
543+
target='_blank'
544+
rel='noreferrer'
545+
className='w-[310px] h-[180px] mx-auto rounded-lg bg-primary text-white font-semibold flex items-center justify-center space-x-2 cursor-pointer px-3'
546+
>
542547
<svg
543548
xmlns='http://www.w3.org/2000/svg'
544549
className='h-6 w-6'
@@ -553,17 +558,17 @@ const Home = (props: any) => {
553558
d='M12 4v16m8-8H4'
554559
/>
555560
</svg>
556-
<a
557-
href='https://opencollective.com/json-schema#category-CONTRIBUTE'
558-
className='block'
559-
>
560-
Your logo here
561-
</a>
562-
</button>
561+
<p className='block'>Your logo here</p>
562+
</a>
563563
<h3 className='p-4 text-h4mobile md:text-h4 font-semibold my-4 dark:text-slate-200'>
564564
Silver Sponsors
565565
</h3>
566-
<button className='w-[200px] h-[120px] mx-auto rounded-lg border-2 border-dotted bg-primary text-white font-semibold flex items-center justify-center space-x-2 cursor-pointer px-3'>
566+
<a
567+
href='https://opencollective.com/json-schema/contribute/silver-sponsor-68353/checkout?interval=month&amount=500&name=&legalName=&email='
568+
target='_blank'
569+
rel='noreferrer'
570+
className='w-[200px] h-[120px] mx-auto rounded-lg bg-primary text-white font-semibold flex items-center justify-center space-x-2 cursor-pointer px-3'
571+
>
567572
<svg
568573
xmlns='http://www.w3.org/2000/svg'
569574
className='h-6 w-6'
@@ -578,10 +583,8 @@ const Home = (props: any) => {
578583
d='M12 4v16m8-8H4'
579584
/>
580585
</svg>
581-
<a href='https://opencollective.com/json-schema#category-CONTRIBUTE'>
582-
Your logo here
583-
</a>
584-
</button>
586+
<p>Your logo here</p>
587+
</a>
585588
<h3 className='p-4 text-h4mobile md:text-h4 font-semibold my-4 dark:text-slate-200'>
586589
Bronze Sponsors
587590
</h3>
@@ -650,7 +653,12 @@ const Home = (props: any) => {
650653
>
651654
<img src={apideck_logo} className=' w-44' />
652655
</a>
653-
<button className='w-[155px] md:w-[176px] h-[44px] mx-auto rounded-lg border-2 border-dotted bg-primary text-white font-semibold flex items-center justify-center space-x-2 cursor-pointer px-3'>
656+
<a
657+
href='https://opencollective.com/json-schema/contribute/sponsor-10816/checkout?interval=month&amount=100&name=&legalName=&email='
658+
target='_blank'
659+
rel='noreferrer'
660+
className='w-[155px] md:w-[176px] h-[44px] mx-auto rounded-lg bg-primary text-white font-semibold flex items-center justify-center space-x-2 cursor-pointer px-3'
661+
>
654662
<svg
655663
xmlns='http://www.w3.org/2000/svg'
656664
className='h-6 w-6'
@@ -665,13 +673,8 @@ const Home = (props: any) => {
665673
d='M12 4v16m8-8H4'
666674
/>
667675
</svg>
668-
<a
669-
className='text-sm md:text-base'
670-
href='https://opencollective.com/json-schema#category-CONTRIBUTE'
671-
>
672-
Your logo here
673-
</a>
674-
</button>
676+
<p className='text-sm md:text-base'>Your logo here</p>
677+
</a>
675678
</div>
676679
</div>
677680
</section>

0 commit comments

Comments
 (0)