'use client';
import { motion } from 'framer-motion';
import { DollarSign, Package, Leaf, TrendingUp } from 'lucide-react';
export default function AdminDashboard() {
// Placeholder data - will be replaced with real API data
const stats = [
{
title: 'Total Orders',
value: '0',
icon: ,
trend: { value: 0, isPositive: true },
gradient: 'bg-gradient-to-br from-royal-purple to-purple-600',
bgColor: 'bg-royal-purple',
},
{
title: 'Total COâ‚‚ Offset',
value: '0 tons',
icon: ,
trend: { value: 0, isPositive: true },
gradient: 'bg-gradient-to-br from-sea-green to-green-600',
bgColor: 'bg-sea-green',
},
{
title: 'Total Revenue',
value: '$0',
icon: ,
trend: { value: 0, isPositive: true },
gradient: 'bg-gradient-to-br from-muted-gold to-orange-600',
bgColor: 'bg-muted-gold',
},
{
title: 'Fulfillment Rate',
value: '0%',
icon: ,
trend: { value: 0, isPositive: true },
gradient: 'bg-gradient-to-br from-maritime-teal to-teal-600',
bgColor: 'bg-maritime-teal',
},
];
return (
{/* Header */}
Dashboard
Welcome to the Puffin Offset Admin Portal
{/* Stats Grid */}
{stats.map((stat, index) => (
{stat.icon}
{stat.trend && (
{stat.trend.isPositive ? '+' : '-'}{stat.trend.value}%
)}
{stat.title}
{stat.value}
))}
{/* Placeholder for Charts */}
Orders Timeline
Chart will be implemented in Phase 3
Status Distribution
Chart will be implemented in Phase 3
{/* Info Card */}
🎉 Admin Center Active!
Phase 1 (Foundation) is complete. Dashboard, authentication, and navigation are now functional.
Phase 2 will add backend APIs and real data integration.
);
}