@@ -13,8 +13,79 @@ const geistMono = Geist_Mono({
1313} ) ;
1414
1515export const metadata : Metadata = {
16- title : 'Create Next App' ,
17- description : 'Generated by create next app' ,
16+ metadataBase :
17+ process . env . NODE_ENV === 'development'
18+ ? new URL ( 'http://localhost:3000' )
19+ : new URL ( 'https://nextjs.im' ) ,
20+ title : 'Next.js Documentation - Multilingual Hub' ,
21+ description :
22+ 'Access comprehensive Next.js documentation in multiple languages. Built with AI-powered translation and maintained by the community. Available in English, Chinese, and more languages coming soon.' ,
23+ keywords : [
24+ 'Next.js' ,
25+ 'documentation' ,
26+ 'multilingual' ,
27+ 'i18n' ,
28+ 'internationalization' ,
29+ 'React' ,
30+ 'Chinese' ,
31+ 'Simplified Chinese' ,
32+ 'Traditional Chinese' ,
33+ 'Japanese' ,
34+ 'Spanish' ,
35+ 'Russian' ,
36+ 'French' ,
37+ 'German' ,
38+ 'Arabic' ,
39+ 'Portuguese' ,
40+ 'Korean' ,
41+ 'translation' ,
42+ 'AI-powered' ,
43+ 'community-driven' ,
44+ 'Deepseek' ,
45+ 'OpenAI' ,
46+ ] ,
47+
48+ openGraph : {
49+ title : 'Next.js Documentation - Multilingual Hub' ,
50+ description :
51+ 'Access Next.js documentation in multiple languages. AI-powered translations refined by the community.' ,
52+ type : 'website' ,
53+ siteName : 'Next.js i18n Docs' ,
54+ images : [
55+ {
56+ url : '/nextjs-im.png' ,
57+ width : 1200 ,
58+ height : 630 ,
59+ alt : 'Next.js Documentation - Multilingual Hub' ,
60+ } ,
61+ ] ,
62+ } ,
63+ twitter : {
64+ card : 'summary_large_image' ,
65+ title : 'Next.js Documentation - Multilingual Hub' ,
66+ description :
67+ 'Access Next.js documentation in multiple languages. AI-powered translations refined by the community.' ,
68+ images : [
69+ {
70+ url : '/nextjs-im.png' ,
71+ width : 1200 ,
72+ height : 630 ,
73+ alt : 'Next.js Documentation - Multilingual Hub' ,
74+ } ,
75+ ] ,
76+ } ,
77+ robots : {
78+ index : true ,
79+ follow : true ,
80+ googleBot : {
81+ index : true ,
82+ follow : true ,
83+ 'max-video-preview' : - 1 ,
84+ 'max-image-preview' : 'large' ,
85+ 'max-snippet' : - 1 ,
86+ } ,
87+ } ,
88+ category : 'technology' ,
1889} ;
1990
2091export default function RootLayout ( {
0 commit comments