{/* TODO: здесь нужно динамически сформировать название, т.к. может быть Ёly.by */}
diff --git a/src/components/userbar/styles.js b/src/components/userbar/styles.js
index 5257ac5..b5c3c77 100644
--- a/src/components/userbar/styles.js
+++ b/src/components/userbar/styles.js
@@ -12,4 +12,4 @@ export default {
verticalAlign: 'middle',
padding: '0 13px'
}
-}
+};
diff --git a/src/emails/register/Register.jsx b/src/emails/register/Register.jsx
index 150c03d..6556ea7 100644
--- a/src/emails/register/Register.jsx
+++ b/src/emails/register/Register.jsx
@@ -2,17 +2,17 @@ import { PropTypes } from 'react';
import { FormattedMessage as Message } from 'react-intl';
-import { Html, Userbar } from './../../components';
+import { Userbar } from 'components';
import styles from './styles';
import messages from './messages.intl.json';
export default function Register({username}) {
return (
-
+
-
+
);
}
diff --git a/src/index.ejs b/src/index.ejs
index a7f3821..3aca580 100644
--- a/src/index.ejs
+++ b/src/index.ejs
@@ -3,14 +3,13 @@
Ely.by - Email Renderer
-
-
-
+
+
<% if (htmlWebpackPlugin.files.favicon) { %>
<% } %>
-
+
diff --git a/src/index.js b/src/index.js
index 27872e4..78493e1 100644
--- a/src/index.js
+++ b/src/index.js
@@ -1,5 +1,7 @@
import 'babel-polyfill';
+import { Html } from 'components';
+
// NOTE: we are requiring with require(), to enable dynamic dependencies
// depending on ENV, where App is running in.
// This allows us better support of hmr and reduces bundle size
@@ -20,7 +22,11 @@ if (process.env.NODE_ENV !== 'production') {
module.exports = {
default(props) {
- return ReactDOMServer.renderToStaticMarkup(
);
+ return ReactDOMServer.renderToStaticMarkup(
+
+
+
+ );
}
};
}