@@ -88,21 +88,18 @@ function Layout({
8888 } , [ isLargeScreen ] ) ;
8989 const title = `${
9090 frontMatter && frontMatter . title
91- ? frontMatter . title + ( ! isLatestVersionSlug ( activeVersion ) ?
92- ` | ${ activeVersion } ` : "" ) +
93- " | NativeBase | Universal Components for React and React Native"
94- : pages ?. currentPage ?. title +
95- ( ! isLatestVersionSlug ( activeVersion ) ?
96- ` | ${ activeVersion } ` : "" ) +
97- " | NativeBase | Universal Components for React and React Native"
91+ ? frontMatter . title +
92+ ( ! isLatestVersionSlug ( activeVersion ) ? ` | ${ activeVersion } ` : "" ) +
93+ " | NativeBase | Universal Components for React and React Native"
94+ : pages ?. currentPage ?. title +
95+ ( ! isLatestVersionSlug ( activeVersion ) ? ` | ${ activeVersion } ` : "" ) +
96+ " | NativeBase | Universal Components for React and React Native"
9897 } `;
9998
10099 const pageTitle = `${
101100 frontMatter && frontMatter . title
102- ? frontMatter . title +
103- " | NativeBase "
104- : pages ?. currentPage ?. title +
105- " | NativeBase "
101+ ? frontMatter . title + " | NativeBase "
102+ : pages ?. currentPage ?. title + " | NativeBase "
106103 } `;
107104
108105 let href = "https://docs.nativebase.io/" + pages . currentPage . id ;
@@ -128,7 +125,10 @@ function Layout({
128125 content = "NativeBase 3.0 lets you build consistently across android, iOS & web. It is inspired by the Styled System and is accessible, highly themeable, and responsive."
129126 />
130127 < meta property = "og:image" content = "/img/nativebase-og.png" />
131- < meta name = "twitter:image" content = "/img/nativebase-og.png" > </ meta >
128+ < meta
129+ name = "twitter:image"
130+ content = "https://docs.nativebase.io/img/nativebase-og.png"
131+ > </ meta >
132132 < meta name = "twitter:site" content = "@nativebase" />
133133
134134 < meta
@@ -140,7 +140,10 @@ function Layout({
140140 < Script async src = "https://snack.expo.dev/embed.js" > </ Script >
141141 < Script src = "/js/gtag.js" > </ Script >
142142 { /* <Script src="/js/switchTheme.js"></Script> */ }
143- < Script async src = "https://www.googletagmanager.com/gtag/js?id=G-DBP9QMTGR1" > </ Script >
143+ < Script
144+ async
145+ src = "https://www.googletagmanager.com/gtag/js?id=G-DBP9QMTGR1"
146+ > </ Script >
144147 < Script id = "gTagScript" >
145148 { `
146149 window.dataLayer = window.dataLayer || [];
0 commit comments