import React, { useState } from 'react'; import { Link } from 'react-router-dom'; import { createPageUrl } from '@/utils'; import { motion } from 'framer-motion'; import { Calendar, FileText, Image, TrendingUp, Clock, Zap, ArrowRight, Plus, Sparkles, BarChart3, FolderOpen, Layers } from 'lucide-react'; import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'; import { Button } from '@/components/ui/button'; import { Badge } from '@/components/ui/badge'; import { Progress } from '@/components/ui/progress'; export default function Dashboard() { const stats = [ { label: 'Scheduled Posts', value: '24', icon: Calendar, color: 'from-blue-500 to-indigo-600', change: '+12%' }, { label: 'Repository Assets', value: '156', icon: FolderOpen, color: 'from-emerald-500 to-teal-600', change: '+8%' }, { label: 'Posts This Month', value: '18', icon: TrendingUp, color: 'from-violet-500 to-purple-600', change: '+24%' }, { label: 'Engagement Rate', value: '4.8%', icon: BarChart3, color: 'from-amber-500 to-orange-600', change: '+2.1%' }, ]; const upcomingPosts = [ { id: 1, title: 'OCR Document Automation Benefits', type: 'Carousel', date: 'Today, 2:00 PM', product: 'OCR', status: 'ready' }, { id: 2, title: 'P2P Workflow Efficiency Guide', type: 'Cover Image + Content', date: 'Tomorrow, 10:00 AM', product: 'P2P', status: 'pending' }, { id: 3, title: 'O2C Webinar Announcement', type: 'Webinar Invite', date: 'Dec 28, 3:00 PM', product: 'O2C', status: 'draft' }, ]; const productStats = [ { name: 'Document Parsing (OCR)', posts: 8, assets: 45, progress: 75 }, { name: 'Purchase To Pay (P2P)', posts: 6, assets: 52, progress: 60 }, { name: 'Order to Cash (O2C)', posts: 10, assets: 59, progress: 85 }, ]; const container = { hidden: { opacity: 0 }, show: { opacity: 1, transition: { staggerChildren: 0.1 } } }; const item = { hidden: { opacity: 0, y: 20 }, show: { opacity: 1, y: 0 } }; return (
Here's what's happening with your LinkedIn content
{stat.label}
{stat.value}