From c2fc6182a595e9d709ad3bf70e88149163e0e1d3 Mon Sep 17 00:00:00 2001 From: jiatianzhi Date: Sat, 6 Apr 2024 19:13:36 +0800 Subject: [PATCH] 24 --- docsearch.json | 2 +- docusaurus.config.ts | 10 +++++----- package.json | 4 +--- src/pages/_components/Hero/styles.module.scss | 7 ++++--- 4 files changed, 11 insertions(+), 12 deletions(-) diff --git a/docsearch.json b/docsearch.json index df2a165..b1e9cd6 100644 --- a/docsearch.json +++ b/docsearch.json @@ -62,7 +62,7 @@ "exact", "custom" ], - "highlightPreTag": "", + // "highlightPreTag": "", "highlightPostTag": "", "minWordSizefor1Typo": 3, "minWordSizefor2Typos": 7, diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 3f80b99..e1377e3 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -136,11 +136,11 @@ const config: Config = {

Copyright © 2024 Tianzhi Jia Built with Docusaurus.

`, }, - algolia: { - appId: 'GV6YN1ODMO', - apiKey: '50303937b0e4630bec4a20a14e3b7872', - indexName: 'kuizuo', - }, + // algolia: { + // appId: '', + // apiKey: '', + // indexName: '', + // }, prism: { theme: themes.oneLight, darkTheme: themes.oneDark, diff --git a/package.json b/package.json index a3053f8..2f9c796 100644 --- a/package.json +++ b/package.json @@ -28,15 +28,13 @@ "prettier:fix": "npx prettier src data --check --write", "format": "npm run prettier:fix && npm run lint:fix", "write-translations": "docusaurus write-translations", - "write-heading-ids": "docusaurus write-heading-ids", - "index": "docker run -it --env-file=.env -e \"CONFIG=$(cat docsearch.json | jq -r tostring)\" algolia/docsearch-scraper" + "write-heading-ids": "docusaurus write-heading-ids" }, "dependencies": { "@docusaurus/core": "3.1.0", "@docusaurus/plugin-ideal-image": "3.1.0", "@docusaurus/plugin-pwa": "3.1.0", "@docusaurus/preset-classic": "3.1.0", - "@docusaurus/theme-search-algolia": "3.1.0", "@giscus/react": "^2.3.0", "@popperjs/core": "^2.11.8", "@vercel/analytics": "^1.1.1", diff --git a/src/pages/_components/Hero/styles.module.scss b/src/pages/_components/Hero/styles.module.scss index 65b7ad6..89541dd 100644 --- a/src/pages/_components/Hero/styles.module.scss +++ b/src/pages/_components/Hero/styles.module.scss @@ -80,15 +80,16 @@ top: 0; width: 100%; height: 100%; - background: linear-gradient(90deg, rgb(150 255 244 / 81.3%) 0%, rgb(0 71 252 / 80.6%) 100%); + background: linear-gradient(90deg, rgba(46, 133, 85, 0.8) 0%, rgba(72, 207, 173, 0.8) 100%); border-radius: 50%; opacity: 0.3; - - // animation: heartbeat 10s infinite; filter: blur(80px); + animation: heartbeat 10s infinite; z-index: -1; } + + .box { position: absolute;