From 8fc633eca693158f639d9188be58447476f997d9 Mon Sep 17 00:00:00 2001 From: Tinie13 <157440339+Tinie13@users.noreply.github.com> Date: Fri, 6 Sep 2024 17:14:42 +0800 Subject: [PATCH] fixed style (#3029) --- config.toml | 4 ++-- layouts/partials/footer.html | 2 ++ layouts/shortcodes/blocks/cover.html | 15 ++++++++++----- layouts/shortcodes/blocks/demo-zh.html | 2 +- 4 files changed, 15 insertions(+), 8 deletions(-) diff --git a/config.toml b/config.toml index fd2304a97b87..a70b773c8ec8 100644 --- a/config.toml +++ b/config.toml @@ -112,13 +112,13 @@ contentDir = "content/zh-cn" url = "https://start.dubbo.apache.org/" [[languages.en.params.ecosystem.navOptions.items]] name = "Visualizable Console" - url = "/en/overview/mannual/control-plane/" + url = "/zh-cn/overview/mannual/control-plane/" [[languages.en.params.ecosystem.navOptions.items]] name = "Benchmarking" url = "http://47.251.95.138:3000/public-dashboards/b75030ae3d0f402ca06b6826de3b590b?orgId=1" [[languages.en.params.ecosystem.navOptions.items]] name = "Proxyless Mesh" - url = "/en/overview/what/core-features/service-mesh/" + url = "/zh-cn/overview/what/core-features/service-mesh/" [[languages.en.params.ecosystem.navOptions.items]] name = "More Demos" url = "https://github.com/apache/dubbo-samples" diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 494a4d6cfeaf..cf94dccb2f00 100755 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -118,6 +118,7 @@ } .contact-btn a{ color: #818598; + text-decoration: none; } .footer-container-right { @@ -149,6 +150,7 @@ .footer-container-right ul li a{ color: #2E3038; + text-decoration: none; } .footer-container-right ul li:first-child { diff --git a/layouts/shortcodes/blocks/cover.html b/layouts/shortcodes/blocks/cover.html index 39ad30bfc51b..af2a972f1d4e 100644 --- a/layouts/shortcodes/blocks/cover.html +++ b/layouts/shortcodes/blocks/cover.html @@ -83,7 +83,7 @@ } @media only screen and (min-width: 1100px) { - width: 90%; + width: 100%; font-size: 72px; } } @@ -101,6 +101,7 @@ .homepage-btn-group { /* padding-left: 15px; */ margin-top: 25px; + width: auto; @media only screen and (min-width: 768px) { margin-top: 37px; @@ -112,9 +113,13 @@ justify-content: center; border-radius: 24px !important; font-size: 14px; - width: 145px; + width: 115px; height: 48px; - + margin-right: 8px; + margin-left: 8px; + @media only screen and (min-width: 768px) { + width: 145px; + } } .homepage-btn-primary { @@ -156,10 +161,10 @@

-->
- + {{ T "homepage_button_2" }} - + {{ T "homepage_button_1" }}
diff --git a/layouts/shortcodes/blocks/demo-zh.html b/layouts/shortcodes/blocks/demo-zh.html index 2d77064ebc8f..9658da10e521 100644 --- a/layouts/shortcodes/blocks/demo-zh.html +++ b/layouts/shortcodes/blocks/demo-zh.html @@ -243,7 +243,7 @@
商城 DEMO
-
我们提供了一套功能完备的使用 Dubbo 开发的电子商城系统,商城系统由 11 个微服务应用组成...
+
我们提供了一套功能完备的使用 Dubbo 开发的电子商城系统,商城系统由 11 个微服务应用组成,底层使用 triple rpc 协议通信,用户可通过 frontend web 服务访问商城进行浏览、购物车、下单等体验。