You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by fe...@apache.org on 2021/07/14 14:32:22 UTC

[incubator-shenyu-website] branch main updated: modify index footer style (#105)

This is an automated email from the ASF dual-hosted git repository.

fengzhenbing pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-shenyu-website.git


The following commit(s) were added to refs/heads/main by this push:
     new a972155  modify index footer style (#105)
a972155 is described below

commit a972155e6bb311abd74765ea85c2afe48c2f90d9
Author: 奕仁 <ch...@163.com>
AuthorDate: Wed Jul 14 22:32:13 2021 +0800

    modify index footer style (#105)
---
 data/en/footer.toml                 |  17 +++++++++--------
 data/zh/footer.toml                 |  13 +++++++------
 layouts/partials/footer.html        |   4 ++--
 static/img/qrcode/WechatIMG127.jpeg | Bin 0 -> 26632 bytes
 static/img/qrcode/WechatIMG130.png  | Bin 0 -> 5566218 bytes
 5 files changed, 18 insertions(+), 16 deletions(-)

diff --git a/data/en/footer.toml b/data/en/footer.toml
index a906a7f..c829695 100644
--- a/data/en/footer.toml
+++ b/data/en/footer.toml
@@ -17,8 +17,6 @@
 	link_arr = [
 		["Github", 'https://github.com/apache/incubator-shenyu'],
 		["Documentation", '/projects/shenyu/overview/'],
-		["Subscribe Mail", 'mailto://dev-subscribe@shenyu.apache.org'],
-		["Mail Archive", 'https://lists.apache.org/list.html?dev@shenyu.apache.org'],
 		# ["Samples", 'https://github.com/apache/incubator-shenyu-guides'],
 	]
 
@@ -28,7 +26,14 @@
 		["Feedback", 'https://github.com/apache/incubator-shenyu/issues/new'],
 		["Community","/community"],
 		["News","/news"],
-		# ["Email","mailto:sofa@alipay.cloud.com"]
+		["Awesome","/awesome"],
+	]
+
+[[links]]
+	category = "Subscribe mailing list"
+	link_arr = [
+		["Subscribe Mail", 'mailto://dev-subscribe@shenyu.apache.org'],
+		["Mail Archive", 'https://lists.apache.org/list.html?dev@shenyu.apache.org'],
 	]
 
 #[[links]]
@@ -42,10 +47,6 @@
 
 # qrcode
 [[qrcode]]
-	img = "img/qrcode/qrcode_1.png"
+	img = "img/qrcode/WechatIMG127.jpeg"
 	description = "Wechat Official Account"
 
-[[qrcode]]
-	img = "img/qrcode/qrcode_2.png"
-	description = "QQ Group"
-
diff --git a/data/zh/footer.toml b/data/zh/footer.toml
index d33c3ef..a764ad5 100644
--- a/data/zh/footer.toml
+++ b/data/zh/footer.toml
@@ -17,8 +17,6 @@
 	link_arr = [
 		["Github", 'https://github.com/apache/incubator-shenyu'],
 		["文档", '/zh/projects/shenyu/overview/'],
-		["订阅邮件", 'mailto://dev-subscribe@shenyu.apache.org'],
-		["邮件归档", 'https://lists.apache.org/list.html?dev@shenyu.apache.org'],
 #		["示例", 'https://github.com/apache/incubator-shenyu-guides'],
 	]
 
@@ -29,12 +27,15 @@
 		["社区","/zh/community"],
 		["新闻","/zh/news"],
 	]
+[[links]]
+	category = "订阅邮件组"
+	link_arr = [
+		["订阅邮件", 'mailto://dev-subscribe@shenyu.apache.org'],
+		["邮件归档", 'https://lists.apache.org/list.html?dev@shenyu.apache.org'],
+	]
 
 
 [[qrcode]]
-	img = "img/qrcode/qrcode_1.png"
+	img = "img/qrcode/WechatIMG127.jpeg"
 	description = "微信公众号"
 
-[[qrcode]]
-	img = "img/qrcode/qrcode_2.png"
-	description = "QQ群"
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index eb864f9..41e5423 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -13,14 +13,14 @@
 				</div>
 			{{ end }}
 		</div>
-		<!-- <div class="qrcode">
+		 <div class="qrcode">
 			{{ range $data.qrcode }}
 				<div>
 					<img class="qrcode-img" src="{{ .img | relURL }}" />
 					<p class="qrcode-desc">{{ .description }}</p>
 				</div>
 			{{ end }}
-		</div> -->
+		</div>
 	</div>
 	<div class="copyright">
 		<p>
diff --git a/static/img/qrcode/WechatIMG127.jpeg b/static/img/qrcode/WechatIMG127.jpeg
new file mode 100644
index 0000000..8886a98
Binary files /dev/null and b/static/img/qrcode/WechatIMG127.jpeg differ
diff --git a/static/img/qrcode/WechatIMG130.png b/static/img/qrcode/WechatIMG130.png
new file mode 100644
index 0000000..71649ee
Binary files /dev/null and b/static/img/qrcode/WechatIMG130.png differ