File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed
uilib-docs/src/components Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -12,13 +12,25 @@ const pathPrefix = '/react-native-ui-lib';
12
12
const Layout = ( { children, location} ) => {
13
13
const { pathname} = location ;
14
14
const showSidebar = _ . replace ( pathname , pathPrefix , '' ) !== '/' ;
15
+
16
+ const metaTitle = 'RNUILib' ;
17
+ const metaDescription = 'React Native UI Toolset and Components Library' ;
18
+
15
19
return (
16
20
< div className = "layout" >
17
21
< Helmet >
18
22
< meta charSet = "utf-8" />
19
- < title > RNUILib</ title >
20
- < meta name = "description" content = "React Native UI Toolset and Components Library" > </ meta >
21
- < link rel = "canonical" href = "https://wix.github.io/react-native-ui-lib/" />
23
+ < title > { metaTitle } </ title >
24
+ < meta name = "title" content = { metaTitle } />
25
+ < meta name = "description" content = { metaDescription } />
26
+ < meta property = "og:title" content = { metaTitle } />
27
+ < meta property = "og:description" content = { metaDescription } />
28
+ < meta property = "twitter:title" content = { metaTitle } />
29
+ < meta property = "twitter:description" content = { metaDescription } />
30
+ < link
31
+ rel = "canonical"
32
+ href = "https://wix.github.io/react-native-ui-lib/"
33
+ />
22
34
</ Helmet >
23
35
< Header />
24
36
{ /* <div className={`main ${!showSidebar ? 'fill' : ''}`}> */ }
You can’t perform that action at this time.
0 commit comments