diff --git a/src/App.js b/src/App.js
index 3784575..fc4225c 100644
--- a/src/App.js
+++ b/src/App.js
@@ -1,25 +1,29 @@
-import logo from './logo.svg';
-import './App.css';
+import React from 'react';
+import { BrowserRouter as Router, Route, Routes } from 'react-router-dom';
+import Users from './pages/users';
+import Groups from './pages/groups';
+import Migration from './pages/migration';
+import GlobalMailing from './pages/GlobalMailing';
+import GlobalVariables from './pages/GlobalVariables';
+import PerformanceMetrics from './pages/performance';
+import Navbar from './components/navbar';
function App() {
return (
-
diff --git a/src/pages/performance.js b/src/pages/performance.js
index e69de29..510957c 100644
--- a/src/pages/performance.js
+++ b/src/pages/performance.js
@@ -0,0 +1,59 @@
+import React from "react";
+import {
+ Chart as ChartJS,
+ CategoryScale,
+ LinearScale,
+ PointElement,
+ LineElement,
+ Title,
+ Tooltip,
+ Legend
+} from 'chart.js';
+import { Line } from 'react-chartjs-2';
+
+ChartJS.register(
+ CategoryScale,
+ LinearScale,
+ PointElement,
+ LineElement,
+ Title,
+ Tooltip,
+ Legend
+);
+
+const PerformanceMetrics = () => {
+ const data = {
+ labels: ['Январь', 'Февраль', 'Март', 'Апрель', 'Май'],
+ datasets: [
+ {
+ label: 'Производительность',
+ data: [65, 59, 80, 81, 56],
+ fill: false,
+ backgroundColor: 'rgb(75, 192, 192)',
+ borderColor: 'rgba(75, 192, 192, 0.2)',
+ },
+ ],
+ };
+
+ const options = {
+ responsive: true,
+ plugins: {
+ legend: {
+ position: 'top',
+ },
+ title: {
+ display: true,
+ text: 'График производительности',
+ },
+ },
+ };
+
+ return (
+
+
Производительность
+
+
+ );
+};
+
+export default PerformanceMetrics;
\ No newline at end of file
diff --git a/src/pages/users.js b/src/pages/users.js
index 754e7f8..7b8d5c6 100644
--- a/src/pages/users.js
+++ b/src/pages/users.js
@@ -2,7 +2,7 @@ import React from 'react';
import UserActions from '../components/userActions';
const Users = () => {
- const users = ['User1', 'User2', 'User3']; //заглушка(потом можно убрать)
+ const users = ['User1', 'User2', 'User3']; //заглушка(потом нужно убрать и доделать)
return (