diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 53cf88005..1d3e0ebb5 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,3 +1,3 @@ github: - - hey-api - mrlubos + - hey-api diff --git a/README.md b/README.md index 7bd6c7e11..dbbe59044 100644 --- a/README.md +++ b/README.md @@ -19,13 +19,13 @@ Please visit our [website](https://heyapi.dev/) for documentation, guides, migrating, and more. -## Sponsoring +## Sponsors Love Hey API? Become our [sponsor](https://github.com/sponsors/hey-api).

- Stainless logo + Stainless logo

diff --git a/docs/public/images/stainless-logo-1200w.jpeg b/docs/public/images/stainless-logo-1200w.jpeg index 1a3135425..70ae1f464 100644 Binary files a/docs/public/images/stainless-logo-1200w.jpeg and b/docs/public/images/stainless-logo-1200w.jpeg differ diff --git a/docs/public/images/stainless-logo-480w.jpeg b/docs/public/images/stainless-logo-480w.jpeg index 8a6911fe4..5d08eebd2 100644 Binary files a/docs/public/images/stainless-logo-480w.jpeg and b/docs/public/images/stainless-logo-480w.jpeg differ diff --git a/docs/public/images/stainless-logo-768w.jpeg b/docs/public/images/stainless-logo-768w.jpeg index 824e2f16c..ffa07f783 100644 Binary files a/docs/public/images/stainless-logo-768w.jpeg and b/docs/public/images/stainless-logo-768w.jpeg differ diff --git a/docs/public/images/stainless-logo-wordmark-1200w.jpeg b/docs/public/images/stainless-logo-wordmark-1200w.jpeg index 61a815d81..9adcb3086 100644 Binary files a/docs/public/images/stainless-logo-wordmark-1200w.jpeg and b/docs/public/images/stainless-logo-wordmark-1200w.jpeg differ diff --git a/docs/public/images/stainless-logo-wordmark-480w.jpeg b/docs/public/images/stainless-logo-wordmark-480w.jpeg index dd8e7e892..c7fe19065 100644 Binary files a/docs/public/images/stainless-logo-wordmark-480w.jpeg and b/docs/public/images/stainless-logo-wordmark-480w.jpeg differ diff --git a/docs/public/images/stainless-logo-wordmark-768w.jpeg b/docs/public/images/stainless-logo-wordmark-768w.jpeg index d3881c15a..90981dce7 100644 Binary files a/docs/public/images/stainless-logo-wordmark-768w.jpeg and b/docs/public/images/stainless-logo-wordmark-768w.jpeg differ diff --git a/docs/scripts/optimize-images.js b/docs/scripts/optimize-images.js index d2e5e0c11..442e366fe 100644 --- a/docs/scripts/optimize-images.js +++ b/docs/scripts/optimize-images.js @@ -35,10 +35,15 @@ async function processImages() { const outputFileName = `${baseName}-${size}w.${format}`; const outputPath = path.join(outputDir, outputFileName); - await sharp(inputPath) - .resize(size) - .toFormat(format, { quality: 80 }) - .toFile(outputPath); + let image = sharp(inputPath).resize(size).toFormat(format, { + quality: 80, + }); + + if (format === 'jpeg') { + image = image.flatten({ background: '#ffffff' }); + } + + await image.toFile(outputPath); console.log(`Generated: ${outputFileName}`); } diff --git a/docs/sponsorship.md b/docs/sponsorship.md index fe69e31dc..f86fe770d 100644 --- a/docs/sponsorship.md +++ b/docs/sponsorship.md @@ -1,4 +1,4 @@ -## Sponsoring +## Sponsors Love Hey API? Become our [sponsor](https://github.com/sponsors/hey-api). diff --git a/packages/client-axios/README.md b/packages/client-axios/README.md index 5a45fb7b6..34b053667 100644 --- a/packages/client-axios/README.md +++ b/packages/client-axios/README.md @@ -20,13 +20,13 @@ Please visit our [website](https://heyapi.dev/) for documentation, guides, migrating, and more. -## Sponsoring +## Sponsors Love Hey API? Become our [sponsor](https://github.com/sponsors/hey-api).

- Stainless logo + Stainless logo

diff --git a/packages/client-fetch/README.md b/packages/client-fetch/README.md index 94d4062f2..36fcc9baf 100644 --- a/packages/client-fetch/README.md +++ b/packages/client-fetch/README.md @@ -20,13 +20,13 @@ Please visit our [website](https://heyapi.dev/) for documentation, guides, migrating, and more. -## Sponsoring +## Sponsors Love Hey API? Become our [sponsor](https://github.com/sponsors/hey-api).

- Stainless logo + Stainless logo

diff --git a/packages/openapi-ts/README.md b/packages/openapi-ts/README.md index 7bd6c7e11..dbbe59044 100644 --- a/packages/openapi-ts/README.md +++ b/packages/openapi-ts/README.md @@ -19,13 +19,13 @@ Please visit our [website](https://heyapi.dev/) for documentation, guides, migrating, and more. -## Sponsoring +## Sponsors Love Hey API? Become our [sponsor](https://github.com/sponsors/hey-api).

- Stainless logo + Stainless logo