Skip to content
This repository has been archived by the owner on Jan 23, 2021. It is now read-only.

Commit

Permalink
Clean of the project, favicon, demo page
Browse files Browse the repository at this point in the history
The process part is removed from the project to be stored in another git project. Add the title in the csv so in order to have a clean object all the data is now stored in the data attributes so all the display needed to be updated
  • Loading branch information
axel-reliefapps committed Sep 5, 2018
1 parent 4e450a7 commit 7bb6812
Show file tree
Hide file tree
Showing 39 changed files with 792 additions and 757 deletions.
4 changes: 3 additions & 1 deletion README.old.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# hot-dashboard
# Victory doc : https://formidable.com/open-source/victory/docs/victory-chart/
# Victory doc : https://formidable.com/open-source/victory/docs/victory-chart/

<!-- N'oubliez pas d'importer tous les éléments de victory !
Binary file added public/android-chrome-192x192.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/android-chrome-512x512.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/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions public/browserconfig.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/mstile-150x150.png"/>
<TileColor>#da532c</TileColor>
</tile>
</msapplication>
</browserconfig>
Binary file added public/favicon-16x16.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/favicon-32x32.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 modified public/favicon.ico
Binary file not shown.
7 changes: 5 additions & 2 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,16 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#000000">
<!--
manifest.json provides metadata used when your web Home is added to the
homescreen on Android. See https://developers.google.com/web/fundamentals/engage-and-retain/web-Home-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
<link rel="apple-touch-icon" sizes="180x180" href="%PUBLIC_URL%/apple-touch-icon.png">
<link rel="icon" type="image/png" href="%PUBLIC_URL%/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="%PUBLIC_URL%/favicon-16x16.png" sizes="16x16">
<link rel="mask-icon" href="%PUBLIC_URL%/safari-pinned-tab.svg" color="#5bbad5">
<meta name="theme-color" content="#ffffff">
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Expand Down
17 changes: 11 additions & 6 deletions public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
{
"short_name": "React Home",
"name": "Create React Home Sample",
"short_name": "HOT",
"name": "HOT Dashboard",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
"src": "android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "android-chrome-256x256.png",
"sizes": "256x256",
"type": "image/png"
}
],
"start_url": "./index.html",
"display": "standalone",
"theme_color": "#000000",
"theme_color": "#ffffff",
"background_color": "#ffffff"
}
Binary file added public/mstile-150x150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
49 changes: 49 additions & 0 deletions public/safari-pinned-tab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions public/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "",
"short_name": "",
"icons": [
{
"src": "/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}
File renamed without changes.
42 changes: 42 additions & 0 deletions src/components/content/demo/AwarenessContent.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
/** Natives **/
import React, { Component } from 'react';

/** Material UI **/
import { MuiThemeProvider, createMuiTheme } from '@material-ui/core/styles';
import Grid from '@material-ui/core/Grid';

/** Styles **/
const GlobalTheme = createMuiTheme({
typography: {
fontSize : 18,
fontFamily : "'Barlow Condensed', sans-serif"
},
palette: {
primary: {
main : '#D73F3F',
}
},
});

class CapacityBuildingContent extends Component {
render() {

return (
// The padding prevent the page to be too wide because of the option spacing
<div style={{ padding: 12 }}>
{this.props.importedData &&
(<MuiThemeProvider theme={GlobalTheme}>
<Grid container spacing={24} className="content-row"> {/* Spacing = space between cards */}
{/* First row */}
<Grid item xs={12} sm={6} md={3}>
</Grid>
</Grid>

</MuiThemeProvider>
)}
</div>
);
}
}

export default CapacityBuildingContent;
53 changes: 53 additions & 0 deletions src/components/content/demo/CapacityBuildingContent.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
@import url('https://fonts.googleapis.com/css?family=Barlow+Condensed');

/*------------------------------------------------------------------------//
//------------------------------- Content --------------------------------//
//------------------------------------------------------------------------*/
/** General contents div **/
.content-row {
display : flex;
text-align : center;
justify-content: space-between;
padding : 0 !important;
}

/** Grid contents div **/
.grid-item {
padding : 0 !important;
}


/*------------------------------------------------------------------------//
//------------------------------- Widgets --------------------------------//
//------------------------------------------------------------------------*/
/** External widgets **/
.widget-container {
display : flex;
height: 365px;
margin: 40px 20px 0px;
}
.widget-text{
display : flex;
flex-direction : column;
justify-content : center;
text-align : center;
margin : 0 auto;
padding : 16px 10px 10px;
}
/** 'Mapped elements' div **/
.widget-mappedElements-text{
display : flex;
flex-direction : row;
justify-content : space-evenly;
width : 100%;
margin-top : 10px;
}
.widget-mappedElements-text-item-green{
padding : 10px;
background-color : #D73F3F;
color : white;
}
.widget-mappedElements-text-item-grey{
padding : 10px;
background-color : #E1E0E0;
}
47 changes: 47 additions & 0 deletions src/components/content/demo/CapacityBuildingContent.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
/** Natives **/
import React, { Component } from 'react';

/** CSS **/
import './CapacityBuildingContent.css';

/** Logos **/

/** Material UI **/
import { MuiThemeProvider, createMuiTheme } from '@material-ui/core/styles';
import Grid from '@material-ui/core/Grid';

/** Components **/

/** Plugins **/

/** Themes **/
const GlobalTheme = createMuiTheme({
typography: {
fontSize : 18,
fontFamily : "'Barlow Condensed', sans-serif"
},
});


class CapacityBuildingContent extends Component {
//------------------------------------------------------------------------//
//-------------------------------- Render --------------------------------//
//------------------------------------------------------------------------//

render() {
return (
// The padding prevent the page to be too wide because of the option spacing
<div style={{ padding: 12 }}>
{this.props.importedData.global.capacitybuilding &&
(<MuiThemeProvider theme={GlobalTheme}>
<Grid container spacing={24} className="content-row"> {/* Spacing = space between cards */}

</Grid>
</MuiThemeProvider>
)}
</div>
);
}
}

export default CapacityBuildingContent;
47 changes: 47 additions & 0 deletions src/components/content/demo/MainContent.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
@import url('https://fonts.googleapis.com/css?family=Barlow+Condensed');

/*------------------------------------------------------------------------//
//------------------------------- Content --------------------------------//
//------------------------------------------------------------------------*/
/** General contents div **/
.content-row {
display : flex;
text-align : center;
justify-content: space-between;
padding : 0 !important;
}

/*------------------------------------------------------------------------//
//------------------------------- Widgets --------------------------------//
//------------------------------------------------------------------------*/
/** External widgets **/
.widget-container {
display : flex;
height: 365px;
margin: 40px 20px 0px;
}
.widget-text{
display : flex;
flex-direction : column;
justify-content : center;
text-align : center;
margin : 0 auto;
padding : 16px 10px 10px;
}
/** 'Mapped elements' div **/
.widget-mappedElements-text{
display : flex;
flex-direction : row;
justify-content : space-evenly;
width : 100%;
margin-top : 10px;
}
.widget-mappedElements-text-item-green{
padding : 10px;
background-color : #D73F3F;
color : white;
}
.widget-mappedElements-text-item-grey{
padding : 10px;
background-color : #E1E0E0;
}
Loading

0 comments on commit 7bb6812

Please sign in to comment.