Added connection status

This commit is contained in:
vjrj 2017-11-29 13:38:04 +01:00
parent e83be9c69f
commit 5ab88f7a39
6 changed files with 21 additions and 2 deletions

View file

@ -0,0 +1,9 @@
import React from 'react';
import { translate } from 'react-i18next';
import Blaze from 'meteor/gadicc:blaze-react-component';
const Reconnect = props => (
<Blaze template="meteorStatus" lang={props.i18n.language} />
);
export default translate([], { wait: true })(Reconnect);

View file

@ -29,6 +29,7 @@ import Terms from '../../pages/Terms/Terms';
import Privacy from '../../pages/Privacy/Privacy';
import License from '../../pages/License/License';
import ReSendEmail from '../../components/ReSendEmail/ReSendEmail';
import Reconnect from '../../components/Reconnect/Reconnect';
// i18n
import { I18nextProvider } from 'react-i18next';
import i18n from '/imports/startup/client/i18n';
@ -67,6 +68,8 @@ const App = props => (
</Switch>
</Grid>
<Footer />
<Reconnect />
<Blaze template="cookieConsent" />
{/* <Blaze template="cookieConsentImply" /> */}
</div> : ''}

View file

@ -10,7 +10,6 @@ h4.page-header {
line-height: 2em;
}
#js-cookie-policy-default {
background-color: lighten($todos-palette3, 10%);
}