summaryrefslogtreecommitdiffstats
path: root/frontend/components/Meta.js
diff options
context:
space:
mode:
authorWes Bos <wesbos@gmail.com>2018-01-30 12:41:01 -0500
committerWes Bos <wesbos@gmail.com>2018-01-30 12:41:01 -0500
commitcd0b07b3adb36fb5ec098f9e511ab45d774fee7b (patch)
treea203e5010219ccea1acc6bbd2c0a4bcfa0a78615 /frontend/components/Meta.js
parent0a1648bf47490b312169c531aeb51ef4725e8d2e (diff)
Move to Prisma Backend
Diffstat (limited to 'frontend/components/Meta.js')
-rw-r--r--frontend/components/Meta.js24
1 files changed, 24 insertions, 0 deletions
diff --git a/frontend/components/Meta.js b/frontend/components/Meta.js
new file mode 100644
index 0000000..d7a2e17
--- /dev/null
+++ b/frontend/components/Meta.js
@@ -0,0 +1,24 @@
+import React from 'react';
+import Head from 'next/head';
+import { injectGlobal } from 'styled-components';
+
+const Meta = () => (
+ <div>
+ <Head>
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ {injectGlobal`
+ html {
+ background: white;
+ }
+ `}
+ <meta charSet="utf-8" />
+ <link rel="shortcut icon" href="https://wesbos.com/wp-content/themes/wb2014/i/crown-yellow-small.png" />
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" />
+ <link rel="stylesheet" type="text/css" href="/static/nprogress.css" />
+
+ <title>Sick Fits</title>
+ </Head>
+ </div>
+);
+
+export default Meta;