make dat shit a 4 wide grid
Some checks failed
Build Frontend / build (push) Has been cancelled

This commit is contained in:
g
2026-01-13 10:11:56 +00:00
parent f0b89d675c
commit e412392545
2 changed files with 8 additions and 8 deletions

View File

@@ -1084,7 +1084,7 @@ export default function AdminAnalytics() {
{/* AI Performance Insights */} {/* AI Performance Insights */}
{insights.length > 0 && !loading && !refreshing && ( {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) => ( {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"> <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"> <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"> <Card className="border-border/40 bg-background/50 backdrop-blur-sm shadow-sm overflow-hidden">
<CardHeader> <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 Order Trends
</CardTitle> </CardTitle>
<CardDescription> <CardDescription>
@@ -1282,7 +1282,7 @@ export default function AdminAnalytics() {
) : ( ) : (
<Card className="border-border/40 bg-background/50 backdrop-blur-sm shadow-sm overflow-hidden"> <Card className="border-border/40 bg-background/50 backdrop-blur-sm shadow-sm overflow-hidden">
<CardHeader> <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 Vendor Growth
</CardTitle> </CardTitle>
<CardDescription>New vendor registrations over time</CardDescription> <CardDescription>New vendor registrations over time</CardDescription>
@@ -1496,7 +1496,7 @@ export default function AdminAnalytics() {
{/* Monthly Revenue & Orders Chart */} {/* Monthly Revenue & Orders Chart */}
<Card className="lg:col-span-2 border-border/40 bg-background/50 backdrop-blur-sm shadow-sm"> <Card className="lg:col-span-2 border-border/40 bg-background/50 backdrop-blur-sm shadow-sm">
<CardHeader> <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> <CardDescription>
Platform performance by month since launch Platform performance by month since launch
</CardDescription> </CardDescription>
@@ -1622,7 +1622,7 @@ export default function AdminAnalytics() {
{/* Customer Segments Pie Chart */} {/* 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"> <Card className="lg:col-span-1 border-border/40 bg-background/50 backdrop-blur-sm shadow-sm h-full flex flex-col">
<CardHeader> <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> <CardDescription>By purchase behavior</CardDescription>
</CardHeader> </CardHeader>
<CardContent className="flex-1 flex flex-col justify-center"> <CardContent className="flex-1 flex flex-col justify-center">
@@ -1728,7 +1728,7 @@ export default function AdminAnalytics() {
{growthData?.monthly && growthData.monthly.length > 0 && ( {growthData?.monthly && growthData.monthly.length > 0 && (
<Card className="border-border/40 bg-background/50 backdrop-blur-sm shadow-sm overflow-hidden"> <Card className="border-border/40 bg-background/50 backdrop-blur-sm shadow-sm overflow-hidden">
<CardHeader> <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> <CardDescription>Detailed metrics by month</CardDescription>
</CardHeader> </CardHeader>
<CardContent> <CardContent>

View File

@@ -1,4 +1,4 @@
{ {
"commitHash": "fe6d544", "commitHash": "f0b89d6",
"buildTime": "2026-01-13T10:04:47.971Z" "buildTime": "2026-01-13T10:09:36.925Z"
} }