docs: optimized cloudinary images (#3767)

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

No files matched your search

+12
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: [