Skip to content

Commit

Permalink
SEO 优化 (#845)
Browse files Browse the repository at this point in the history
* feat: 🎸 SEO 相关优化
  • Loading branch information
heimanba authored Dec 4, 2024
1 parent 7187f0e commit ee15ad7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/components/home/ChooseReason.astro
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ const dataSource = [
class="choose-reason block bg-gary-01 py-10 flex flex-col justify-center items-center"
>
<div class="top-title flex flex-col items-center my-20">
<h2 class="font-light text-gray-10 text-xs mb-6 tracking-[0.15em]">
<h3 class="font-light text-gray-10 text-xs mb-6 tracking-[0.15em]">
{t("home.nacos.edge.about")}
</h2>
</h3>
<b class="title text-gray-14 text-[2.5rem] leading-[3.5rem] font-medium">
{t("home.nacos.edge.title")}
</b>
Expand Down
6 changes: 3 additions & 3 deletions src/components/home/EarthBackground.astro
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ const { stargazers_count=0, forks_count=0 }:StarAndForkT = await sendFetch("http
src="https://img.alicdn.com/imgextra/i3/O1CN01ZvHnbg29VwowXGiKM_!!6000000008074-2-tps-8001-1562.png"
alt="nacos-log"
/>

<p class="earth-background-title text-center text-gray-01 mt-[2rem] leading-[1.5rem] px-2 text-[23px]">
<h1 class="hidden">{t('home.introduce.website')}</h1>
<h2 class="earth-background-title text-center text-gray-01 mt-[2rem] leading-[1.5rem] h2px-2 text-[23px]">
{t('home.introduce.title')}
</p>
</h2>

<div class="text-center mt-12">
<div class="inline-block">
Expand Down
1 change: 1 addition & 0 deletions src/i18n/en/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export default {
'home.title': 'Nacos Website | Nacos Registration Configuration Center | Nacos Download | Nacos Official Community',
'home.description': 'Nacos provides dynamic service discovery, configuration, and management, helping users quickly build and deliver microservice platforms in private, hybrid, and public clouds, enhancing service reuse and innovation delivery speed to gain market competitiveness.',
'home.introduce.about': 'ABOUT NACOS',
'home.introduce.website': 'Nacos Website',
'home.introduce.title': 'An easy-to-use dynamic service discovery, configuration and service management platform for building cloud native applications',
'home.introduce.nacos.code': 'VIEW ON GITHUB',
'home.introduce.nacos.manual': 'MANUAL',
Expand Down
1 change: 1 addition & 0 deletions src/i18n/zh-cn/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export default {

'home.title': 'Nacos官网| Nacos 配置中心 | Nacos 下载| Nacos 官方社区',
'home.description': 'Nacos 提供动态服务发现、配置和管理,助力用户在私有云、混合云、公有云等环境中快速构建和交付微服务平台,提升业务复用和创新交付速度,为用户赢得市场竞争力。',
'home.introduce.website': 'Nacos官网',
'home.introduce.about': '关于 NACOS',
'home.introduce.title': ' 一个更易于构建云原生应用的动态服务发现、配置管理和服务管理平台',
'home.introduce.nacos.code': '前往 GitHub',
Expand Down

0 comments on commit ee15ad7

Please sign in to comment.