Skip to content

Commit

Permalink
Fixed Sponsor Buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
IyaadArshad authored Dec 9, 2024
1 parent 1666a67 commit ae78caa
Showing 1 changed file with 13 additions and 15 deletions.
28 changes: 13 additions & 15 deletions pages/index.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -640,8 +640,8 @@ const Home = (props: any) => {
<h3 className='p-4 text-h4mobile md:text-h4 font-semibold my-4 dark:text-slate-200'>
Gold Sponsors
</h3>
<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'>
<svg
<a href="https://opencollective.com/json-schema/contribute/golden-sponsor-68354/checkout?interval=month&amount=1000&name=&legalName=&email=" target='_blank' 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'>

Check failure on line 643 in pages/index.page.tsx

View workflow job for this annotation

GitHub Actions / Code Quality Checks

Using target="_blank" without rel="noreferrer" (which implies rel="noopener") is a security risk in older browsers: see https://mathiasbynens.github.io/rel-noopener/#recommendations

Check failure on line 643 in pages/index.page.tsx

View workflow job for this annotation

GitHub Actions / Code Quality Checks

Replace `·href="https://opencollective.com/json-schema/contribute/golden-sponsor-68354/checkout?interval=month&amount=1000&name=&legalName=&email="·target='_blank'·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'` with `⏎··············href='https://opencollective.com/json-schema/contribute/golden-sponsor-68354/checkout?interval=month&amount=1000&name=&legalName=&email='⏎··············target='_blank'⏎··············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'⏎············`

Check failure on line 643 in pages/index.page.tsx

View workflow job for this annotation

GitHub Actions / Code Quality Checks

Unexpected usage of doublequote
<svg

Check failure on line 644 in pages/index.page.tsx

View workflow job for this annotation

GitHub Actions / Code Quality Checks

Delete `·`
xmlns='http://www.w3.org/2000/svg'
className='h-6 w-6'
fill='none'
Expand All @@ -655,17 +655,16 @@ const Home = (props: any) => {
d='M12 4v16m8-8H4'
/>
</svg>
<a
href='https://opencollective.com/json-schema#category-CONTRIBUTE'
<p

Check failure on line 658 in pages/index.page.tsx

View workflow job for this annotation

GitHub Actions / Code Quality Checks

Replace `⏎················className='block'⏎··············>⏎················Your·logo·here⏎··············` with `·className='block'>Your·logo·here`
className='block'
>
Your logo here
</a>
</button>
</p>
</a>
<h3 className='p-4 text-h4mobile md:text-h4 font-semibold my-4 dark:text-slate-200'>
Silver Sponsors
</h3>
<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'>
<a href='https://opencollective.com/json-schema/contribute/silver-sponsor-68353/checkout?interval=month&amount=500&name=&legalName=&email=' target='_blank' 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'>

Check failure on line 667 in pages/index.page.tsx

View workflow job for this annotation

GitHub Actions / Code Quality Checks

Using target="_blank" without rel="noreferrer" (which implies rel="noopener") is a security risk in older browsers: see https://mathiasbynens.github.io/rel-noopener/#recommendations

Check failure on line 667 in pages/index.page.tsx

View workflow job for this annotation

GitHub Actions / Code Quality Checks

Replace `·href='https://opencollective.com/json-schema/contribute/silver-sponsor-68353/checkout?interval=month&amount=500&name=&legalName=&email='·target='_blank'·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'` with `⏎··············href='https://opencollective.com/json-schema/contribute/silver-sponsor-68353/checkout?interval=month&amount=500&name=&legalName=&email='⏎··············target='_blank'⏎··············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'⏎············`
<svg
xmlns='http://www.w3.org/2000/svg'
className='h-6 w-6'
Expand All @@ -680,10 +679,10 @@ const Home = (props: any) => {
d='M12 4v16m8-8H4'
/>
</svg>
<a href='https://opencollective.com/json-schema#category-CONTRIBUTE'>
<p>

Check failure on line 682 in pages/index.page.tsx

View workflow job for this annotation

GitHub Actions / Code Quality Checks

Replace `⏎················Your·logo·here⏎··············` with `Your·logo·here`
Your logo here
</a>
</button>
</p>
</a>
<h3 className='p-4 text-h4mobile md:text-h4 font-semibold my-4 dark:text-slate-200'>
Bronze Sponsors
</h3>
Expand Down Expand Up @@ -745,7 +744,7 @@ const Home = (props: any) => {
<a href='https://www.octue.com/' target='_blank' rel='noreferrer'>
<img src={octue_logo} className=' w-44' />
</a>
<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'>
<a href='https://opencollective.com/json-schema/contribute/sponsor-10816/checkout?interval=month&amount=100&name=&legalName=&email=' target='_blank' 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'>

Check failure on line 747 in pages/index.page.tsx

View workflow job for this annotation

GitHub Actions / Code Quality Checks

Using target="_blank" without rel="noreferrer" (which implies rel="noopener") is a security risk in older browsers: see https://mathiasbynens.github.io/rel-noopener/#recommendations

Check failure on line 747 in pages/index.page.tsx

View workflow job for this annotation

GitHub Actions / Code Quality Checks

Replace `·href='https://opencollective.com/json-schema/contribute/sponsor-10816/checkout?interval=month&amount=100&name=&legalName=&email='·target='_blank'·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'` with `⏎················href='https://opencollective.com/json-schema/contribute/sponsor-10816/checkout?interval=month&amount=100&name=&legalName=&email='⏎················target='_blank'⏎················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'⏎··············`
<svg
xmlns='http://www.w3.org/2000/svg'
className='h-6 w-6'
Expand All @@ -760,13 +759,12 @@ const Home = (props: any) => {
d='M12 4v16m8-8H4'
/>
</svg>
<a
<p
className='text-sm md:text-base'
href='https://opencollective.com/json-schema#category-CONTRIBUTE'
>
Your logo here
</a>
</button>
</p>
</a>
</div>
</div>
</section>
Expand Down

0 comments on commit ae78caa

Please sign in to comment.