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
The following commit(s) were added to refs/heads/dev by this push:
new 042dea6 home page style minor improvement
042dea6 is described below
commit 042dea68243ae599d915b1ea196da286338f4da2
Author: benjobs <[email protected]>
AuthorDate: Fri Sep 8 14:48:51 2023 +0800
home page style minor improvement
---
src/pages/home/index.less | 4 ++++
src/pages/home/performance.jsx | 2 +-
static/home/coding.svg | 7 ++-----
3 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/src/pages/home/index.less b/src/pages/home/index.less
index 9981470..e8c40ab 100644
--- a/src/pages/home/index.less
+++ b/src/pages/home/index.less
@@ -1649,6 +1649,10 @@ hr {
content: url("/home/code-bg1.png");
}
+.coder-bg {
+ text-align: center;
+}
+
.cover-top {
display: flex;
flex-direction: column;
diff --git a/src/pages/home/performance.jsx b/src/pages/home/performance.jsx
index 6cb172a..ac4cad9 100644
--- a/src/pages/home/performance.jsx
+++ b/src/pages/home/performance.jsx
@@ -45,7 +45,7 @@ export default function () {
</ol>
</div>
<div className="col-6 mb-5 align-self-center">
- <div className="mb-5 my-lg-0" data-aos="fade-left"
data-aos-delay="100">
+ <div className="mb-5 my-lg-0 coder-bg" data-aos="fade-left"
data-aos-delay="100">
<img className="coder" width="60%"></img>
</div>
</div>
diff --git a/static/home/coding.svg b/static/home/coding.svg
index 1df99d5..76d6ef5 100644
--- a/static/home/coding.svg
+++ b/static/home/coding.svg
@@ -2,13 +2,10 @@
viewBox="0 0 509.23 364.6">
<style>
.coding_theme {
- fill:none;
- stroke:#2f80ec;
- stroke-width:5;
- stroke-miterlimit:10;
+ fill:#fff;
}
[data-theme='dark'] .coding_theme {
- stroke:#4f46e4;
+ fill:#4f46e4;
}
</style>
<defs>