Merge pull request #395 from jorilallo/issue-373

Added social / meta tags to public pages
This commit is contained in:
Jori Lallo
2017-11-10 11:52:15 -08:00
committed by GitHub
3 changed files with 23 additions and 0 deletions

BIN
public/favicon-16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 325 B

BIN
public/favicon-32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 368 B

View File

@@ -4,6 +4,7 @@ import { Helmet } from 'react-helmet';
import Navigation from './Navigation';
import Analytics from '../../../shared/components/Analytics';
import globalStyles from '../../../shared/styles/globals';
import { color } from '../../../shared/styles/constants';
type Props = {
children?: React$Element<*>,
@@ -17,7 +18,29 @@ export default function Layout({ children }: Props) {
<head>
<Helmet>
<title>Outline</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="referrer" content="origin" />
<meta name="description" content="Your teams 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-16.png"
sizes="16x16"
/>
<link
rel="shortcut icon"
type="image/png"
href="/favicon-32.png"
sizes="32x32"
/>
<link
rel="dns-prefetch"
href={process.env.AWS_S3_UPLOAD_BUCKET_URL}
/>
</Helmet>
<Analytics />