docs: optimized cloudinary images (#3767)

This commit is contained in:
Shahed Nasser
2023-04-07 12:24:53 +03:00
committed by GitHub
parent abdb74d997
commit a7b57e8201
7 changed files with 212 additions and 2 deletions

View File

@@ -130,6 +130,18 @@ const config = {
sidebar: {
autoCollapseCategories: true
}
},
cloudinaryConfig: {
cloudName: 'dza7lstvk', // TODO replace with env variable
flags: [
'fl_lossy',
'f_auto'
],
resize: {
action: 'pad',
aspectRatio: '16:9'
},
roundCorners: 16
}
},
presets: [