diff --git a/public/locales/en/article.json b/public/locales/en/article.json index d7a6fd4..69b5c73 100644 --- a/public/locales/en/article.json +++ b/public/locales/en/article.json @@ -1,6 +1,6 @@ { "title": "Articles", - "description": "Here you'll find original and high-quality articles focused on open source projects.", + "description": "Dive into the Excitement of the Open Source World: Original and Quality Articles Focused on Open Source Projects, Offering Selections and Practical Guides.", "bottom_text_login": "You've reached the end.", "bottom_text_nologin": "End of content! Login to see more.", "nav": { diff --git a/public/locales/en/claim.json b/public/locales/en/claim.json index da555a4..b83bc9e 100644 --- a/public/locales/en/claim.json +++ b/public/locales/en/claim.json @@ -1,6 +1,6 @@ { "title": "Wear HelloGitHub Badge", - "description": "Showcase the recognition of your open-source project and help promote and operate it", + "description": "Enhance the impact of open-source projects, showcase their brilliance, and support the promotion and operation of open-source initiatives.", "navbar": "HelloGitHub Badge", "top_h2": "Join the HelloGitHub Badge Program", "top_text": "This is a program to claim your open-source project. By claiming a project and wearing the HelloGitHub badge, you can showcase the community recognition and recommendation your project has received, highlighting the honor of your open-source project. At the same time, claim your open-source project to enjoy more recommendations and benefits from the community.", diff --git a/public/locales/en/home.json b/public/locales/en/home.json index 82431ed..244aad5 100644 --- a/public/locales/en/home.json +++ b/public/locales/en/home.json @@ -1,6 +1,6 @@ { "title": "Home", - "description": "Sharing interesting and beginner-friendly open-source projects on GitHub", + "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.", "bottom_text_login": "You have reached the bottom of the page", "bottom_text_nologin": "End of the page! Sign in to read more", "nav": { diff --git a/public/locales/en/periodical.json b/public/locales/en/periodical.json index 4480209..b566fe4 100644 --- a/public/locales/en/periodical.json +++ b/public/locales/en/periodical.json @@ -1,6 +1,6 @@ { "title": "HelloGitHub Monthly", - "description": "Here you will find development tools, open source books, tutorials, and enterprise-level projects, helping you enjoying programming and fall in love with open source.", + "description": "Discover interesting and beginner-friendly open-source projects on GitHub, with fresh content published on the 28th of each month. Covering development tools, open-source books, tutorials, and enterprise-grade projects, we aim to make you fall in love with open source.", "nav": "HelloGitHub Monthly", "p_text": "“HelloGitHub Monthly” shares interesting and beginner-friendly open source projects on GitHub. Published on the 28th of each month, it includes development tools, open source books, tutorials, and enterprise-level projects, helping you enjoying programming and fall in love with open source!", "read_button": "Read", diff --git a/public/locales/zh/article.json b/public/locales/zh/article.json index 8efc7a5..def4dc0 100644 --- a/public/locales/zh/article.json +++ b/public/locales/zh/article.json @@ -1,6 +1,6 @@ { "title": "文章", - "description": "这里有一些专注于开源项目的原创和优质文章", + "description": "探索开源世界的精彩:专注于开源项目的原创和优质文章,提供开源项目精选与实践指南。", "bottom_text_login": "你不经意间触碰到了底线", "bottom_text_nologin": "到底啦!登录可查看更多内容", "nav": { diff --git a/public/locales/zh/claim.json b/public/locales/zh/claim.json index b3d4dee..8de7a72 100644 --- a/public/locales/zh/claim.json +++ b/public/locales/zh/claim.json @@ -1,6 +1,6 @@ { "title": "佩戴 HelloGitHub 徽章", - "description": "彰显开源项目荣耀,帮助推广和运营开源项目", + "description": "提升开源项目影响力,彰显开源项目荣耀,助力推广和运营开源项目。", "navbar": "HelloGitHub 徽章", "top_h2": "加入 HelloGitHub 徽章计划", "top_text": "这是一个开源项目的认领计划,认领后通过佩戴 HelloGitHub 徽章,向世界展示项目得到的社区认可和推荐,彰显开源项目荣耀。同时,认领你的开源项目,享受社区带来的更多推荐和权益。", diff --git a/public/locales/zh/home.json b/public/locales/zh/home.json index e834a5b..7eb5334 100644 --- a/public/locales/zh/home.json +++ b/public/locales/zh/home.json @@ -1,6 +1,6 @@ { "title": "首页", - "description": "分享 GitHub 上有趣、入门级的开源项目", + "description": "HelloGitHub 是一个开源社区,专注于发现和分享有趣、入门级的开源项目。在这里,探索开源技术解决方案,体验开源的乐趣,自荐或推荐开源项目,开启你的开源之旅。", "bottom_text_login": "你不经意间触碰到了底线", "bottom_text_nologin": "到底啦!登录可查看更多内容", "nav": { diff --git a/public/locales/zh/periodical.json b/public/locales/zh/periodical.json index 863a208..5745cb3 100644 --- a/public/locales/zh/periodical.json +++ b/public/locales/zh/periodical.json @@ -1,6 +1,6 @@ { "title": "HelloGitHub 月刊", - "description": "这里有开发利器、开源书籍、教程、企业级的开源项目,让发现编程的乐趣你爱上开源", + "description": "探索 GitHub 上有趣的入门级开源项目,每月 28 日发布最新内容。涵盖开发工具、开源书籍、教程及企业级的开源项目,让你爱上开源。", "nav": "HelloGitHub 月刊", "p_text": "「HelloGitHub 月刊」分享 GitHub 上有趣、入门级的开源项目,每月 28 号发布最新一期。内容包括开发利器、开源书籍、教程、企业级项目等,让你发现编程的乐趣、爱上开源!", "read_button": "查看", diff --git a/src/components/Seo.tsx b/src/components/Seo.tsx index c445d2a..617f231 100644 --- a/src/components/Seo.tsx +++ b/src/components/Seo.tsx @@ -5,12 +5,13 @@ import { useRouter } from 'next/router'; const defaultMeta = { title: 'HelloGitHub', siteName: 'HelloGitHub', - description: '分享 GitHub 上有趣入门级的开源项目,找开源项目就上 HelloGitHub', + description: + '分享 GitHub 上有趣和入门级的开源项目,找开源项目就上 HelloGitHub', /** Without additional '/' on the end, e.g. https://theodorusclarence.com */ url: 'https://hellogithub.com', type: 'website', robots: 'follow, index', - image: 'https://img.hellogithub.com/logo/logo.png', + image: 'https://img.hellogithub.com/logo/meta.jpg', content: 'text/html;charset=utf-8', }; @@ -112,8 +113,6 @@ export default function Seo(props: SeoProps) { ? `${props.templateTitle} | ${meta.siteName}` : meta.title; - meta['image'] = 'https://img.hellogithub.com/logo/logo.png'; - return (