CallPage (page.tsx)

matsource · ui, call-detail, lead-detail, call-tracking, crm

Displays detailed view of a single call attempt including lead info, call status, duration, and outcome in a Next.js page component.

// Source: https://github.com/jonnieluv/matsource | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
import { Suspense } from "react"
import { createClient } from "@/utils/supabase/server"
import { notFound } from "next/navigation"
import { CallAttemptWithLead } from "@/lib/models/leads"
import { 
  PhoneIcon, 
  MailIcon, 
  CalendarIcon, 
  ClockIcon,
  PhoneCallIcon,
  ArrowLeftIcon,
  FileTextIcon,
  UserIcon
} from "lucide-react"
import { Button } from "@/components/ui/button"
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"
import { Badge } from "@/components/ui/badge"
import { format, parseISO, formatDistanceToNow } from "date-fns"
import Link fr

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search 40K more like it.

Get a free API key