| 1 |
import RevenueByIntent from '@/components/dashboard/RevenueByIntent'; |
| 2 |
import RevenueChart from '@/components/dashboard/RevenueChart'; |
| 3 |
import SummaryCards from '@/components/dashboard/SummaryCards'; |
| 4 |
import TopCampaigns from '@/components/dashboard/TopCampaigns'; |
| 5 |
import TopProducts from '@/components/dashboard/TopProducts'; |
| 6 |
import { __ } from '@wordpress/i18n'; |
| 7 |
|
| 8 |
const Dashboard = () => ( |
| 9 |
<div className="disco-min-h-screen disco-bg-[#f9fafb] disco-p-6"> |
| 10 |
<div className="disco-mb-5"> |
| 11 |
<h1 className="disco-text-lg disco-font-bold disco-text-[#111827] disco-tracking-tight"> |
| 12 |
{__('Analytics Dashboard', 'disco')} |
| 13 |
</h1> |
| 14 |
</div> |
| 15 |
|
| 16 |
<SummaryCards /> |
| 17 |
|
| 18 |
<div className="disco-flex disco-gap-2.5 disco-mb-3"> |
| 19 |
<RevenueChart className="disco-flex-[2]" /> |
| 20 |
<RevenueByIntent className="disco-flex-1" /> |
| 21 |
</div> |
| 22 |
|
| 23 |
<div className="disco-flex disco-gap-2.5"> |
| 24 |
<TopCampaigns className="disco-flex-1" /> |
| 25 |
<TopProducts className="disco-flex-1" /> |
| 26 |
</div> |
| 27 |
</div> |
| 28 |
); |
| 29 |
|
| 30 |
export default Dashboard; |
| 31 |
|