Added favicon, social tags to SSR pages
This commit is contained in:
parent
45137721d4
commit
5cccd11d7b
Binary file not shown.
After Width: | Height: | Size: 408 B |
|
@ -4,6 +4,7 @@ import { Helmet } from 'react-helmet';
|
||||||
import Navigation from './Navigation';
|
import Navigation from './Navigation';
|
||||||
import Analytics from '../../../shared/components/Analytics';
|
import Analytics from '../../../shared/components/Analytics';
|
||||||
import globalStyles from '../../../shared/styles/globals';
|
import globalStyles from '../../../shared/styles/globals';
|
||||||
|
import { color } from '../../../shared/styles/constants';
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
children?: React$Element<*>,
|
children?: React$Element<*>,
|
||||||
|
@ -17,7 +18,19 @@ export default function Layout({ children }: Props) {
|
||||||
<head>
|
<head>
|
||||||
<Helmet>
|
<Helmet>
|
||||||
<title>Outline</title>
|
<title>Outline</title>
|
||||||
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
|
<meta name="referrer" content="origin" />
|
||||||
|
<meta name="description" content="Your team’s knowledge base" />
|
||||||
|
<meta name="og:site_name" content="Outline" />
|
||||||
|
<meta name="og:type" content="website" />
|
||||||
|
<meta name="theme-color" content={color.primary} />
|
||||||
|
|
||||||
|
<link rel="shortcut icon" type="image/png" href="/favicon.png" />
|
||||||
|
<link
|
||||||
|
rel="dns-prefetch"
|
||||||
|
href={process.env.AWS_S3_UPLOAD_BUCKET_URL}
|
||||||
|
/>
|
||||||
</Helmet>
|
</Helmet>
|
||||||
<Analytics />
|
<Analytics />
|
||||||
|
|
||||||
|
|
Reference in New Issue