This commit is contained in:
@@ -1084,7 +1084,7 @@ export default function AdminAnalytics() {
|
||||
|
||||
{/* AI Performance Insights */}
|
||||
{insights.length > 0 && !loading && !refreshing && (
|
||||
<div className="mt-8 grid grid-cols-1 md:grid-cols-3 gap-4">
|
||||
<div className="mt-8 grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4">
|
||||
{insights.map((insight, index) => (
|
||||
<Card key={index} className="border-border/40 bg-background/50 backdrop-blur-sm shadow-sm hover:bg-background/80 transition-all duration-300">
|
||||
<CardContent className="p-4 flex items-start gap-4">
|
||||
@@ -1139,7 +1139,7 @@ export default function AdminAnalytics() {
|
||||
) : (
|
||||
<Card className="border-border/40 bg-background/50 backdrop-blur-sm shadow-sm overflow-hidden">
|
||||
<CardHeader>
|
||||
<CardTitle className="bg-gradient-to-r from-blue-600 to-cyan-500 bg-clip-text text-transparent w-fit">
|
||||
<CardTitle className="w-fit">
|
||||
Order Trends
|
||||
</CardTitle>
|
||||
<CardDescription>
|
||||
@@ -1282,7 +1282,7 @@ export default function AdminAnalytics() {
|
||||
) : (
|
||||
<Card className="border-border/40 bg-background/50 backdrop-blur-sm shadow-sm overflow-hidden">
|
||||
<CardHeader>
|
||||
<CardTitle className="bg-gradient-to-r from-purple-600 to-pink-500 bg-clip-text text-transparent w-fit">
|
||||
<CardTitle className="w-fit">
|
||||
Vendor Growth
|
||||
</CardTitle>
|
||||
<CardDescription>New vendor registrations over time</CardDescription>
|
||||
@@ -1496,7 +1496,7 @@ export default function AdminAnalytics() {
|
||||
{/* Monthly Revenue & Orders Chart */}
|
||||
<Card className="lg:col-span-2 border-border/40 bg-background/50 backdrop-blur-sm shadow-sm">
|
||||
<CardHeader>
|
||||
<CardTitle className="bg-gradient-to-r from-green-600 to-emerald-500 bg-clip-text text-transparent w-fit">Monthly Revenue & Orders</CardTitle>
|
||||
<CardTitle className="w-fit">Monthly Revenue & Orders</CardTitle>
|
||||
<CardDescription>
|
||||
Platform performance by month since launch
|
||||
</CardDescription>
|
||||
@@ -1622,7 +1622,7 @@ export default function AdminAnalytics() {
|
||||
{/* Customer Segments Pie Chart */}
|
||||
<Card className="lg:col-span-1 border-border/40 bg-background/50 backdrop-blur-sm shadow-sm h-full flex flex-col">
|
||||
<CardHeader>
|
||||
<CardTitle className="bg-gradient-to-r from-amber-600 to-orange-500 bg-clip-text text-transparent w-fit">Customer Segments</CardTitle>
|
||||
<CardTitle className="w-fit">Customer Segments</CardTitle>
|
||||
<CardDescription>By purchase behavior</CardDescription>
|
||||
</CardHeader>
|
||||
<CardContent className="flex-1 flex flex-col justify-center">
|
||||
@@ -1728,7 +1728,7 @@ export default function AdminAnalytics() {
|
||||
{growthData?.monthly && growthData.monthly.length > 0 && (
|
||||
<Card className="border-border/40 bg-background/50 backdrop-blur-sm shadow-sm overflow-hidden">
|
||||
<CardHeader>
|
||||
<CardTitle className="bg-gradient-to-r from-foreground to-foreground/70 bg-clip-text text-transparent w-fit">Monthly Breakdown</CardTitle>
|
||||
<CardTitle className="w-fit">Monthly Breakdown</CardTitle>
|
||||
<CardDescription>Detailed metrics by month</CardDescription>
|
||||
</CardHeader>
|
||||
<CardContent>
|
||||
|
||||
Reference in New Issue
Block a user