"use client"; import BackToMC from "@/components/mission-control/BackToMC"; import { useState } from "react"; const SAMPLE_LEADS = [ { id: 1, name: "Restaurante El Galeón", email: "info@galeon.es", phone: "+34 952 123 456", status: "qualified", source: "Website" }, { id: 2, name: "Clínica Dental Mar", email: "contacto@clinica-dental-mar.es", phone: "+34 951 234 567", status: "contacted", source: "Referral" }, { id: 3, name: "Inmobiliaria Sol", email: "info@inmobiliariasol.com", phone: "+34 953 345 678", status: "new", source: "Website" }, ]; export default function LeadsPage() { const [filter, setFilter] = useState("all"); const filteredLeads = filter === "all" ? SAMPLE_LEADS : SAMPLE_LEADS.filter(l => l.status === filter); const statusColors: Record = { new: "bg-blue-500/20 text-blue-400", contacted: "bg-yellow-500/20 text-yellow-400", qualified: "bg-green-500/20 text-green-400", }; return ( <>

📋 Lead Manager

Manage your SiteMente leads

{["all", "new", "contacted", "qualified"].map(s => ( ))}
{filteredLeads.map(lead => ( ))}
Name Email Status
{lead.name} {lead.email} {lead.status}
); }