Skip to content

Commit

Permalink
Merge pull request #1094 from privacy-scaling-explorations/feat/zooma…
Browse files Browse the repository at this point in the history
…ble-img

feat: make image zoomable by adding package
  • Loading branch information
kittybest authored Jan 26, 2024
2 parents ccf0bfb + ee34a25 commit d2d3979
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 47 deletions.
93 changes: 46 additions & 47 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions website/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ const config: Config = {
blogRouteBasePath: "/blog",
},
],
"docusaurus-plugin-image-zoom",
],
stylesheets: [
{
Expand Down Expand Up @@ -172,6 +173,7 @@ const config: Config = {
],
copyright: `Copyright © ${new Date().getFullYear()} Privacy and Scaling Explorations`,
},
zoom: {},
} satisfies Preset.ThemeConfig,
};

Expand Down
1 change: 1 addition & 0 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"@easyops-cn/docusaurus-search-local": "^0.40.1",
"@mdx-js/react": "^3.0.0",
"clsx": "^2.1.0",
"docusaurus-plugin-image-zoom": "^1.0.1",
"prism-react-renderer": "^2.1.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
Expand Down

0 comments on commit d2d3979

Please sign in to comment.