diff --git a/src/pages/home/hero.jsx b/src/pages/home/hero.jsx index 7a616a9fc..c31bd2f5a 100644 --- a/src/pages/home/hero.jsx +++ b/src/pages/home/hero.jsx @@ -20,81 +20,59 @@ export default function () {
-
+
{/* background overlay */}
-
+
Incubating
- Apache StreamPark + Apache StreamPark™

{dataSource.slogan.description}

-
- - + +  GitHub + + +  Get started + +
+ + +
{/* hero image */} {HeroImage()}
- -
- {/*
-
-
-
3.7k+
-
Github stars
-
-
-
964
-
Github forks
-
-
-
9.9k+
-
Total downloads
-
-
-
*/} - - {/*
- -
*/} - {/* */} +
+ +
); @@ -114,7 +92,6 @@ function HeroImage() { >
@@ -248,4 +225,4 @@ function AchievementBanner() {
); -} \ No newline at end of file +} diff --git a/src/pages/home/index.less b/src/pages/home/index.less index 3e4ec7a35..a63fb5db5 100644 --- a/src/pages/home/index.less +++ b/src/pages/home/index.less @@ -19,7 +19,7 @@ } .top2 { - margin-top: -50px; + margin-top: -70px; } .hero-main { @@ -30,8 +30,8 @@ } .hero-px { - padding-left: 6rem; - padding-right: 6rem; + padding-left: 4rem; + padding-right: 4rem; } .cover-top { @@ -39,20 +39,17 @@ flex-direction: column; border-bottom: 2px solid var(--primary-color); vertical-align: bottom; - height: 180px; + height: 200px; transform: scaleX(3) rotate(-3deg); } .system_info { .project_title { font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Open Sans, Helvetica Neue, sans-serif !important; - font-size: 4rem; - font-weight: 500; + font-weight: 200; line-height: 1; padding-bottom: 8px; - color: var(--primary-color); - position: relative; - white-space: nowrap; + color: #2e7fed; } h5 { @@ -246,6 +243,7 @@ .shields img { margin-right: 5px; + border-radius: 5px; } } @@ -626,8 +624,10 @@ } .incubating { - background-color: rgba(66, 144, 245, .15); - + background-color: rgba(66, 144, 245, 0.15); + padding: 0.25em 0.7em; + color: #084696; + font-weight: 400; &:hover { background-color: rgba(66, 144, 245, .25); } @@ -724,13 +724,13 @@ @media (min-width: 1200px) { .system_info .project_title { - font-size: 3rem !important; + font-size: 3.5rem !important; } } @media (min-width: 1400px) { .system_info .project_title { - font-size: 3.5rem !important; + font-size: 4.0rem !important; } } @@ -755,4 +755,4 @@ } } -} \ No newline at end of file +} diff --git a/src/pages/home/languages.json b/src/pages/home/languages.json index a4fa1479c..64bbe8759 100644 --- a/src/pages/home/languages.json +++ b/src/pages/home/languages.json @@ -19,7 +19,7 @@ }, "slogan": { "key": "让流处理更简单!", - "description": "流处理极速开发框架,流批一体 & 湖仓一体的云原生平台,一站式流处理计算平台" + "description": "流处理开发框架 & 一站式实时计算平台,同时支持 Apache Flink 和 Apache Spark。" }, "feature": [ {