Skip to content

Commit 57e1e24

Browse files
authored
Merge pull request #2527 from hey-api/docs/image
docs: add a new image
2 parents c84763b + 61161ae commit 57e1e24

File tree

11 files changed

+25
-37
lines changed

11 files changed

+25
-37
lines changed

docs/public/blueprint.png

929 KB
Loading

docs/public/images/blueprint-300w.png

20.1 KB
Loading

docs/public/images/blueprint-640w.png

72.6 KB
Loading

docs/public/images/cella-logo-wordmark.svg

Lines changed: 0 additions & 14 deletions
This file was deleted.

docs/public/images/fastapi-logo-wordmark.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/public/images/scalar-logo-wordmark.svg

Lines changed: 0 additions & 11 deletions
This file was deleted.

docs/scripts/optimize-images.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,19 @@ import sharp from 'sharp';
55

66
const allowedImageExtensions = ['.png', '.jpg', '.jpeg', '.webp'];
77
const images = [
8+
{
9+
sizes: [
10+
{
11+
formats: ['png'],
12+
width: 300,
13+
},
14+
{
15+
formats: ['png'],
16+
width: 640,
17+
},
18+
],
19+
source: 'blueprint.png',
20+
},
821
{
922
sizes: [
1023
{

0 commit comments

Comments
 (0)