@@ -11,18 +11,34 @@ import webpack from 'webpack';
11
11
import config from './webpack.config.dev.js' ;
12
12
13
13
const Html = ( {
14
- title = 'Rainbow Unicorns ' ,
14
+ title = 'DraftJS Plugins (including the ultimate Unicorn Editor) ' ,
15
15
bundle = '/app.js' ,
16
16
body = '' ,
17
17
stylesheet = '' ,
18
+
19
+ // googleAnalytics = `(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
20
+ // (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
21
+ // m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
22
+ // })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
23
+ // ga('create', 'UA-75176147-1', 'auto');
24
+ // ga('send', 'pageview');`,
25
+
26
+ // <script>
27
+ // { googleAnalytics }
28
+ // </script>
29
+
18
30
} ) => (
19
31
< html lang = "en" >
20
32
< head >
21
33
< meta charSet = "utf-8" />
22
34
< meta httpEquiv = "X-UA-Compatible" content = "IE=edge" />
23
- < meta name = "viewport" content = "width=device-width, initial-scale=1" />
35
+ < meta name = "viewport" content = "width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0 " />
24
36
< title > { title } </ title >
25
- { stylesheet && < link rel = "stylesheet" href = { stylesheet } /> }
37
+ < link rel = "stylesheet" href = "css/normalize.css" />
38
+ < link rel = "stylesheet" href = "css/base.css" />
39
+ < link rel = "stylesheet" href = "css/Draft.css" />
40
+ { stylesheet && < link rel = "stylesheet" href = { stylesheet } /> }
41
+ < link href = "https://fonts.googleapis.com/css?family=Open+Sans:400,300" rel = "stylesheet" type = "text/css" />
26
42
</ head >
27
43
< body >
28
44
< div id = "root" dangerouslySetInnerHTML = { { __html : body } } />
0 commit comments