PluginProbe
Discount Rules for WooCommerce – Disco | Dynamic Pricing, Conditions, Bulk, Bundle, BOGO / 1.4.12
Discount Rules for WooCommerce – Disco | Dynamic Pricing, Conditions, Bulk, Bundle, BOGO v1.4.12
1.4.19 1.4.18 1.4.17 1.4.16 1.4.15 1.4.14 1.4.13 1.4.12 1.4.11 1.4.10 1.4.9 1.4.8 1.4.7 1.4.6 1.4.5 1.4.4 1.4.3 1.4.2 1.4.1 1.4.0 1.3.54 1.3.53 1.3.52 1.3.51 1.3.50 All 182 releases
disco / backend / views / components / Analytics / pages / Dashboard.jsx

Dashboard.jsx in Discount Rules for WooCommerce – Disco | Dynamic Pricing, Conditions, Bulk, Bundle, BOGO 1.4.12, at backend/views/components/Analytics/pages/Dashboard.jsx

31 lines 1001 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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