feat(backstage.io): Allow to zoom images like Medium

This commit is contained in:
Himanshu Mishra
2020-11-29 13:35:38 +01:00
parent 74175b988e
commit 4122b3031f
6 changed files with 29 additions and 3 deletions
+5 -1
View File
@@ -86,7 +86,11 @@ const siteConfig = {
},
// Add custom scripts here that would be placed in <script> tags.
scripts: ['https://buttons.github.io/buttons.js'],
scripts: [
'https://buttons.github.io/buttons.js',
'https://unpkg.com/medium-zoom@1.0.6/dist/medium-zoom.min.js',
'/js/medium-zoom.js',
],
// On page navigation for the current documentation page.
onPageNav: 'separate',