This is an automated email from the ASF dual-hosted git repository.
fenbox pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-answer-website.git
The following commit(s) were added to refs/heads/main by this push:
new 66aba338 fix: plugin install link (#182)
66aba338 is described below
commit 66aba338aaf8c4e2bb22c1c9f0a9655c0e50be79
Author: Fen <[email protected]>
AuthorDate: Wed Jun 5 11:04:30 2024 +0800
fix: plugin install link (#182)
---
src/pages/download.tsx | 2 +-
src/pages/plugins.tsx | 19 ++++++++++++-------
2 files changed, 13 insertions(+), 8 deletions(-)
diff --git a/src/pages/download.tsx b/src/pages/download.tsx
index 112956c5..7a17ddca 100644
--- a/src/pages/download.tsx
+++ b/src/pages/download.tsx
@@ -32,7 +32,7 @@ export default function Plugins(): JSX.Element {
<td>{item}</td>
<td>2024-05-27</td>
<td>
- <ul className='list-unstyled'>
+ <ul className='list-unstyled mb-0'>
<li>
<a
href={`https://downloads.apache.org/incubator/answer/${item}-incubating/apache-answer-${item}-incubating-src.tar.gz`}
diff --git a/src/pages/plugins.tsx b/src/pages/plugins.tsx
index a52532f6..d46424da 100644
--- a/src/pages/plugins.tsx
+++ b/src/pages/plugins.tsx
@@ -25,19 +25,24 @@ export default function Plugins(): JSX.Element {
<Translate
id="plugins.instruction"
values={{
- submit_link: (
- <a href="https://github.com/apache/incubator-answer-plugins"
target='_blank'>
- <Translate id="plugins.instruction.submit">submit a
plugin</Translate>
+ install_plugin_link: (
+ <a href="/docs/plugins">
+ <Translate id="plugins.instruction.install">Install
plugins</Translate>
+ </a>
+ ),
+ create_link: (
+ <a href="/community/plugins">
+ <Translate id="plugins.instruction.create">Create a
plugin</Translate>
</a>
),
- community_link: (
- <a href="https://meta.answer.dev/" target='_blank'>
- <Translate id="plugins.instruction.join">join our
community</Translate>
+ submit_link: (
+ <a href="https://github.com/apache/incubator-answer-plugins"
target='_blank'>
+ <Translate id="plugins.instruction.submit">Submit a
plugin</Translate>
</a>
)
}}
>
- {`Built by the community, for the community. Everyone can
{submit_link} to Apache Answer. Need help building yours? Join the
{community_link}.`}
+ {`{install_plugin_link} · {create_link} · {submit_link}`}
</Translate>
</div>