diff --git a/src/components/NavigationDashboard.js b/src/components/NavigationDashboard.js index 152f4a6..c39d0be 100644 --- a/src/components/NavigationDashboard.js +++ b/src/components/NavigationDashboard.js @@ -4,8 +4,49 @@ import { NavLink } from 'react-router-dom'; const NavigationDashboard = () => { return ( -
- +
+ +
+ +
+
+ +
+ + +
+ +
+
+ +
+ +
+
+
+
+ +
+ +
+
+ +
+ +
+
); }; diff --git a/src/pages/Analyse.js b/src/pages/Analyse.js index c376c2f..c757bf7 100644 --- a/src/pages/Analyse.js +++ b/src/pages/Analyse.js @@ -1,6 +1,7 @@ import React from 'react'; import axios from 'axios' import Chart from 'chart.js/auto' +import NavigationDashboard from '../components/NavigationDashboard'; window.Chart = Chart const api = axios.create({ @@ -26,34 +27,7 @@ const Analyse = () => {
-
-
- -
-
- - - -
-
- -
-
- -
-
+
diff --git a/src/pages/Compte.js b/src/pages/Compte.js index 00015cc..e6674d7 100644 --- a/src/pages/Compte.js +++ b/src/pages/Compte.js @@ -1,4 +1,5 @@ import React from 'react'; +import NavigationDashboard from '../components/NavigationDashboard'; const Compte = () => { @@ -22,34 +23,7 @@ const Compte = () => {
-
-
- -
-
- - - -
-
- -
-
- -
-
+