Skip to content

Commit

Permalink
[Blog] image zoom
Browse files Browse the repository at this point in the history
  • Loading branch information
billy1624 committed Jun 27, 2024
1 parent 0f12bf4 commit 5943d24
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Blog/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,4 +141,7 @@ module.exports = {
scripts: [
'/sea-ql.js',
],
plugins: [
'plugin-image-zoom'
],
};
1 change: 1 addition & 0 deletions Blog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"chartjs-plugin-deferred": "^2.0.0",
"clsx": "^1.1.1",
"file-loader": "^6.2.0",
"plugin-image-zoom": "^1.2.0",
"prism-react-renderer": "^1.2.1",
"react": "^17.0.1",
"react-dom": "^17.0.1",
Expand Down
17 changes: 17 additions & 0 deletions Blog/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7743,6 +7743,13 @@ __metadata:
languageName: node
linkType: hard

"medium-zoom@npm:^1.0.4":
version: 1.1.0
resolution: "medium-zoom@npm:1.1.0"
checksum: c58ea2d3335c3b5d4625b4fa70d09925e35d2eb15e9906f41586e7016aa3059ca9b01656ae6d35e70219c7e3e94dda0e9528cd354fcd2f6614231b529654b0b9
languageName: node
linkType: hard

"memfs@npm:^3.1.2, memfs@npm:^3.4.3":
version: 3.4.7
resolution: "memfs@npm:3.4.7"
Expand Down Expand Up @@ -8645,6 +8652,15 @@ __metadata:
languageName: node
linkType: hard

"plugin-image-zoom@npm:^1.2.0":
version: 1.2.0
resolution: "plugin-image-zoom@npm:1.2.0"
dependencies:
medium-zoom: ^1.0.4
checksum: fc2efbaea83e7f44dae127cc978519176c25c331f0c7f77dede7ccc46112a31b213aae3090ba05acea5f2971a8df979380ac65627ffa7e88b27babb6c01419f1
languageName: node
linkType: hard

"postcss-calc@npm:^8.2.3":
version: 8.2.4
resolution: "postcss-calc@npm:8.2.4"
Expand Down Expand Up @@ -10039,6 +10055,7 @@ __metadata:
chartjs-plugin-deferred: ^2.0.0
clsx: ^1.1.1
file-loader: ^6.2.0
plugin-image-zoom: ^1.2.0
prism-react-renderer: ^1.2.1
react: ^17.0.1
react-dom: ^17.0.1
Expand Down

0 comments on commit 5943d24

Please sign in to comment.