updated format and lint scripts and applied them

This commit is contained in:
JJ Kasper
2018-06-01 16:52:12 -05:00
parent 53ac8a6793
commit 017a9993ee
58 changed files with 1711 additions and 1568 deletions

View File

@@ -1,17 +1,20 @@
import Document, { Head, Main, NextScript } from 'next/document';
import getUrl from '../util/getUrl';
import Document, { Head, Main, NextScript } from 'next/document'
import getUrl from '../util/getUrl'
export default class MyDocument extends Document {
render() {
const favicon = getUrl('favicon.ico');
const favicon = getUrl('favicon.ico')
return (
<html>
<Head>
<meta charSet='utf-8'/>
<meta name='viewport' content='width=device-width, initial-scale=1, shrink-to-fit=no'/>
<link rel='shortcut icon' href={favicon} type='image/x-icon'/>
<link rel='icon' href={favicon} type='image/x-icon'/>
<link rel='stylesheet' href={getUrl('/_next/static/style.css')} />
<meta charSet="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<link rel="shortcut icon" href={favicon} type="image/x-icon" />
<link rel="icon" href={favicon} type="image/x-icon" />
<link rel="stylesheet" href={getUrl('/_next/static/style.css')} />
<title>My Knowledge Base</title>
</Head>
<body>
@@ -19,6 +22,6 @@ export default class MyDocument extends Document {
<NextScript />
</body>
</html>
);
)
}
}
}