This is an automated email from the ASF dual-hosted git repository.
shuai pushed a commit to branch docs/download
in repository https://gitbox.apache.org/repos/asf/incubator-answer-website.git
The following commit(s) were added to refs/heads/docs/download by this push:
new 970ed667 fix: slogon add download type
970ed667 is described below
commit 970ed6674c44d7b3e39be2e9029e0828cdc8f5e3
Author: shuai <[email protected]>
AuthorDate: Thu Apr 18 14:07:05 2024 +0800
fix: slogon add download type
---
i18n/zh-CN/code.json | 6 ++++++
src/components/HeaderSlogan/index.tsx | 6 +++++-
src/pages/download.tsx | 6 +++---
3 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/i18n/zh-CN/code.json b/i18n/zh-CN/code.json
index 78cd85cf..b218c86b 100644
--- a/i18n/zh-CN/code.json
+++ b/i18n/zh-CN/code.json
@@ -581,6 +581,12 @@
"docs.sidebar.tutorialSidebar.category.User Guides": {
"message": "用户指南"
},
+ "download.title" : {
+ "message": "下载"
+ },
+ "download.slogan": {
+ "message": "此页面提供最新版本的 Apache Answer 的下载链接。"
+ },
"docs.sidebar.tutorialSidebar.category.Developer Guides": {
"message": "开发者指南"
}
diff --git a/src/components/HeaderSlogan/index.tsx
b/src/components/HeaderSlogan/index.tsx
index 0488b459..0c64490a 100644
--- a/src/components/HeaderSlogan/index.tsx
+++ b/src/components/HeaderSlogan/index.tsx
@@ -20,7 +20,11 @@ const content = {
plugin: {
title: <Translate id="plugin.title">Plugins</Translate>,
slogan: <Translate id="plugin.slogan">Extend capabilities and unlock new
possibilities with our community-made plugins.</Translate>,
- }
+ },
+ download: {
+ title: <Translate id="download.title">Download</Translate>,
+ slogan: <Translate id="download.slogan">This page provides download links
for the latest release of Apache Answer.</Translate>,
+ },
}
const Index = ({ type }: IProps) => {
diff --git a/src/pages/download.tsx b/src/pages/download.tsx
index ab24015e..6a8ab684 100644
--- a/src/pages/download.tsx
+++ b/src/pages/download.tsx
@@ -68,7 +68,7 @@ export default function Plugins(): JSX.Element {
<Layout
title={translate({message: 'Download'})}
description="This page provides download links for the latest
release of Apache Answer.">
- <HeaderSlogan type="plugin"/>
+ <HeaderSlogan type="download"/>
<Container className='py-5'>
<table>
<thead>
@@ -90,9 +90,9 @@ export default function Plugins(): JSX.Element {
<h3> Release Integrity </h3>
<p>You can verify the integrity of the downloaded files.
</p>
<h4>Signatures</h4>
- <a
href="./community/how-to-release#how-to-verify-the-signatures">How to verify
the signatures</a>
+ <a
href="https://answer.apache.org/community/how-to-release/#how-to-verify-the-signatures">How
to verify the signatures</a>
<h4>Checksums</h4>
- <a
href="./community/how-to-release#how-to-verify-the-checksums">How to verify the
checksums</a>
+ <a
href="https://answer.apache.org/community/how-to-release#how-to-verify-the-checksums">How
to verify the checksums</a>
</div>
</Container>
</Layout>