Skip to content

Commit

Permalink
chore: refresh sponsors list by adding Postman and HiveMQ (#2705)
Browse files Browse the repository at this point in the history
  • Loading branch information
derberg authored Feb 26, 2024
1 parent d08f3da commit 084c5ed
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 16 deletions.
2 changes: 1 addition & 1 deletion components/sponsors/GoldSponsors.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default function GoldSponsors({ className = '', showSupportBanner = true
data-testid="GoldSponsors-link"
>
<img
className="inline-block sm:h-12"
className={sponsor.imageClass}
src={sponsor.imageSrc}
alt={sponsor.name}
data-testid="GoldSponsors-img"
Expand Down
11 changes: 6 additions & 5 deletions components/sponsors/GoldSponsorsList.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
export const goldSponsors = [
{
name: 'Red Hat',
imageSrc: '/img/sponsors/redhat.svg',
website: 'https://www.redhat.com/',
},

name: 'Postman',
website: 'https://www.postman.com',
imageSrc: '/img/sponsors/postman.png',
altText: 'Postman',
imageClass: 'inline-block px-4 sm:h-18',
}
];
9 changes: 7 additions & 2 deletions components/sponsors/SilverSponsorsList.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,15 @@ export const Silversponsors = [
name: 'Bump.sh',
url: 'https://bump.sh/asyncapi?utm_source=asyncapi&utm_medium=referral&utm_campaign=sponsor',
image: '/img/sponsors/bumpsh.svg'
}, {
},
{
name: 'Svix',
url: 'https://www.svix.com/',
image: '/img/sponsors/svix_logo.svg'
},
{
name: 'HiveMQ',
url: 'https://www.hivemq.com/',
image: '/img/sponsors/hivemq_logo.png'
}

];
9 changes: 1 addition & 8 deletions components/sponsors/SponsorsList.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,11 @@ export const sponsors = [
altText: 'IBM',
imageClass: 'inline-block px-4 sm:h-14',
},
{
name: 'Postman',
link: 'https://www.postman.com',
imageSrc: '/img/sponsors/postman.png',
altText: 'Postman',
imageClass: 'inline-block px-2 sm:h-18 flex-shrink-0',
},
{
name: 'Solace',
link: 'https://www.solace.com',
imageSrc: '/img/sponsors/solace.png',
altText: 'Solace',
imageClass: 'inline-block px-4 sm:h-10',
imageClass: 'inline-block px-4 sm:h-12',
},
];
Binary file added public/img/sponsors/hivemq_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 084c5ed

Please sign in to comment.