@@ -78,8 +78,9 @@ const config: Config = {
7878 } ,
7979
8080 title : 'React Native' ,
81- tagline : 'A framework for building native apps using React' ,
82- organizationName : 'facebook' ,
81+ tagline :
82+ 'A framework for building native apps for Android, iOS, and more using React' ,
83+ organizationName : 'Meta Platforms, Inc.' ,
8384 projectName : 'react-native' ,
8485 url : 'https://reactnative.dev' ,
8586 baseUrl : '/' ,
@@ -100,7 +101,7 @@ const config: Config = {
100101 { src : 'https://snack.expo.dev/embed.js' , defer : true } ,
101102 { src : 'https://platform.twitter.com/widgets.js' , async : true } ,
102103 ] ,
103- favicon : 'img/ favicon.ico' ,
104+ favicon : 'favicon.ico' ,
104105 titleDelimiter : '·' ,
105106 customFields : {
106107 users,
@@ -111,6 +112,55 @@ const config: Config = {
111112 locales : [ 'en' ] ,
112113 } ,
113114 onBrokenLinks : 'warn' ,
115+ headTags : [
116+ {
117+ tagName : 'script' ,
118+ attributes : {
119+ type : 'application/ld+json' ,
120+ } ,
121+ innerHTML : JSON . stringify ( {
122+ '@context' : 'https://schema.org/' ,
123+ '@type' : 'WebPage' ,
124+ '@id' : 'https://reactnative.dev/' ,
125+ url : 'https://reactnative.dev/' ,
126+ name : 'React Native · Learn once, write anywhere' ,
127+ description :
128+ 'A framework for building native apps for Android, iOS, and more using React' ,
129+ logo : 'https://reactnative.dev/img/pwa/manifest-icon-192.png' ,
130+ inLanguage : 'en-US' ,
131+ } ) ,
132+ } ,
133+ {
134+ tagName : 'script' ,
135+ attributes : {
136+ type : 'application/ld+json' ,
137+ } ,
138+ innerHTML : JSON . stringify ( {
139+ '@type' : 'WebSite' ,
140+ '@id' : 'https://reactnative.dev/' ,
141+ url : 'https://reactnative.dev/' ,
142+ name : 'React Native · Learn once, write anywhere' ,
143+ description :
144+ 'A framework for building native apps for Android, iOS, and more using React' ,
145+ publisher : 'Meta Platforms, Inc.' ,
146+ potentialAction : [
147+ {
148+ '@type' : 'SearchAction' ,
149+ target : {
150+ '@type' : 'EntryPoint' ,
151+ urlTemplate : 'https://reactnative.dev/search?q={query}' ,
152+ } ,
153+ 'query-input' : {
154+ '@type' : 'PropertyValueSpecification' ,
155+ valueRequired : true ,
156+ valueName : 'query' ,
157+ } ,
158+ } ,
159+ ] ,
160+ inLanguage : 'en-US' ,
161+ } ) ,
162+ } ,
163+ ] ,
114164 presets : [
115165 [
116166 '@docusaurus/preset-classic' ,
0 commit comments