Skip to content

Commit

Permalink
Merge pull request #49 from hackforla/prototype_pics
Browse files Browse the repository at this point in the history
Added barebones prototype components and pictures
  • Loading branch information
brodly authored Oct 2, 2019
2 parents 633dc1d + 9e0f0ad commit 3ca4673
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 1 deletion.
Binary file added public/candlestick.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/heatmap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/pinmap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion src/App.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import React from 'react';
import './App.css';
import TreeMapVis from './components/TreeMapVis/TreeMapVis.js';
import CandleStick from './components/CandleStick/CandleStick.js';
import PinMap from './components/PinMap/PinMap.js';
import HeatMap from './components/HeatMap/HeatMap.js';

class App extends React.Component{
constructor(props){
Expand All @@ -15,7 +18,9 @@ import TreeMapVis from './components/TreeMapVis/TreeMapVis.js';
render(){
const prototypeMap = {
TreeMapVis: <TreeMapVis/>,
// PinMap: <PinMap/>
CandleStick: <CandleStick/>,
PinMap: <PinMap/>,
HeatMap:<HeatMap/>
}

return (
Expand Down
11 changes: 11 additions & 0 deletions src/components/CandleStick/CandleStick.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import React from 'react';

const CandleStick = () => {
return (
<div>
<img src={process.env.PUBLIC_URL + '/candlestick.png'} alt="candlestick"/>
</div>
);
}

export default CandleStick;
11 changes: 11 additions & 0 deletions src/components/HeatMap/HeatMap.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import React from 'react';

const HeatMap = () => {
return (
<div>
<img src={process.env.PUBLIC_URL + '/heatmap.png'} alt="heatmap"/>
</div>
);
}

export default HeatMap;
11 changes: 11 additions & 0 deletions src/components/PinMap/PinMap.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import React from 'react';

const PinMap = () => {
return (
<div>
<img src={process.env.PUBLIC_URL + '/pinmap.png'} alt="PinMap"/>
</div>
);
}

export default PinMap;

0 comments on commit 3ca4673

Please sign in to comment.