diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index 105bd70d..db669315 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -93,10 +93,6 @@ const config = { autoCollapseCategories: true, announcementBar: { id: "announcementBar-1", // Increment on change - // content: `⭐️ If you like hippo4j, give it a star on Gitee, thanks.`, - // content: `⭐️ 如果您喜欢 hippo4j,请在 GiteeGitHub 上给它一个 star,谢谢!`, - // content: `⭐️ 开源不易,如果 Hippo4j 对您有帮助,请在 GitHub 上给它一个 Star 🌟`, - // content: `👉 《小马哥的代码实战课》官方知识星球来啦!!!`, content: '⭐️ If you like hippo4j, give it a star on GitHub ⭐️', backgroundColor: "#fafbfc", diff --git a/docs/src/components/LandingPage/GithubInfo.jsx b/docs/src/components/LandingPage/GithubInfo.jsx index 0a0fa074..d3299119 100644 --- a/docs/src/components/LandingPage/GithubInfo.jsx +++ b/docs/src/components/LandingPage/GithubInfo.jsx @@ -8,7 +8,7 @@ const GithubInfo = ({ owner, repo }) => {
- stars + star
{favorites || 4621} diff --git a/docs/src/components/LandingPage/Hero.jsx b/docs/src/components/LandingPage/Hero.jsx index 24ac6676..c83adf73 100644 --- a/docs/src/components/LandingPage/Hero.jsx +++ b/docs/src/components/LandingPage/Hero.jsx @@ -9,30 +9,19 @@ const Hero = () => { const bgUrl = useBaseUrl("/img/bg.jpg"); return ( -
-
+
+
{/*
*/} -
+
{/* */}
{/* title and desc */}
-

- Hippo4j ThreadPool +

+ Hippo4j Thread Pool

- {/*

- - Thread Pool Framework For Java - -

*/}

{ {/* button group */}

- {/* - - - - - */} - {/* - - - - */} - {/* - - - - */} + Start Learning @@ -125,13 +61,6 @@ const Hero = () => { /> Github - {/*
- - GitHub -
*/} { return ( -
-
-
+
+
+
Hippo4j System {/*
*/}
-

+

{ What can Hippo4j do?

- {/*

- - Hippo4j is a Java thread pool framework. - -

*/} -

+ +

{

-
+
-
-

+
+ Hippo4j System +
+
+

{ Dynamic Change

-
+

@@ -66,48 +66,13 @@ const Introduction = () => { parameters. {" "}

-

- - Including but not limited to core size, maximum threads, - blocking queue size, and rejection policy. - -

-

- - It supports differentiated thread pool configurations for - different nodes in the application cluster. - -

-
- {/* */} - Hippo4j System -
-
-
- Hippo4j System -
-
-
-

+
+
+
+

{ Custom Alarm

-
+

{ alarm dimensions.

-

- - Thread pool overload, blocking queue capacity, running for - too long, and rejection strategy alarm. - {" "} -

-

- - It also supports non-repetitive alarms within a custom - time period. - -

+
+ Hippo4j System +
-
-
-

+ +
+
+ Hippo4j System +
+
+

{ Operation Monitoring

-
-

+

+

{ storage.

-

- - while also supporting Prometheus, InfluxDB, and other - monitoring systems. - -

-

- - Provides visualized dashboard monitoring metrics through - Grafana or built-in monitoring pages. - -

-
- {/* */} - Hippo4j System -

diff --git a/docs/src/css/custom.css b/docs/src/css/custom.css index ffb86746..6d1f8874 100644 --- a/docs/src/css/custom.css +++ b/docs/src/css/custom.css @@ -39,7 +39,6 @@ html[data-theme="dark"] { } [data-theme="light"] { - /* --ifm-color-primary: hsl(var(--site-primary-hue-saturation) 30%); */ --ifm-color-primary: #2160fd; --ifm-color-primary-dark: hsl(var(--site-primary-hue-saturation) 26%); --ifm-color-primary-darker: hsl(var(--site-primary-hue-saturation) 23%); @@ -55,7 +54,6 @@ html[data-theme="dark"] { } [data-theme="dark"] { - /* --ifm-color-primary: hsl(var(--site-primary-hue-saturation) 45%); */ --ifm-color-primary: #1a90ff; --ifm-color-primary-dark: hsl(var(--site-primary-hue-saturation) 41%); --ifm-color-primary-darker: hsl(var(--site-primary-hue-saturation) 38%); @@ -68,6 +66,8 @@ html[data-theme="dark"] { --ifm-color-primary-lightest: hsl( var(--site-primary-hue-saturation-light) 73% ); + --ifm-breadcrumb-item-background-active: #222222; + --ifm-breadcrumb-color-active: #1a90ff; } .docusaurus-highlight-code-line { @@ -124,8 +124,6 @@ html[data-theme="dark"] { } [data-theme="light"] .DocSearch { - /* --docsearch-primary-color: var(--ifm-color-primary); */ - /* --docsearch-text-color: var(--ifm-font-color-base); */ --docsearch-muted-color: var(--ifm-color-emphasis-700); --docsearch-container-background: rgb(94 100 112 / 70%); /* Modal */ @@ -233,8 +231,6 @@ div[class^="announcementBar_"] { :root[data-theme="light"] { --hero-image-url: url("../../static/img/hero/hero-removebg.png"); - /* --bg-background-color: #f9fafb; */ - /* --bg-background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cg fill='%23bfbfbf' fill-opacity='0.4'%3E%3Cpath fill-rule='evenodd' d='M5 3.59L1.46.05.05 1.46 3.59 5 .05 8.54l1.41 1.41L5 6.41l3.54 3.54 1.41-1.41L6.41 5l3.54-3.54L8.54.05 5 3.59zM17 2h24v2H17V2zm0 4h24v2H17V6zM2 17h2v24H2V17zm4 0h2v24H6V17z'/%3E%3C/g%3E%3C/svg%3E"); */ --bg-background-color: #ffffff; --bg-background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='199' viewBox='0 0 100 199'%3E%3Cg fill='%23dddddd' fill-opacity='0.4'%3E%3Cpath d='M0 199V0h1v1.99L100 199h-1.12L1 4.22V199H0zM100 2h-.12l-1-2H100v2z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E"); } @@ -277,6 +273,7 @@ nav.menu { --ifm-menu-color-background-active: var(--docs-color-primary-tint); } +/* other style */ ::selection { --tw-text-opacity: 1; background-color: rgb(var(--docs-color-primary-200, 33 96 253) / 0.8); @@ -296,3 +293,11 @@ div[class^="announcementBar_"] a { text-decoration: underline; color: #091e42; } + +.introduction-container { + color: #1c1e21; +} +.three-part-container p { + margin: 0; + line-height: 2; +} diff --git a/docs/src/pages/index.js b/docs/src/pages/index.js index 0ed6df93..12c66c3f 100644 --- a/docs/src/pages/index.js +++ b/docs/src/pages/index.js @@ -44,14 +44,7 @@ function HomepageHeader() { export default function Home() { const { siteConfig } = useDocusaurusContext(); - // useEffect(() => { - // // Set the content of the banner based on the URL. - // let inner = location.href.includes("3000") - // ? '⭐️ If you like hippo4j, give it a star on   GitHub  ⭐️ ' - // : '⭐️ 源不易,如果 Hippo4j 对您有帮助,请在 GitHub 上给它一个 Star 🌟'; - // let el = document.querySelector('[class^="announcementBar_"]'); - // el.innerHTML = inner; - // }, []); + return ( +
{/* Filter out those without a logo. */} {companies .filter((comapny) => comapny.logo.length > 0) @@ -19,13 +19,13 @@ function CompanyCards({ companies }) { >
{`${company.name}`}
@@ -39,9 +39,9 @@ export default function OurUsers() {
{/* text description*/} -
+
-

+

-

+

{" "}

-

+