Skip to content

Commit

Permalink
Merge pull request #21 from 1inch/LAND-780
Browse files Browse the repository at this point in the history
fix(LAND-780): fixed the search
  • Loading branch information
pavelkurmacheff authored Sep 17, 2024
2 parents eb3c101 + a4b5a53 commit edf87ae
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 15 deletions.
6 changes: 6 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
33 changes: 19 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
2 changes: 1 addition & 1 deletion src/components/homepage-footer/HomepageFooter.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export default function HomepageFooter() {
<div>
<p className={styles.footerSubscribeTitle}>Subscribe to 1inch newsletter</p>
<p className={styles.footerSubscribeText}>Get the latest news and updates</p>
<Link to='https://cdn.forms-content.sg-form.com/b14fb08e-939b-11eb-873a-46ac7bfee17b'
<Link to='https://1inch.io/newsletter/'
className={styles.footerSubscribeButton}>
<span className={styles.footerSubscribeButtonText}>Subscribe</span>
<ChevronRightImg/>
Expand Down

0 comments on commit edf87ae

Please sign in to comment.