diff --git a/src/components/Dashboard/Dashboard.jsx b/src/components/Dashboard/Dashboard.jsx new file mode 100644 index 00000000..7fc4d4c1 --- /dev/null +++ b/src/components/Dashboard/Dashboard.jsx @@ -0,0 +1,140 @@ +import React from 'react'; +import HorizontalBarChart from '../Charts/HorizontalBarChart'; +import LineChart from '../Charts/LineChart'; +const dummyCategories = ['Project 1', 'Project 2', 'Project 3', 'Project 4', 'Project 5']; +const dummyData = [45, 38, 30, 25, 20]; + +const lineChartseries = [ + { + name: "Planned Projects", + data: [20, 25, 30, 35, 40, 45, 50] + }, + { + name: "Completed Projects", + data: [5, 15, 28, 36, 42, 46, 48] + } +]; + + +const lineChartCategories = ["January", "February", "March", "April", "May", "June", "July"]; + + +const Dashboard = () => { + return ( +
+
+ + {/* Projects Card */} +
+
+
+ +
Projects
+
+
+
+

25

+ Total +
+
+

30

+ Ongoing +
+
+
+
+ + {/* Teams Card */} +
+
+
+ +
Teams
+
+
+
+

500

+ Total Employees +
+
+

360

+ In Role +
+
+
+
+ + {/* Tasks Card */} +
+
+
+ +
Tasks
+
+
+
+

10000

+ Total +
+
+

4000

+ Completed +
+
+
+
+ {/* Chart Section */} +
+
+
+
+
Projects
+

Total Projects Overview

+
+
+
+ +
+
+
+
+
+
+
+
Project Progress
+

Progress Overview by Project

+
+
+ + + +
+
+
+ +
+
+
+
+
+ ); +}; + +export default Dashboard; diff --git a/src/components/Dashboard/Dashboard.tsx b/src/components/Dashboard/Dashboard.tsx deleted file mode 100644 index ceb15793..00000000 --- a/src/components/Dashboard/Dashboard.tsx +++ /dev/null @@ -1,549 +0,0 @@ - - -const Dashboard = () => { - - - return ( - <> - {/* Content */} -
-
-
-
-
-
-
-
Congratulations User! 🎉
-

- You have done 72% more sales today. Check your new badge in - your profile. -

- - View Badges -
-
-
-
- View Badge User -
-
-
-
-
-
-
-
-
-
-
-
- chart success -
-
- - -
-
- Projects -

25

- +20% -
-
-
-
-
-
-
-
- Credit Card -
-
- - -
-
- Upcoming Projects -

10

- +28.42% -
-
-
-
-
- {/* Total Revenue */} -
-
-
-
-
Project Status
-
-
-
-
-
-
- -
- 2021 - 2020 - 2019 -
-
-
-
-
-
62% Company Growth
- -
-
-
- -
-
- 2022 -
32.5k
-
-
-
-
- -
-
- 2021 -
41.2k
-
-
-
-
-
-
-
- {/*/ Total Revenue */} -
-
- {/*
-
-
-
-
- Credit Card -
-
- - -
-
- Payments -

$2,456

- -14.82% -
-
-
*/} - {/*
-
-
-
-
- Credit Card -
-
- - -
-
- Transactions -

$14,857

- +28.14% -
-
-
*/} - {/*
-
*/} -
-
-
-
-
-
-
Profile Report
- Year 2021 -
-
- 68.2% -

$84,686k

-
-
-
-
-
-
-
-
-
-
-
- {/* Order Statistics */} -
-
-
-
-
Order Statistics
- 42.82k Total Sales -
-
- - -
-
-
-
-
-

8,258

- Total Orders -
-
-
-
    -
  • -
    - -
    -
    -
    -
    Electronic
    - Mobile, Earbuds, TV -
    -
    - 82.5k -
    -
    -
  • -
  • -
    - -
    -
    -
    -
    Fashion
    - T-shirt, Jeans, Shoes -
    -
    - 23.8k -
    -
    -
  • -
  • -
    - -
    -
    -
    -
    Decor
    - Fine Art, Dining -
    -
    - 849k -
    -
    -
  • -
  • -
    - -
    -
    -
    -
    Sports
    - Football, Cricket Kit -
    -
    - 99 -
    -
    -
  • -
-
-
-
- {/*/ Order Statistics */} - - {/* Expense Overview */} -
-
-
-
    -
  • - -
  • -
  • - -
  • -
  • - -
  • -
-
-
-
- -
-
-
-
- {/*/ Expense Overview */} - - {/* Transactions */} -
-
-
-
Transactions
-
- - -
-
-
-
    -
  • -
    - User -
    -
    -
    - Paypal -
    Send money
    -
    -
    -
    +82.6
    - USD -
    -
    -
  • -
  • -
    - User -
    -
    -
    - Wallet -
    Mac'D
    -
    -
    -
    +270.69
    - USD -
    -
    -
  • -
  • -
    - User -
    -
    -
    - Transfer -
    Refund
    -
    -
    -
    +637.91
    - USD -
    -
    -
  • -
  • -
    - User -
    -
    -
    - Credit Card -
    Ordered Food
    -
    -
    -
    -838.71
    - USD -
    -
    -
  • -
  • -
    - User -
    -
    -
    - Wallet -
    Starbucks
    -
    -
    -
    +203.33
    - USD -
    -
    -
  • -
  • -
    - User -
    -
    -
    - Mastercard -
    Ordered Food
    -
    -
    -
    -92.45
    - USD -
    -
    -
  • -
-
-
-
- {/*/ Transactions */} -
-
- {/* / Content */} - - - - ); -}; - - -export default Dashboard;