Merge branch 'feature/flamelink' of https://github.com/alDuncanson/marten-application into develop
This commit is contained in:
commit
25bbe3088d
File diff suppressed because it is too large
Load Diff
|
@ -4,8 +4,10 @@
|
|||
"private": true,
|
||||
"dependencies": {
|
||||
"@material-ui/core": "^3.1.0",
|
||||
"firebase": "^5.5.2",
|
||||
"firebase-admin": "^6.0.0",
|
||||
"flamelink": "^0.19.2",
|
||||
"google-maps-react": "^2.0.2",
|
||||
"firebase": "^5.5.1",
|
||||
"react": "^16.5.1",
|
||||
"react-dom": "^16.5.1",
|
||||
"react-router": "^4.3.1",
|
||||
|
|
|
@ -20,6 +20,9 @@
|
|||
work correctly both with client-side routing and a non-root public URL.
|
||||
Learn how to configure a non-root public URL by running `npm run build`.
|
||||
-->
|
||||
|
||||
<!--<script>import flamelink from 'flamelink';</script>-->
|
||||
|
||||
<title>React App</title>
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
import { Component } from 'react';
|
||||
|
||||
class Flamelink extends Component {
|
||||
render() {
|
||||
|
||||
return(null);
|
||||
}
|
||||
}
|
||||
|
||||
export default Flamelink;
|
|
@ -11,4 +11,5 @@ const config = {
|
|||
};
|
||||
|
||||
firebase.initializeApp(config);
|
||||
|
||||
export default firebase;
|
|
@ -0,0 +1,6 @@
|
|||
import firebaseApp from './firebase.js';
|
||||
import flamelink from 'flamelink';
|
||||
|
||||
const flamelinkApp = flamelink({ firebaseApp });
|
||||
|
||||
export default flamelinkApp;
|
|
@ -1,12 +1,19 @@
|
|||
import React, { Component } from 'react';
|
||||
import Typography from '@material-ui/core/Typography';
|
||||
import Flamelink from '../components/Flamelink';
|
||||
|
||||
class Info extends Component {
|
||||
render() {
|
||||
|
||||
return (
|
||||
<Typography variant='display1' align='center' gutterBottom>
|
||||
Info
|
||||
</Typography>
|
||||
<div>
|
||||
<Flamelink flamelinkApp={this.props.flamelinkApp}/>
|
||||
<Typography variant='display1' align='center' gutterBottom>
|
||||
Info
|
||||
</Typography>
|
||||
<p id="flamelinkDemo"></p>
|
||||
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue