Skip to content

Commit af1da13

Browse files
committed
refactor: update site description and adjust locale settings in layout
1 parent e34e6d8 commit af1da13

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/layout.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const geistMono = localFont({
2222
const SITE_URL =
2323
process.env.NEXT_PUBLIC_SITE_URL || "https://involutionhell.com";
2424
const en_description =
25-
"Involution Hell (内卷地狱) is a free, developer-led open-source community focused on algorithms, system design, and practical engineering to help builders grow together.";
25+
"内卷地狱(Involution Hell)是一个由开发者发起的开源学习社区,专注算法、系统设计、工程实践与技术分享,帮助华人程序员高效成长,专注真实进步。Involution Hell is an open-source community empowering builders with real-world engineering.";
2626

2727
export const metadata: Metadata = {
2828
metadataBase: new URL(SITE_URL),
@@ -103,8 +103,8 @@ export const metadata: Metadata = {
103103
alt: "Involution Hell — Open-source Community",
104104
},
105105
],
106-
locale: "en_US",
107-
alternateLocale: ["zh_CN"],
106+
locale: "zh-CN",
107+
alternateLocale: ["en-US"],
108108
},
109109
twitter: {
110110
card: "summary_large_image",
@@ -123,7 +123,7 @@ export default function RootLayout({
123123
children,
124124
}: Readonly<{ children: React.ReactNode }>) {
125125
return (
126-
<html lang="en" suppressHydrationWarning>
126+
<html lang="zh-CN" suppressHydrationWarning>
127127
<head>
128128
{/* 预连接:缩短关键请求链 */}
129129
<link rel="preconnect" href="https://www.google-analytics.com" />

0 commit comments

Comments
 (0)