-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.tsx
More file actions
63 lines (58 loc) · 1.7 KB
/
App.tsx
File metadata and controls
63 lines (58 loc) · 1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
import React from 'react';
import { Users, DollarSign, TrendingUp, Building } from 'lucide-react';
import Sidebar from './components/Sidebar';
import StatCard from './components/StatCard';
import Chart from './components/Chart';
import RecentActivity from './components/RecentActivity';
function App() {
return (
<div className="min-h-screen bg-gray-50">
<Sidebar />
<main className="ml-64 p-8">
<div className="mb-8">
<h1 className="text-2xl font-bold text-gray-900">Dashboard Overview</h1>
<p className="text-gray-600">Welcome back! Here's what's happening with your business today.</p>
</div>
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8">
<StatCard
title="Total Customers"
value="2,420"
change="+12.5%"
isPositive={true}
Icon={Users}
/>
<StatCard
title="Revenue"
value="$42,500"
change="+8.2%"
isPositive={true}
Icon={DollarSign}
/>
<StatCard
title="Growth Rate"
value="18.6%"
change="-2.4%"
isPositive={false}
Icon={TrendingUp}
/>
<StatCard
title="Active Projects"
value="32"
change="+4"
isPositive={true}
Icon={Building}
/>
</div>
<div className="grid grid-cols-1 lg:grid-cols-3 gap-6">
<div className="lg:col-span-2">
<Chart />
</div>
<div>
<RecentActivity />
</div>
</div>
</main>
</div>
);
}
export default App;