Added connection status
This commit is contained in:
parent
e83be9c69f
commit
5ab88f7a39
6 changed files with 21 additions and 2 deletions
9
imports/ui/components/Reconnect/Reconnect.js
Normal file
9
imports/ui/components/Reconnect/Reconnect.js
Normal 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);
|
||||
|
|
@ -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> : ''}
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@ h4.page-header {
|
|||
line-height: 2em;
|
||||
}
|
||||
|
||||
|
||||
#js-cookie-policy-default {
|
||||
background-color: lighten($todos-palette3, 10%);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue