diff --git a/docs/src/components/LandingPage/GithubInfo.jsx b/docs/src/components/LandingPage/GithubInfo.jsx index bd8d9f57..d3299119 100644 --- a/docs/src/components/LandingPage/GithubInfo.jsx +++ b/docs/src/components/LandingPage/GithubInfo.jsx @@ -7,15 +7,15 @@ const GithubInfo = ({ owner, repo }) => { return (
-
+
star
-
+
{favorites || 4621}
-
+ {/*
language
@@ -24,18 +24,18 @@ const GithubInfo = ({ owner, repo }) => { {language || "java"}
-
+
*/}
-
+
forks
-
+
{forks || 1020}
-
+ {/*
license
@@ -44,7 +44,7 @@ const GithubInfo = ({ owner, repo }) => { Apache 2
-
+
*/}
); }; diff --git a/docs/src/components/LandingPage/Hero.jsx b/docs/src/components/LandingPage/Hero.jsx index 3be732c6..ec730c3b 100644 --- a/docs/src/components/LandingPage/Hero.jsx +++ b/docs/src/components/LandingPage/Hero.jsx @@ -9,29 +9,31 @@ const Hero = () => { const bgUrl = useBaseUrl("/img/bg.jpg"); return ( -
+
-
+
+ +
{/* */}
{/* title and desc */}
-

- Hippo4j +

+ Hippo4j Thread Pool

-

+ {/*

Thread Pool Framework For Java -

-

+

*/} +

{ {/* button group */}

- - - + */} + + + {/* + + + + */} + {/* + + + + */} + + Start Learning + + + + + + + + + {" "} + + Github + + {/*
+ + GitHub +
*/} +
+
{/* github info */}
+ + {/* button test */} +
{/* */} -
+
Hippo4j System diff --git a/docs/src/components/LandingPage/Introduction.jsx b/docs/src/components/LandingPage/Introduction.jsx index 41a78df5..5ff03882 100644 --- a/docs/src/components/LandingPage/Introduction.jsx +++ b/docs/src/components/LandingPage/Introduction.jsx @@ -3,18 +3,19 @@ import useBaseUrl from "@docusaurus/useBaseUrl"; import Translate from "@docusaurus/Translate"; const Introduction = () => { return ( -
+
-
-
+
+
Hippo4j System + {/*
*/}
-

+

{

-
+

@@ -90,21 +91,21 @@ const Introduction = () => {
{/* */} Hippo4j System

-
+
Hippo4j System
-
+

{
{/* */} Hippo4j System
diff --git a/docs/src/css/custom.css b/docs/src/css/custom.css index 8701dc1b..92a830cb 100644 --- a/docs/src/css/custom.css +++ b/docs/src/css/custom.css @@ -11,7 +11,7 @@ @tailwind utilities; @import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap"); - +@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@700&display=swap"); :root { /* See css var + hsl color palette technique: @@ -47,6 +47,9 @@ html[data-theme="dark"] { --ifm-color-primary-lightest: hsl( var(--site-primary-hue-saturation-light) 58% ); + + --ifm-breadcrumb-item-background-active: #0000000d; + --ifm-breadcrumb-color-active: #2160fd; } [data-theme="dark"] { @@ -62,6 +65,9 @@ html[data-theme="dark"] { --ifm-color-primary-lightest: hsl( var(--site-primary-hue-saturation-light) 73% ); + + /* --ifm-breadcrumb-item-background-active: #333333; */ + --ifm-breadcrumb-color-active: #ffffff; } .docusaurus-highlight-code-line { @@ -220,30 +226,36 @@ div[class^="announcementBar_"] { } } -/* Custom by youbo */ +/* Custom */ .bg-cousom { background-position: 50% 65%; } -.bg-svg { - background-color: #ffffff; - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='192' height='192' viewBox='0 0 192 192'%3E%3Cpath fill='%23c2b9cf' fill-opacity='0.31' d='M192 15v2a11 11 0 0 0-11 11c0 1.94 1.16 4.75 2.53 6.11l2.36 2.36a6.93 6.93 0 0 1 1.22 7.56l-.43.84a8.08 8.08 0 0 1-6.66 4.13H145v35.02a6.1 6.1 0 0 0 3.03 4.87l.84.43c1.58.79 4 .4 5.24-.85l2.36-2.36a12.04 12.04 0 0 1 7.51-3.11 13 13 0 1 1 .02 26 12 12 0 0 1-7.53-3.11l-2.36-2.36a4.93 4.93 0 0 0-5.24-.85l-.84.43a6.1 6.1 0 0 0-3.03 4.87V143h35.02a8.08 8.08 0 0 1 6.66 4.13l.43.84a6.91 6.91 0 0 1-1.22 7.56l-2.36 2.36A10.06 10.06 0 0 0 181 164a11 11 0 0 0 11 11v2a13 13 0 0 1-13-13 12 12 0 0 1 3.11-7.53l2.36-2.36a4.93 4.93 0 0 0 .85-5.24l-.43-.84a6.1 6.1 0 0 0-4.87-3.03H145v35.02a8.08 8.08 0 0 1-4.13 6.66l-.84.43a6.91 6.91 0 0 1-7.56-1.22l-2.36-2.36A10.06 10.06 0 0 0 124 181a11 11 0 0 0-11 11h-2a13 13 0 0 1 13-13c2.47 0 5.79 1.37 7.53 3.11l2.36 2.36a4.94 4.94 0 0 0 5.24.85l.84-.43a6.1 6.1 0 0 0 3.03-4.87V145h-35.02a8.08 8.08 0 0 1-6.66-4.13l-.43-.84a6.91 6.91 0 0 1 1.22-7.56l2.36-2.36A10.06 10.06 0 0 0 107 124a11 11 0 0 0-22 0c0 1.94 1.16 4.75 2.53 6.11l2.36 2.36a6.93 6.93 0 0 1 1.22 7.56l-.43.84a8.08 8.08 0 0 1-6.66 4.13H49v35.02a6.1 6.1 0 0 0 3.03 4.87l.84.43c1.58.79 4 .4 5.24-.85l2.36-2.36a12.04 12.04 0 0 1 7.51-3.11A13 13 0 0 1 81 192h-2a11 11 0 0 0-11-11c-1.94 0-4.75 1.16-6.11 2.53l-2.36 2.36a6.93 6.93 0 0 1-7.56 1.22l-.84-.43a8.08 8.08 0 0 1-4.13-6.66V145H11.98a6.1 6.1 0 0 0-4.87 3.03l-.43.84c-.79 1.58-.4 4 .85 5.24l2.36 2.36a12.04 12.04 0 0 1 3.11 7.51A13 13 0 0 1 0 177v-2a11 11 0 0 0 11-11c0-1.94-1.16-4.75-2.53-6.11l-2.36-2.36a6.93 6.93 0 0 1-1.22-7.56l.43-.84a8.08 8.08 0 0 1 6.66-4.13H47v-35.02a6.1 6.1 0 0 0-3.03-4.87l-.84-.43c-1.59-.8-4-.4-5.24.85l-2.36 2.36A12 12 0 0 1 28 109a13 13 0 1 1 0-26c2.47 0 5.79 1.37 7.53 3.11l2.36 2.36a4.94 4.94 0 0 0 5.24.85l.84-.43A6.1 6.1 0 0 0 47 84.02V49H11.98a8.08 8.08 0 0 1-6.66-4.13l-.43-.84a6.91 6.91 0 0 1 1.22-7.56l2.36-2.36A10.06 10.06 0 0 0 11 28 11 11 0 0 0 0 17v-2a13 13 0 0 1 13 13c0 2.47-1.37 5.79-3.11 7.53l-2.36 2.36a4.94 4.94 0 0 0-.85 5.24l.43.84A6.1 6.1 0 0 0 11.98 47H47V11.98a8.08 8.08 0 0 1 4.13-6.66l.84-.43a6.91 6.91 0 0 1 7.56 1.22l2.36 2.36A10.06 10.06 0 0 0 68 11 11 11 0 0 0 79 0h2a13 13 0 0 1-13 13 12 12 0 0 1-7.53-3.11l-2.36-2.36a4.93 4.93 0 0 0-5.24-.85l-.84.43A6.1 6.1 0 0 0 49 11.98V47h35.02a8.08 8.08 0 0 1 6.66 4.13l.43.84a6.91 6.91 0 0 1-1.22 7.56l-2.36 2.36A10.06 10.06 0 0 0 85 68a11 11 0 0 0 22 0c0-1.94-1.16-4.75-2.53-6.11l-2.36-2.36a6.93 6.93 0 0 1-1.22-7.56l.43-.84a8.08 8.08 0 0 1 6.66-4.13H143V11.98a6.1 6.1 0 0 0-3.03-4.87l-.84-.43c-1.59-.8-4-.4-5.24.85l-2.36 2.36A12 12 0 0 1 124 13a13 13 0 0 1-13-13h2a11 11 0 0 0 11 11c1.94 0 4.75-1.16 6.11-2.53l2.36-2.36a6.93 6.93 0 0 1 7.56-1.22l.84.43a8.08 8.08 0 0 1 4.13 6.66V47h35.02a6.1 6.1 0 0 0 4.87-3.03l.43-.84c.8-1.59.4-4-.85-5.24l-2.36-2.36A12 12 0 0 1 179 28a13 13 0 0 1 13-13zM84.02 143a6.1 6.1 0 0 0 4.87-3.03l.43-.84c.8-1.59.4-4-.85-5.24l-2.36-2.36A12 12 0 0 1 83 124a13 13 0 1 1 26 0c0 2.47-1.37 5.79-3.11 7.53l-2.36 2.36a4.94 4.94 0 0 0-.85 5.24l.43.84a6.1 6.1 0 0 0 4.87 3.03H143v-35.02a8.08 8.08 0 0 1 4.13-6.66l.84-.43a6.91 6.91 0 0 1 7.56 1.22l2.36 2.36A10.06 10.06 0 0 0 164 107a11 11 0 0 0 0-22c-1.94 0-4.75 1.16-6.11 2.53l-2.36 2.36a6.93 6.93 0 0 1-7.56 1.22l-.84-.43a8.08 8.08 0 0 1-4.13-6.66V49h-35.02a6.1 6.1 0 0 0-4.87 3.03l-.43.84c-.79 1.58-.4 4 .85 5.24l2.36 2.36a12.04 12.04 0 0 1 3.11 7.51A13 13 0 1 1 83 68a12 12 0 0 1 3.11-7.53l2.36-2.36a4.93 4.93 0 0 0 .85-5.24l-.43-.84A6.1 6.1 0 0 0 84.02 49H49v35.02a8.08 8.08 0 0 1-4.13 6.66l-.84.43a6.91 6.91 0 0 1-7.56-1.22l-2.36-2.36A10.06 10.06 0 0 0 28 85a11 11 0 0 0 0 22c1.94 0 4.75-1.16 6.11-2.53l2.36-2.36a6.93 6.93 0 0 1 7.56-1.22l.84.43a8.08 8.08 0 0 1 4.13 6.66V143h35.02z'%3E%3C/path%3E%3C/svg%3E"); -} - :root[data-theme="light"] { --hero-image-url: url("../../static/img/hero/hero-removebg.png"); - --hero-bg-url: url("../../static/img/hero/bg.jpg"); + --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"); } :root[data-theme="dark"] { - --hero-image-url: url("../../static/img/hero/hero.jpg"); - /* --hero-bg-url:url("../../static/img/bg.jpg"); */ + --hero-image-url: url("../../static/img/hero/hero-removebg.png"); + --bg-background-color: #1b1b1d; + --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='%239C92AC' 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-svg { + background-color: var(--bg-background-color); + background-image: var(--bg-background-image); } .hero-img { content: var(--hero-image-url); } -.hero-bg-img { - background-image: var(--hero-bg-url); +.h-custom { + height: 65vh; +} + +.font-jakarta { + font-family: "Plus Jakarta Sans", sans-serif; } diff --git a/docs/src/pages/users.js b/docs/src/pages/users.js index be8b207c..a782dc7f 100644 --- a/docs/src/pages/users.js +++ b/docs/src/pages/users.js @@ -6,39 +6,31 @@ import Translate from "@docusaurus/Translate"; function CompanyCards({ companies }) { return (
- {companies.map((company) => ( -
window.open(company.url)} - key={company.url} - className="bg-white rounded-lg overflow-hidden shadow-sm transform cursor-pointer transition-all duration-500 hover:scale-110" - style={{ border: "1px solid #E5E7EB" }} - > -
-
- {`${company.name}`} { - e.target.style.display = "none"; // Hide the image if it fails to load - e.target.nextSibling.style.display = "flex"; // Show the alt text - }} - /> + {/* Filter out those without a logo. */} + {companies + .filter((comapny) => comapny.logo.length > 0) + .map((company) => ( +
window.open(company.url)} + key={company.url} + // className="bg-white rounded-lg overflow-hidden shadow-sm transform cursor-pointer transition-all duration-500 hover:scale-110" + className="bg-white rounded-lg overflow-hidden shadow-sm transform cursor-pointer transition-all duration-500 hover:scale-110" + style={{ border: "1px solid #E5E7EB" }} + > +
- {company.name} + {`${company.name}`}
-
- ))} + ))}
); } @@ -81,7 +73,7 @@ export default function OurUsers() { {" "} - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + diff --git a/docs/static/img/company_logos/duofriend.png b/docs/static/img/company_logos/duofriend.png index 3fc1dfff..fea60c3f 100644 Binary files a/docs/static/img/company_logos/duofriend.png and b/docs/static/img/company_logos/duofriend.png differ diff --git a/docs/static/img/company_logos/geely.jpg b/docs/static/img/company_logos/geely.jpg index 3655d56c..ca5ce4ee 100644 Binary files a/docs/static/img/company_logos/geely.jpg and b/docs/static/img/company_logos/geely.jpg differ diff --git a/docs/static/img/company_logos/hua-cloud.jpg b/docs/static/img/company_logos/hua-cloud.jpg new file mode 100644 index 00000000..0bb358b9 Binary files /dev/null and b/docs/static/img/company_logos/hua-cloud.jpg differ diff --git a/docs/static/img/company_logos/hua-cloud.png b/docs/static/img/company_logos/hua-cloud.png deleted file mode 100644 index bda7a85c..00000000 Binary files a/docs/static/img/company_logos/hua-cloud.png and /dev/null differ diff --git a/docs/static/img/company_logos/lbdj.png b/docs/static/img/company_logos/lbdj.png deleted file mode 100644 index 80b839cf..00000000 Binary files a/docs/static/img/company_logos/lbdj.png and /dev/null differ diff --git a/docs/static/img/company_logos/lbdj.svg b/docs/static/img/company_logos/lbdj.svg new file mode 100644 index 00000000..e4c5c141 --- /dev/null +++ b/docs/static/img/company_logos/lbdj.svg @@ -0,0 +1,146 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/static/img/company_logos/qyzl.jpg b/docs/static/img/company_logos/qyzl.jpg new file mode 100644 index 00000000..109d1aed Binary files /dev/null and b/docs/static/img/company_logos/qyzl.jpg differ diff --git a/docs/static/img/company_logos/qyzl.png b/docs/static/img/company_logos/qyzl.png deleted file mode 100644 index 98c08793..00000000 Binary files a/docs/static/img/company_logos/qyzl.png and /dev/null differ diff --git a/docs/static/img/company_logos/tophant.png b/docs/static/img/company_logos/tophant.png index 560e9262..570adcd9 100644 Binary files a/docs/static/img/company_logos/tophant.png and b/docs/static/img/company_logos/tophant.png differ diff --git a/docs/static/img/company_logos/uyess.jpg b/docs/static/img/company_logos/uyess.jpg new file mode 100644 index 00000000..63f6c575 Binary files /dev/null and b/docs/static/img/company_logos/uyess.jpg differ diff --git a/docs/static/img/company_logos/ziroom.png b/docs/static/img/company_logos/ziroom.png index c4b650c3..e3b625d4 100644 Binary files a/docs/static/img/company_logos/ziroom.png and b/docs/static/img/company_logos/ziroom.png differ diff --git a/docs/static/img/company_logos/zzltsw.jpg b/docs/static/img/company_logos/zzltsw.jpg new file mode 100644 index 00000000..35eec51e Binary files /dev/null and b/docs/static/img/company_logos/zzltsw.jpg differ diff --git a/docs/static/img/company_logos/zzltsw.png b/docs/static/img/company_logos/zzltsw.png deleted file mode 100644 index e3c05be3..00000000 Binary files a/docs/static/img/company_logos/zzltsw.png and /dev/null differ diff --git a/docs/static/img/introduction/p11.svg b/docs/static/img/introduction/p11.svg new file mode 100644 index 00000000..5286c350 --- /dev/null +++ b/docs/static/img/introduction/p11.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/static/img/introduction/p22.svg b/docs/static/img/introduction/p22.svg new file mode 100644 index 00000000..9a82acb0 --- /dev/null +++ b/docs/static/img/introduction/p22.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/static/img/introduction/p3.svg b/docs/static/img/introduction/p3.svg index b5c179e2..d7078a32 100644 --- a/docs/static/img/introduction/p3.svg +++ b/docs/static/img/introduction/p3.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/docs/static/img/introduction/p33.svg b/docs/static/img/introduction/p33.svg new file mode 100644 index 00000000..cb7e6e12 --- /dev/null +++ b/docs/static/img/introduction/p33.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/static/img/introduction/t2.svg b/docs/static/img/introduction/t2.svg new file mode 100644 index 00000000..6d9f7370 --- /dev/null +++ b/docs/static/img/introduction/t2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/static/img/introduction/title-image.svg b/docs/static/img/introduction/title-image.svg deleted file mode 100644 index d7078a32..00000000 --- a/docs/static/img/introduction/title-image.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/docs/static/json/company_logo.json b/docs/static/json/company_logo.json index d9b7fafb..8f61fc5b 100644 --- a/docs/static/json/company_logo.json +++ b/docs/static/json/company_logo.json @@ -26,7 +26,7 @@ }, { "name": "轻松到家", - "logo": "", + "logo": "/img/company_logos/uyess.jpg", "url": "http://www.uyess.com/index.html" }, { @@ -41,7 +41,7 @@ }, { "name": "萨科(深圳)科技有限公司", - "logo": "/img/company_logos/lbdj.png", + "logo": "/img/company_logos/lbdj.svg", "url": "https://www.lbdj.com/" }, { @@ -66,8 +66,8 @@ }, { "name": "众合云科(51社保)", - "logo": "", - "url": "https://home.101hr.com/" + "logo": "/img/company_logos/51shebao.png", + "url": "https://www.51shebao.com/?baidupz&guanfang/" }, { "name": "好货云店", @@ -96,7 +96,7 @@ }, { "name": "浙江吉利控股集团有限公司", - "logo": "/img/company_logos/geely.png", + "logo": "/img/company_logos/geely.jpg", "url": "https://www.geely.com/" }, { @@ -111,7 +111,7 @@ }, { "name": "郑州力通水务", - "logo": "/img/company_logos/zzltsw.png", + "logo": "/img/company_logos/zzltsw.jpg", "url": "http://www.zzltsw.com/" }, { @@ -126,7 +126,7 @@ }, { "name": "中新软件(上海)有限公司", - "logo": "", + "logo": "/img/company_logos/5000m.jpg", "url": "http://www.5000m.com" }, { @@ -136,12 +136,12 @@ }, { "name": "兰亭集势(成都)科技有限公司", - "logo": "/img/company_logos/lightinthebox.png", + "logo": "/img/company_logos/lightinthebox.avif", "url": "https://www.lightinthebox.com/" }, { "name": "杭州数理大数据有限公司", - "logo": "", + "logo": "/img/company_logos/data4truth.jpg", "url": "https://www.data4truth.com/#/" }, { @@ -151,7 +151,7 @@ }, { "name": "新华智云科技有限公司", - "logo": "/img/company_logos/xinhuazhiyun.png", + "logo": "/img/company_logos/xinhuazhiyun.svg", "url": "https://www.xinhuazhiyun.com" }, { @@ -161,7 +161,7 @@ }, { "name": "深圳市帮客帮科技有限公司", - "logo": "/img/company_logos/bangkebang.png", + "logo": "/img/company_logos/bangkebang.jpg", "url": "https://www.bangkebang.com" }, { @@ -181,7 +181,7 @@ }, { "name": "广联达科技股份有限公司", - "logo": "/img/company_logos/glodon.png", + "logo": "/img/company_logos/glodon.jpg", "url": "https://www.glodon.com" }, { @@ -201,12 +201,12 @@ }, { "name": "成都全域智旅科技有限公司", - "logo": "/img/company_logos/qyzl.png", + "logo": "/img/company_logos/qyzl.jpg", "url": "http://qyzl.com" }, { "name": "深圳市华云中盛科技股份有限公司", - "logo": "/img/company_logos/hua-cloud.png", + "logo": "/img/company_logos/hua-cloud.jpg", "url": "http://www.hua-cloud.cn" }, {