diff --git a/docusaurus.config.js b/docusaurus.config.js index 9fd4b68..4864b58 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -16,6 +16,12 @@ const config = { favicon: 'img/favicon/favicon.ico', organizationName: '1inch', // Usually your GitHub org/user name. projectName: '1inch-docs', // Usually your repo name. + plugins: [ + [ + require.resolve('docusaurus-plugin-search-local'), + { indexPages: true, highlightSearchTermsOnTargetPage: true, searchResultLimits: 10 }, + ], + ], presets: [ [ '@docusaurus/preset-classic', diff --git a/package.json b/package.json index 3d955ba..f59cf77 100644 --- a/package.json +++ b/package.json @@ -14,21 +14,26 @@ "write-heading-ids": "docusaurus write-heading-ids" }, "dependencies": { - "@docusaurus/core": "^3.4.0", - "@docusaurus/preset-classic": "^3.4.0", - "@mdx-js/react": "^3.0.0", - "@svgr/webpack": "^5.5.0", - "buffer": "^6.0.3", - "clsx": "^1.1.1", - "docusaurus-plugin-search-local": "1.0.1", - "file-loader": "^6.2.0", - "pnpm": "^9.10.0", - "prism-react-renderer": "^2.3.1", - "react": "^18.2.0", - "react-dom": "^18.2.0", - "redoc": "^2.0.0-rc.57", + "@docusaurus/core": "3.4.0", + "@docusaurus/preset-classic": "3.4.0", + "@mdx-js/react": "3.0.0", + "@svgr/webpack": "5.5.0", + "buffer": "6.0.3", + "clsx": "1.1.1", + "docusaurus-plugin-search-local": "2.0.1", + "file-loader": "6.2.0", + "pnpm": "9.10.0", + "prism-react-renderer": "2.3.1", + "react": "18.2.0", + "react-dom": "18.2.0", + "redoc": "2.0.0-rc.57", "swagger-ui-react": "4.19.1", - "url-loader": "^4.1.1" + "url-loader": "4.1.1" + }, + "pnpm": { + "overrides": { + "cheerio": "1.0.0-rc.11" + } }, "browserslist": { "production": [ diff --git a/src/components/homepage-footer/HomepageFooter.js b/src/components/homepage-footer/HomepageFooter.js index c39827a..3774a52 100644 --- a/src/components/homepage-footer/HomepageFooter.js +++ b/src/components/homepage-footer/HomepageFooter.js @@ -130,7 +130,7 @@ export default function HomepageFooter() {
Subscribe to 1inch newsletter
Get the latest news and updates
- Subscribe