Skip to content

Commit 535336c

Browse files
changes in dashboard of processes & README.md
1 parent 0ddac8c commit 535336c

File tree

2 files changed

+14
-18
lines changed

2 files changed

+14
-18
lines changed

README.md

+13-12
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,12 @@ The **OS Process Analyzer** is a web-based application designed to monitor and a
3131

3232
## Technologies Used
3333

34-
### Frontend
35-
- ![React](https://img.shields.io/badge/React-20232A?style=for-the-badge&logo=react&logoColor=61DAFB)
36-
- ![Chart.js](https://img.shields.io/badge/Chart.js-FF6384?style=for-the-badge&logo=chartdotjs&logoColor=white)
37-
- ![React Circular Progressbar](https://img.shields.io/badge/React%20Circular%20Progressbar-61DAFB?style=for-the-badge&logo=react&logoColor=white)
38-
- ![Tailwind CSS](https://img.shields.io/badge/Tailwind_CSS-38B2AC?style=for-the-badge&logo=tailwind-css&logoColor=white)
39-
40-
### Backend
41-
- ![Node.js](https://img.shields.io/badge/Node.js-43853D?style=for-the-badge&logo=node.js&logoColor=white)
42-
- ![Express.js](https://img.shields.io/badge/Express.js-404D59?style=for-the-badge)
43-
- ![Socket.IO](https://img.shields.io/badge/Socket.IO-010101?style=for-the-badge&logo=socket.io&logoColor=white)
44-
- ![Systeminformation](https://img.shields.io/badge/Systeminformation-FF5733?style=for-the-badge&logo=javascript&logoColor=white)
34+
| **Frontend** | **Backend** |
35+
|--------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------|
36+
| ![React](https://img.shields.io/badge/React-20232A?style=for-the-badge&logo=react&logoColor=61DAFB) | ![Node.js](https://img.shields.io/badge/Node.js-43853D?style=for-the-badge&logo=node.js&logoColor=white) |
37+
| ![Chart.js](https://img.shields.io/badge/Chart.js-FF6384?style=for-the-badge&logo=chartdotjs&logoColor=white) | ![Express.js](https://img.shields.io/badge/Express.js-404D59?style=for-the-badge) |
38+
| ![React Circular Progressbar](https://img.shields.io/badge/React%20Circular%20Progressbar-61DAFB?style=for-the-badge&logo=react&logoColor=white) | ![Socket.IO](https://img.shields.io/badge/Socket.IO-010101?style=for-the-badge&logo=socket.io&logoColor=white) |
39+
| ![Tailwind CSS](https://img.shields.io/badge/Tailwind_CSS-38B2AC?style=for-the-badge&logo=tailwind-css&logoColor=white) | ![Systeminformation](https://img.shields.io/badge/Systeminformation-FF5733?style=for-the-badge&logo=javascript&logoColor=white) |
4540

4641
---
4742

@@ -71,4 +66,10 @@ Contributions are welcome! If you'd like to contribute, please fork the reposito
7166
---
7267
7368
## License
74-
This project is licensed under the MIT License. See the LICENSE file for details.
69+
This project is licensed under the [MIT License](./LICENSE). See the LICENSE file for details.
70+
71+
## Contact
72+
Feel free to reach out for feedback & collaboration.
73+
74+
- **Email**: [g.anamika0101@gmail.com](mailto:g.anamika0101@gmail.com)
75+
- **LinkedIn**: [anamikaghosh18](https://www.linkedin.com/in/anamikaghosh18/)

src/pages/Dashboard.tsx

+1-6
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Line } from 'react-chartjs-2';
33
import { CircularProgressbar, buildStyles } from 'react-circular-progressbar';
44
import 'react-circular-progressbar/dist/styles.css';
55
import { io } from 'socket.io-client';
6-
import { Cpu, MemoryStick, HardDrive, Wifi, Activity, Monitor, Clock } from 'lucide-react';
6+
import { Cpu, MemoryStick, HardDrive, Wifi } from 'lucide-react';
77
import ProcessChatbot from '../components/ProcessChatbot';
88
import {
99
Chart as ChartJS,
@@ -92,11 +92,6 @@ const Dashboard = () => {
9292
return (used / total) * 100;
9393
};
9494

95-
const formatUptime = (seconds: number) => {
96-
const hours = Math.floor(seconds / 3600);
97-
const minutes = Math.floor((seconds % 3600) / 60);
98-
return `${hours}h ${minutes}m`;
99-
};
10095

10196
return (
10297
<div className="relative min-h-screen bg-gray-900 text-gray-300">

0 commit comments

Comments
 (0)