Skip to content

Commit

Permalink
perf: seo
Browse files Browse the repository at this point in the history
  • Loading branch information
521xueweihan committed Dec 9, 2024
1 parent 66423ad commit e841711
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions public/locales/en/home.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"title": "Home",
"description": "HelloGitHub is an open-source community dedicated to uncovering and sharing engaging, entry-level open-source projects. Here, delve into open-source technology solutions, savor the joy of open-source, and nominate or recommend projects to embark on your open-source adventure.",
"title": "Interesting open-source community",
"description": "HelloGitHub open-source community dedicated to uncovering and sharing engaging, entry-level open-source projects. Here, delve into open-source technology solutions, savor the joy of open-source, and nominate or recommend projects to embark on your open-source adventure.",
"bottom_text_login": "You have reached the bottom of the page",
"bottom_text_nologin": "End of the page! Sign in to read more",
"nav": {
Expand Down
4 changes: 2 additions & 2 deletions public/locales/zh/home.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"title": "首页",
"description": "HelloGitHub 是一个开源社区,专注于发现和分享有趣、入门级的开源项目。在这里,探索开源技术解决方案,体验开源的乐趣,自荐或推荐开源项目,开启你的开源之旅。",
"title": "有趣的开源社区",
"description": "HelloGitHub 开源社区,专注于发现和分享有趣、入门级的开源项目。在这里,探索开源技术解决方案,体验开源的乐趣,自荐或推荐开源项目,开启你的开源之旅。",
"bottom_text_login": "你不经意间触碰到了底线",
"bottom_text_nologin": "到底啦!登录可查看更多内容",
"nav": {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Seo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const defaultMeta = {
title: 'HelloGitHub',
siteName: 'HelloGitHub',
description:
'分享 GitHub 上有趣和入门级的开源项目,找开源项目就上 HelloGitHub',
'分享 GitHub 上有趣和入门级的开源项目,找开源项目就上 HelloGitHub 开源社区',
/** Without additional '/' on the end, e.g. https://theodorusclarence.com */
url: 'https://hellogithub.com',
type: 'website',
Expand Down
2 changes: 1 addition & 1 deletion src/components/user/Common.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const LevelRender = (level: number, showLevel = true, locale = 'zh') => {
};

const levelStyles = {
1: 'text-gray-600',
1: 'text-gray-500',
2: 'text-blue-500',
3: 'text-green-500',
4: 'text-purple-500',
Expand Down

0 comments on commit e841711

Please sign in to comment.