Skip to content

Commit

Permalink
Merge pull request #169 from KrishnaMohanty08/main
Browse files Browse the repository at this point in the history
Update Dashboard.jsx
  • Loading branch information
shivamyadavrgipt authored Oct 30, 2024
2 parents 7a749cd + ad238ad commit cd690ca
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/pages/Dashboard.jsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import React from 'react';
import { Line, Bar, Doughnut, Radar, PolarArea } from 'react-chartjs-2';
import 'chart.js/auto'; // Automatically imports the necessary chart components
import 'twind/shim'; // Import Twind for styling
import 'chart.js/auto';
import 'twind/shim';
import { FiUsers, FiBarChart2, FiMessageCircle, FiHeart } from 'react-icons/fi'; // Icons for stat cards
import { Tooltip } from 'react-tooltip';// Tooltip library for extra info

// Sample data for the charts
const followerGrowthData = {
labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun'],
datasets: [
Expand All @@ -16,7 +17,6 @@ const followerGrowthData = {
},
],
};

const engagementData = {
labels: ['Post 1', 'Post 2', 'Post 3'],
datasets: [
Expand Down Expand Up @@ -85,6 +85,7 @@ const activityData = {
],
};


function Dashboard() {
return (
<div className="p-6 bg-gradient-to-r from-blue-900 to-indigo-900 min-h-screen text-white">
Expand Down

0 comments on commit cd690ca

Please sign in to comment.