import AnalyticsDashboard from "@/components/analytics/AnalyticsDashboard"; import { fetchServer } from '@/lib/api'; interface AnalyticsOverview { orders: { total: number; completed: number; pending: number; completionRate: string; }; revenue: { total: number; monthly: number; weekly: number; averageOrderValue: number; }; products: { total: number; }; customers: { unique: number; }; } export default async function AnalyticsPage() { const analyticsData = await fetchServer("/analytics/overview"); return (

Analytics Dashboard

Comprehensive insights into your store performance, sales trends, and customer behavior.

); }