This is an automated email from the ASF dual-hosted git repository. benjobs pushed a commit to branch dev in repository https://gitbox.apache.org/repos/asf/incubator-streampark-website.git
commit 5321193aafbc1708b53c0179a64e45a87e9f8d01 Author: benjobs <[email protected]> AuthorDate: Sat Sep 9 09:20:08 2023 +0800 [Improve] style minor improvement --- docs/intro.md | 11 ++------- docusaurus.config.js | 26 +++++++++++----------- .../current/intro.md | 8 ++----- src/css/custom.css | 2 +- src/pages/download/index.less | 2 ++ src/pages/home/index.less | 4 ++++ src/pages/team/index.less | 12 +++++++--- static/home/macbook.svg | 1 + 8 files changed, 34 insertions(+), 32 deletions(-) diff --git a/docs/intro.md b/docs/intro.md index 3980f1cb..60e787cd 100644 --- a/docs/intro.md +++ b/docs/intro.md @@ -32,7 +32,7 @@ On the other hand, It can be challenge for enterprises to use Flink & Spark if t ## 🏳🌈 Architecture of StreamPark -The overall architecture of StreamPark is shown in the following figure. StreamPark consists of three parts, they are StreamPark-core, StreamPark-pump, and StreamPark-console. +The overall architecture of StreamPark is shown in the following figure. StreamPark consists of three parts, they are StreamPark-core and StreamPark-console.  @@ -42,13 +42,7 @@ The positioning of `StreamPark-core` is a framework uesd while developing, it fo StreamPark-core provides a development-time RunTime Content and a series of out-of-the-box Connectors. Cumbersome operations are simplified by extending `DataStream-related` methods and integrating DataStream and `Flink sql` api . development efficiency and development experience will be highly improved because users can focus on the business. -### 2️⃣ StreamPark-pump - -`StreamPark-pump` is a component similar to `flinkx` which is used for data extraction. It is developed based on various connectors provided in `StreamPark-core` and will be integrated into `StreamPark-console`. -The purpose of developing StreamPark-pump is to create a convenient, fast, out-of-the-box extraction and migration component for real-time big data. We expect it could solve the real-time data source fetching problem. -`StreamPark-pump` is still in planning. - -### 3️⃣ StreamPark-console +### 2️⃣ StreamPark-console `StreamPark-console` is a comprehensive real-time `low code` data platform that can manage `Flink` tasks more convenient. It integrates the experience of many best practices and integrates many functions such as project compilation, release, @@ -72,5 +66,4 @@ This platform uses technologies including but not limited to: * [Monaco Editor](https://microsoft.github.io/monaco-editor/) * ... - Thanks for the respect given by the above excellent open source projects and many unmentioned excellent open source projects diff --git a/docusaurus.config.js b/docusaurus.config.js index a4b3105b..ee3d30af 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -101,7 +101,7 @@ const config = { items: [ { to: '/docs/intro', - label: 'Document', + label: 'Documentation', position: 'left', activeBaseRegex: `/docs`, }, @@ -173,17 +173,6 @@ const config = { position: 'left', activeBaseRegex: `/user`, }, - { - to: '/blog', - label: 'Blog', - position: 'left', - activeBaseRegex: `/blog`, - }, - { - to: 'https://github.com/apache/incubator-streampark/issues/507', - position: 'left', - label: 'FAQ' - }, { label: 'ASF', position: 'left', @@ -218,6 +207,17 @@ const config = { }, ], }, + { + to: '/blog', + label: 'Blog', + position: 'left', + activeBaseRegex: `/blog`, + }, + { + to: 'https://github.com/apache/incubator-streampark/issues/507', + position: 'left', + label: 'FAQ' + }, { href: 'https://github.com/apache/incubator-streampark', label: 'GitHub', @@ -251,7 +251,7 @@ const config = { title: 'Resource', items: [ { - label: 'Document', + label: 'Documentation', href: '/docs/intro', }, { diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/intro.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/intro.md index e787093a..4c3789d8 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/intro.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/intro.md @@ -41,7 +41,7 @@ make stream processing easier!!! ## 🏳🌈 组成部分 -`StreamPark`有三部分组成,分别是`streampark-core`,`streampark-pump` 和 `streampark-console` +`StreamPark` 核心由`streampark-core` 和 `streampark-console` 组成  @@ -49,11 +49,7 @@ make stream processing easier!!! `streampark-core` 定位是一个开发时框架,关注编码开发,规范了配置文件,按照约定优于配置的方式进行开发,提供了一个开发时 `RunTime Content`和一系列开箱即用的`Connector`,扩展了`DataStream`相关的方法,融合了`DataStream`和`Flink sql` api,简化繁琐的操作,聚焦业务本身,提高开发效率和开发体验 -### 2️⃣ streampark-pump - -`pump` 是抽水机,水泵的意思,`streampark-pump`的定位是一个数据抽取的组件,类似于`flinkx`,基于`streampark-core`中提供的各种`connector`开发,目的是打造一个方便快捷,开箱即用的大数据实时数据抽取和迁移组件,并且集成到`streampark-console`中,解决实时数据源获取问题,目前在规划中 - -### 3️⃣ streampark-console +### 2️⃣ streampark-console `streampark-console` 是一个综合实时数据平台,低代码(`Low Code`)平台,可以较好的管理`Flink`任务,集成了项目编译、发布、参数配置、启动、`savepoint`,火焰图(`flame graph`),`Flink SQL`, 监控等诸多功能于一体,大大简化了`Flink`任务的日常操作和维护,融合了诸多最佳实践。旧时王谢堂前燕,飞入寻常百姓家,让大公司有能力研发使用的项目,现在人人可以使用, diff --git a/src/css/custom.css b/src/css/custom.css index 05c80f67..57dc22e8 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -379,7 +379,7 @@ footer .subscribe-box ul li a:hover .wechat-dropdown { } .theme-doc-sidebar-menu:not(#\#):not(#\#) { - font-size: 0.813rem; + font-size: 0.95rem; } .theme-doc-sidebar-item-link-level-1:not(:first-child):not(#\#):not(#\#), diff --git a/src/pages/download/index.less b/src/pages/download/index.less index 94e36ac8..b4455e7b 100644 --- a/src/pages/download/index.less +++ b/src/pages/download/index.less @@ -1,6 +1,7 @@ @import url('/src/styles/variable.less'); [data-theme="dark"] .download_page .custom-info-block { background-color: rgba(255, 255, 255, 0.07) !important; + border: 1px solid #5e44ee; color: #b5bbc5; .custom-block-title{ color: #f3f4f5; @@ -44,6 +45,7 @@ position: relative; padding: 4px 0; } + } .table-ui { diff --git a/src/pages/home/index.less b/src/pages/home/index.less index 223a400b..6ac31d2a 100644 --- a/src/pages/home/index.less +++ b/src/pages/home/index.less @@ -1683,6 +1683,10 @@ hr { color: #2e7fed; } +[data-theme='dark'] .system_info .project_title { + color: #5e44ee; +} + .system_info h5 { font-weight: 500; font-size: 1.1rem; diff --git a/src/pages/team/index.less b/src/pages/team/index.less index 95175d98..c61f5781 100644 --- a/src/pages/team/index.less +++ b/src/pages/team/index.less @@ -114,6 +114,10 @@ box-shadow: 0 .375rem 1.5rem 0 rgba(87,96,113,.125)!important; } +[data-theme="dark"] .team-user-img { + border: 5px solid #95999c; +} + .hover-top-in .hover-top--in { transition: ease-in-out all .35s; position: relative; @@ -130,7 +134,7 @@ border-radius: .75rem; box-shadow: 0 .375rem 1.5rem 0 rgba(87,96,113,.125)!important; } -.team-link{ +.team-link { background-color: #fff; border-radius: 50%; width: 1.5rem; @@ -142,19 +146,21 @@ font-size: 75%; line-height: normal; margin-right:.25rem; - .github-icon{ + .github-icon { width: 20px ; height: 20px; color: #fff; } } +[data-theme="dark"] .team-link { + background-color: #95999c; +} [data-theme="dark"] { .bg-team { background-color: rgb(14,17,20)!important; - } } .team-name{ diff --git a/static/home/macbook.svg b/static/home/macbook.svg new file mode 100644 index 00000000..ca0c41be --- /dev/null +++ b/static/home/macbook.svg @@ -0,0 +1 @@ +<svg viewBox="0 0 917 534" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Mackbook Mockup - Designed for Webpixels in Sketch</title> <defs> <path d="M202.501322,490.883185 C129.080842,490.883185 120.637846,491.125644 10.269156,491.666346 L2.920822,494.243525 C14.634334,497.578823 49.784748,506.985609 62.097226,506.985609 L838.723546,506.985609 C845.80697,506.985609 860.14803,503.929573 872.938244,500.809792 C886.260074,497.559861 897.9 [...]
