Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed the logo in sponsors #3565

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/sponsors/GoldSponsorsList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ export const goldSponsors: SponsorType[] = [
website: 'https://www.ibm.com',
imageSrc: '/img/sponsors/ibm.png',
altText: 'IBM',
imageClass: 'inline-block px-4 sm:h-14'
imageClass: 'inline-block px-4 h-14 sm:h-14'
}
];
12 changes: 6 additions & 6 deletions components/sponsors/SilverSponsorsList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,28 @@ export const Silversponsors: SponsorType[] = [
website: 'https://bump.sh/asyncapi?utm_source=asyncapi&utm_medium=referral&utm_campaign=sponsor',
altText: 'OpenAPI & AsyncAPI API docs - Bump.sh',
imageSrc: '/img/sponsors/bumpsh.svg',
imageClass: 'inline-block sm:h-9'
imageClass: 'inline-block h-9 sm:h-9'
},
{
name: 'Svix',
website: 'https://www.svix.com/',
altText: 'Svix',
imageSrc: '/img/sponsors/svix_logo.svg',
imageClass: 'inline-block sm:h-9'
imageClass: 'inline-block h-9 sm:h-9'
},
{
name: 'HiveMQ',
website: 'https://www.hivemq.com/',
altText: 'HiveMQ',
imageSrc: '/img/sponsors/hivemq_logo.png',
imageClass: 'inline-block sm:h-9'
imageClass: 'inline-block h-9 sm:h-9'
},
{
name: 'Aklivity',
website: 'https://www.aklivity.io/',
altText: 'Aklivity',
imageSrc: '/img/sponsors/aklivity_logo.png',
imageClass: 'inline-block sm:h-9'
imageClass: 'inline-block h-9 sm:h-9'
},
{
name: 'SmartBear',
Expand All @@ -41,13 +41,13 @@ export const Silversponsors: SponsorType[] = [
website: 'https://www.hdi.global/',
altText: 'HDI',
imageSrc: '/img/sponsors/hdi_logo.png',
imageClass: 'inline-block sm:h-9'
imageClass: 'inline-block h-9 sm:h-9'
},
{
name: 'Route4Me',
website: 'https://route4me.com',
altText: 'Best Route Planning and Route Optimization Software',
imageSrc: '/img/sponsors/route4me_logo.png',
imageClass: 'inline-block sm:h-9'
imageClass: 'inline-block h-9 sm:h-9'
}
];
6 changes: 3 additions & 3 deletions components/sponsors/SponsorsList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@ export const sponsors: SponsorType[] = [
website: 'https://www.solace.com',
imageSrc: '/img/sponsors/solace.png',
altText: 'Solace',
imageClass: 'inline-block px-4 sm:h-12'
imageClass: 'inline-block px-4 h-12 sm:h-12'
},
{
name: 'Gravitee.io',
website: 'https://www.gravitee.io',
imageSrc: '/img/sponsors/gravitee.io_logo.jpg',
altText: 'Gravitee.io',
imageClass: 'inline-block px-4 sm:h-14'
imageClass: 'inline-block px-4 h-14 sm:h-14'
},
{
name: 'Postman',
website: 'https://www.postman.com',
imageSrc: '/img/sponsors/postman.png',
altText: 'Postman',
imageClass: 'inline-block px-4 sm:h-18'
imageClass: 'inline-block px-4 h-18 sm:h-18'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codebase verification

Use h-72 instead of h-18 for 18rem height

The h-18 class is not defined in your Tailwind configuration. To achieve a height of 18rem, use h-72 which is properly configured in your tailwind.config.ts:

height: {
  72: '18rem',
  // ...
}
🔗 Analysis chain

Verify the custom height class.

The h-18 class is not a standard Tailwind CSS class. Please verify if this is defined in your Tailwind configuration.

Let's check the Tailwind configuration:

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Search for custom height configuration in Tailwind config files
fd -e js -e ts -e json "tailwind" | xargs rg -l "height|spacing.*18"

Length of output: 87


Script:

#!/bin/bash
# View the contents of tailwind.config.ts
cat tailwind.config.ts

Length of output: 5771

}
];
Loading