Skip to content

Commit

Permalink
update: update homepage content (#254)
Browse files Browse the repository at this point in the history
Adjust homepage content based on #245
  • Loading branch information
shuashuai authored Sep 24, 2024
1 parent 1e6e3bd commit e947122
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 20 deletions.
10 changes: 5 additions & 5 deletions i18n/zh-CN/code.json
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@
"message": "加载中..."
},
"home.title.build": {
"message": "用 Apache Answer 打造"
"message": "用 Apache Answer 打造一个"
},
"home.title.teams": {
"message": ""
Expand Down Expand Up @@ -489,19 +489,19 @@
"message": "趣味十足"
},
"home.features.item1": {
"message": "帮助成员解答问题,提升社区参与度。社区内的专业人士将乐于分享、验证和点赞正确的信息。社区内的信息是可靠的,并将始终保持最新"
"message": "提问、回答并与社区一起成长。每个人都是知识共享的一部分:贡献答案、发表评论和投票。内容始终是最新的"
},
"home.features.item2": {
"message": "使用标签将问题和内容进行归类。这样使寻找所需的知识变得更加轻松。你也可以使用搜索功能快速找到答案"
"message": "借助直观的标签系统搜索并查找相关内容。这是一种简单有效的分类方法。每个人都可以快速搜索和定位内容"
},
"home.features.item3": {
"message": "通过插件和你喜爱的服务来配置你的社区。这样可以改进工作流程、扩张社区规模,或者让你的其他工具变得更好"
"message": "使用插件扩展 Apache Answer 以满足你的需求。连接你喜爱的工具。简化你的工作流程,为当前工具添加新功能,并提高效率"
},
"home.features.comming_soon": {
"message": "即将发布"
},
"home.features.item4": {
"message": "我们通过声望和徽章让问答平台变得更加有趣,这使社区成员和团队在合作及完成工作时会感到愉快"
"message": "用你的专业知识和礼仪赢得声誉和徽章。在与其他会员一起茁壮成长的同时,享受丰富多彩的体验"
},
"home.features.title": {
"message": "功能"
Expand Down
2 changes: 1 addition & 1 deletion src/components/HomePageHeader/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ const HomeHead: FC = () => {
<Translate
id="home.title.build"
>
Build
Build a
</Translate>
{currentLocale === 'zh-CN' ? <br /> : ' '}
<span className={clsx('text-warning text-decoration-underline link-offset-1', styles.slogan, styles[sloganClass])}>
Expand Down
20 changes: 6 additions & 14 deletions src/components/HomepageMain/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,24 +25,21 @@ const FeatureList: FeatureItem[] = [
icon: require('@site/static/img/feature-1.png').default,
description: (
<Translate id="home.features.item1">
Help members with questions and boost community participation. Your
experts are happy to contribute, verify, upvote correct info. Your info
keeping up-to-date and trusted.
Ask, answer, and grow with the community. Everyone is a part of knowledge sharing: contribute an answer, leave a comment, and vote. The content is always up-to-date.
</Translate>
),
},
{
title: (
<Translate id="home.features.title2">
Organized
Always Organized
</Translate>
),
icon: require('@site/static/img/feature-2.png').default,
description: (
<Translate id="home.features.item2">
Use tags to organize questions and help contents into categories. They
make knowledge easy to find for others. Use the search to quickly find
the answer.
Search and find relevant content with the help of intuitive tagging system.
It’s an easy and efficient way for categorization. Everyone can search and locate the content quickly.
</Translate>
),
},
Expand All @@ -55,9 +52,7 @@ const FeatureList: FeatureItem[] = [
icon: require('@site/static/img/feature-3.png').default,
description: (
<Translate id="home.features.item3">
Configure your community with plugins and your favorite services. So
that you can improve your workflow, grow your community, or make your
other tools better.
Extend Apache Answer with plugins to fit your needs. Connect with the tools you love. Streamline your workflow, add wings to current tools, and boost the efficiency.
</Translate>
),
},
Expand All @@ -70,12 +65,9 @@ const FeatureList: FeatureItem[] = [
icon: require('@site/static/img/feature-4.png').default,
description: (
<Translate id="home.features.item4">
We’ve gamified the Q&A platform with reputation and badges. So the
community members and teams have fun collaborating and getting work
done.
Earn reputation and badges with your expertise and etiquette. Enjoy a rewarding and engaging experience while thrive the community with other members.
</Translate>
),
later: <Translate id="home.features.comming_soon">Coming soon</Translate>,
},
];

Expand Down

0 comments on commit e947122

Please sign in to comment.