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/streampark-website.git
The following commit(s) were added to refs/heads/dev by this push:
new 4455d8fa [Improve] dark theme mode style improvement
4455d8fa is described below
commit 4455d8fa18f0b7be4c0c38841f585d184b9a62d4
Author: benjobs <[email protected]>
AuthorDate: Tue Feb 11 16:43:41 2025 +0800
[Improve] dark theme mode style improvement
---
src/pages/home/FeatureIcon.jsx | 13 +++++++------
src/pages/user/images.json | 2 +-
src/pages/user/index.tsx | 2 +-
3 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/src/pages/home/FeatureIcon.jsx b/src/pages/home/FeatureIcon.jsx
index b722f51e..d02778ce 100644
--- a/src/pages/home/FeatureIcon.jsx
+++ b/src/pages/home/FeatureIcon.jsx
@@ -42,17 +42,18 @@ export function DevelopmentIcon() {
export function PlatformIcon() {
return (
<>
- <svg
+ <svg
xmlns="http://www.w3.org/2000/svg"
- xmlnsXlink='http://www.w3.org/1999/xlink'
- fill="none"
+ xmlnsXlink="http://www.w3.org/1999/xlink"
+ fill="none"
version="1.1"
- width="106" height="106"
- viewBox="0 0 106 106">
+ width="90"
+ height="90"
+ viewBox="0 0 90 90">
<g>
<g>
<path
-
d="M41.2262,82.4408L94.2294,82.4408C97.4814,82.4408,100.118,79.8044,100.118,76.5527L100.118,70.6645L5.88853,70.6645L5.88853,76.5527C5.88853,79.8044,8.52509,82.4408,11.7771,82.4408L41.2197,82.4408L41.2262,82.4408ZM64.7803,88.329L64.7803,100.105L73.6163,100.105C75.2423,100.105,76.5638,101.427,76.5638,103.053C76.5638,104.679,75.2423,106,73.6163,106L32.3901,106C30.7642,106,29.4426,104.679,29.4426,103.053C29.4426,101.427,30.7642,100.105,32.3901,100.105L41.2262,100.
[...]
+
d="M35.0034,69.9969L80.0061,69.9969C82.7672,69.9969,85.0058,67.7585,85.0058,64.9976L85.0058,59.9982L4.99969,59.9982L4.99969,64.9976C4.99969,67.7585,7.23828,69.9969,9.99939,69.9969L34.9979,69.9969L35.0034,69.9969ZM55.0021,74.9963L55.0021,84.9951L62.5044,84.9951C63.885,84.9951,65.007,86.1171,65.007,87.4976C65.007,88.878,63.885,90,62.5044,90L27.5011,90C26.1205,90,24.9985,88.878,24.9985,87.4976C24.9985,86.1171,26.1205,84.9951,27.5011,84.9951L35.0034,84.9951L35.003
[...]
fill-rule='evenodd'
fill='currentColor'
fill-opacity='1'
diff --git a/src/pages/user/images.json b/src/pages/user/images.json
index d2bcc043..4552f215 100644
--- a/src/pages/user/images.json
+++ b/src/pages/user/images.json
@@ -61,7 +61,7 @@
{"imgUrl": "eeo.png"},
{"imgUrl": "e-sign.png"},
{"imgUrl": "rootcloud.png"},
- {"imgUrl": "LCComputing.png"},
+ {"imgUrl": "lccomputing.png"},
{"imgUrl": "shudui.png"},
{"imgUrl": "sunvega.png"},
{"imgUrl": "inmobi.png"},
diff --git a/src/pages/user/index.tsx b/src/pages/user/index.tsx
index 1352afbf..667c9e03 100644
--- a/src/pages/user/index.tsx
+++ b/src/pages/user/index.tsx
@@ -84,7 +84,7 @@ function BrandCard({ img, aosDelay }: BrandCardProps) {
}
function handleMouseLevel() {
- const dir = colorMode === 'dark' ? 'plain' : 'light';
+ const dir = colorMode === 'dark' ? 'dark' : 'light';
setImgUrl(`/home/user/${dir}/${img.imgUrl}`);
}