import TopBar from "@/components/topbar"; import OngoingReels from "@/components/ongoing-reels"; import { Link, useLocation } from "wouter"; import { PlusCircle, Video, Calendar, BarChart3, Images, Wand2, Clock, Settings, Users, ChevronRight, Sparkles, Film } from "lucide-react"; import { Card, CardContent, CardHeader, CardTitle, CardDescription } from "@/components/ui/card"; import { Button } from "@/components/ui/button"; export default function DashboardMobile() { const [, setLocation] = useLocation(); const mainActions = [ { icon: PlusCircle, label: "Nv. Post", href: "/new", color: "text-blue-500", bg: "bg-blue-500/10", border: "border-blue-500/20", description: "Créer une publication" }, { icon: Video, label: "Nv. Reel", href: "/reel", color: "text-purple-500", bg: "bg-purple-500/10", border: "border-purple-500/20", description: "Générer une vidéo IA" }, { icon: Calendar, label: "Calendrier", href: "/calendar", color: "text-amber-500", bg: "bg-amber-500/10", border: "border-amber-500/20", description: "Voir le planning" }, { icon: BarChart3, label: "Analytics", href: "/analytics", color: "text-emerald-500", bg: "bg-emerald-500/10", border: "border-emerald-500/20", description: "Statistiques" }, ]; const secondaryMenu = [ { icon: Film, label: "Générateur Vidéo", href: "/remotion" }, { icon: Images, label: "Médiathèque", href: "/media" }, { icon: Wand2, label: "Éditeur d'images", href: "/image-editor" }, { icon: Clock, label: "Historique", href: "/history" }, { icon: Users, label: "Pages connectées", href: "/pages" }, { icon: Settings, label: "Paramètres", href: "/settings" }, ]; return (
{ }} hideMenuButton={true} />
{/* Header Section */}

Social Flow

Tableau de bord

{/* 1. Status Section */} {/* 2. Main Action Grid */} Actions Rapides
{mainActions.map((item) => { const Icon = item.icon; return (
{item.label} {item.description}
); })}
{/* 3. Secondary Menu List */} Menu
{secondaryMenu.map((item) => { const Icon = item.icon; return (
{item.label}
); })}
); }