File tree Expand file tree Collapse file tree 2 files changed +12
-11
lines changed Expand file tree Collapse file tree 2 files changed +12
-11
lines changed Original file line number Diff line number Diff line change 22
22
"prop-types" : " ^15.7.2" ,
23
23
"react" : " ^16.8.4" ,
24
24
"react-dom" : " ^16.8.4" ,
25
- "react-helmet" : " ^5.2 .0"
25
+ "react-helmet" : " ^6.0 .0"
26
26
},
27
27
"devDependencies" : {
28
28
"prettier" : " ^1.16.4"
Original file line number Diff line number Diff line change @@ -9,18 +9,19 @@ import './layout.scss';
9
9
const Layout = ( { children, showSidebar} ) => {
10
10
return (
11
11
< div className = "layout" >
12
- < Helmet
13
- title = "RNUILIB"
14
- meta = { [
15
- { name : 'description' , content : 'React Native UI Library' } ,
16
- { name : 'keywords' , content : 'react native, uilib' }
17
- ] }
18
- />
19
- < Header />
12
+ < Helmet >
13
+ < meta charSet = "utf-8" />
14
+ < title > RNUILib</ title >
15
+ < meta name = "description" content = "React Native UI Toolset and Components Library" > </ meta >
16
+ < link rel = "canonical" href = "https://wix.github.io/react-native-ui-lib/" />
17
+ </ Helmet >
18
+ < Header />
20
19
{ /* <div className={`main ${!showSidebar ? 'fill' : ''}`}> */ }
21
20
< div className = { `main` } >
22
- { showSidebar && < Navbar /> }
23
- < div className = { `content ${ showSidebar ? 'with-navbar' : '' } ` } > { children } </ div >
21
+ { showSidebar && < Navbar /> }
22
+ < div className = { `content ${ showSidebar ? 'with-navbar' : '' } ` } >
23
+ { children }
24
+ </ div >
24
25
</ div >
25
26
</ div >
26
27
) ;
You can’t perform that action at this time.
0 commit comments